[TriLUG] another sendmail/mail routing anomoly

Jon Carnes jonc at nc.rr.com
Tue Apr 23 10:51:55 EDT 2002


(from memory...) are you looking for DS in the sendmail.cf file?

There is an option that basically says, if the user is not local, send this
mail on to... in that option you would put smtp-server.nc.rr.com

----- Original Message -----
From: "Greg Brown" <gregbrown at mindspring.com>
To: <trilug at trilug.org>
Sent: Tuesday, April 23, 2002 8:59 AM
Subject: [TriLUG] another sendmail/mail routing anomoly


> 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
>
>
> _______________________________________________
> TriLUG mailing list
>     http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ:
>     http://www.trilug.org/~lovelace/faq/TriLUG-faq.html




More information about the TriLUG mailing list