how to filter local domain mail with sendmail
Gentian Hila <[email protected]>
| Newsgroups | gmane.linux.redhat.release.seawolf |
|---|---|
| Message-ID | <[email protected]> |
Ooops ! the first email wans't complete. Sorry ! Sendmail is working and forwarding every message on internet, even those which are directed to local domain (let say mydomain.com). My machine is named mail.mydomain.com and DNS is working fine, i mean it works as a master name server for mydomain.com. You can ping mail.mydomain.com and there is a MX entry for mydomain.com that points to the right address where sendmail is running. mydomain.com IN MX 10 192.168.3.3 I commented the following line on sendmail.mc and ran m4 to create a new sendmail.cf file. DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') I added the users that can relay mail through my machine on access file and then ran makemap command as prescribed to create /etc/mail/acces.db file. That's all i've done so far Every thing seems ok except the fact that sendmail cannot recognize my local domain so it doesn't filter the messages What should i do to filter mail for local domain (mydomain.com) with Sendmail Genti --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now