开发者

What is difference between /usr/sbin/sendmail -t -i and /usr/sbin/sendmail in server configuration?

开发者 https://www.devze.com 2023-01-20 22:47 出处:网络
I have upload my joomla project on live server (Linux basd LAMP) in phpinfo file I found the \"/usr/sbin/sendmail -t -i\" for smtp configuration. andmy开发者_开发百科 local WAMP server configuration u

I have upload my joomla project on live server (Linux basd LAMP) in phpinfo file I found the "/usr/sbin/sendmail -t -i" for smtp configuration. and my开发者_开发百科 local WAMP server configuration use "/usr/sbin/sendmail" any please let know why use -t and -i. what is it ?


You should be able to discern this with man sendmail. The -i option prevent a single line containing . from being treated as a message terminator (on the off chance that a valid message may contain a line like that) while -t means that it will get the recipient list from the message headers (to:, cc: and bcc:) as well as the command line (which may well be empty so you probably want to scan the headers).

0

精彩评论

暂无评论...
验证码 换一张
取 消