[TriLUG] another sendmail/mail routing anomoly

Greg Brown gregbrown at mindspring.com
Tue Apr 23 08:59:52 EDT 2002


For weeks I have been merrily plodding along with my current mail routing 
configuration until today.  Here are my current customizations which have so 
far allowed me to download mail from any of my pop accounts and use a reply 
to address wiht a domain other than nc.rr.com (using my linux box as my SMTP 
sever):

as root:
1. vi /etc/mail/sendmail.mc
2. locate: DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
3.change to: dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
4.locate: dnl FEATURE(`accept_unresolvable_domains')dnl
5.change to: FEATURE(`accept_unresolvable_domains')dnl
6.locate: dnl FEATURE(`relay_based_on_MX')dnl
7.change to: FEATURE(`relay_based_on_MX')dnl
8.save file
9.execute m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
10.execute: service sendmail restart

as root:
1.vi /etc/sendmail.cf
2.locate: #Dj$w.Foo.COM
3.change to: Djnc.rr.com
4.save file
5.execute: service sendmail restart

This current configuration works great - until I attempt to send an e-mail to 
anyone on the nc.rr.com domain.  I think my mail server thinks that since I'm 
sending to nc.rr.com the user should appear local on the server.  Does anyone 
follow me here?

So, what I"m looking for is an option that I can change in a config file that 
essentially says "no local users on this box" or "I'm not the default mail 
router for this domain; send the mail out anyway".  I've been looking around 
for this kind of option but haven't found one yet.

Is this possible?

Thanks!

Greg





More information about the TriLUG mailing list