Sendmail. MC
1 and 2 enable the annotation and enable the corresponding authentication mechanism, mainly to support Outlook
3 and 4 are added. Set the port used by the MTA and MSA.
5 and 6 should be noted out. 5. Allow Sendmail to be connected over the network. 6. Disable relay emails for unresolvable domain names.
1. trust_auth_mech ('external DIGEST-MD5 login plain ') DNL
2. Define ('confauth _ mechanisms ', 'external gssapi DIGEST-MD5 CRAM-MD5 login plain') DNL
3. daemon_options ('port = 25, name = MTA ') DNL
4. daemon_options ('port = 587, name = MSA, M = EA ') DNL
5. DNL daemon_options ('port = SMTP, ADDR = 127.0.0.1, name = MTA ')
6. DNL feature ('Accept _ unresolvable_domains ')
Domain name for sending and receiving masquerade_as (domain) Mail
# M4/etc/mail/sendmail. MC>/etc/mail/sendmail. cf
#/etc/rc. d/init. d/sendmail restart -- restart the sendmail service.
# vi/etc/xinetd. d/ipop3 yes to no
# vi/etc/xinetd. d/IMAP yes to no
# service xinetd restart
# vi/etc/mail/access // enter the domain name and IP address that can be forwarded enter and set it to relay
# makemap-V hash access. DB Local-host-name should also be changed. ETC/hosts
VI/etc/mail/Local-host-names- à write the local region and host FQDN in
after my tests, there are basically no problems, but there are still some problems in verification. But I can send and receive messages! Recently, I started to think that it was a problem with Sendmail settings. I found that the problem was caused by the influence of isa2004! You have to step up setting up isa2004.