Directly with Yum installation, command: Yum install SendMail, installed, began to start, command
:/etc/init.d/sendmail start, show startup complete, then start test email, $rs =mail (' dalong0309@163.com ', ' This is the theme ', '
This is the content '); Var_dump ($rs);, the output is true, you can view the message, but you find that you have not received any messages. Initially suspected PHP configuration there was no
Set up the corresponding SendMail path, modified php.ini configuration, but found that the message is still not received. Checked whether the SendMail has been activated, life
Order:/etc/init.d/sendmail status, the results found the following error: SendMail is dead, but Subsys is locked. And then I looked it up on the Internet.
Suspect is in conflict with Postfix, Postfix Kill, Command:/etc/init.d/postfix stop, and then try to send the message again, the result is still failure.
Tangled Ah, what exactly is the problem, online search Ah search.
Finally, look at the next administrator's Mail, command: Less/var/spool/mail/root, there is a discovery:
Open NetEase Email back to the information, according to the corresponding 550 error code, found NetEase mailbox prompts sender's address does not comply with the legal.
Then I try to modify the host name, command: hostname gada@gadaweb.com, and then try to send a message, Kung fu not negative ah,
Note: Some send out may be in the spam Oh, like QQ mailbox for SendMail did a filter, who knows what needs to do to set up, can not be filtered
Add: SendMail can't send mail
Not found, not familiar with its configuration, the Internet did not find a way
Run YaST Delete, reinstall
Linux-qebs:/srv/www/htdocs # Rpm-qa | grep sendmail
sendmail-8.14.3-51.5.1.i586
sendmail-bd-q12h
Vi/etc/sendmail.cf
Modify Configuration
Originally for
Timeout.ident=5s
After modification
timeout.ident=0s
/etc/init.d/sendmail status
does not start automatically
/etc/init.d/sendmail restart
SendMail ' AAAA ' xhq6632@126.com