Linux sendmail send mail success but no mail resolution

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.