  | | | how to filter local domain mail with Sendmail | how to filter local domain mail with Sendmail 2003-01-27 - By Gentian Hila
Back
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.
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.
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 <P>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.</P > <P>mydomain.com IN MX 10 192.168.3.3</P> <P>I commented the following line on sendmail.mc and ran m4 to create a new sendmail.cf file.</P> <P>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.</P> <P>Every thing seems ok except the fact that sendmail cannot recognize my local domain so it doesn't filter the messages </P> <P>What should i do to filter mail for local domain (mydomain.com) with Sendmail</P> <P>Genti</P> <P> </P><p><br><hr size=1>Do you Yahoo!?<br> <a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail Plus</a> - Powerful. Affordable. <a href="http://rd.yahoo.com/mail/mailsig /*http://mailplus.yahoo.com">Sign up now</a>
|
|
 |