[plug] sendmail problem

Chris deicidal at iinet.net.au
Tue Apr 9 12:30:37 WST 2002


At 12:00 PM 9/04/2002 +0800, you wrote:
>O.K.
>
>Here is an interesting one.
>
>I am running sendmail 8.11.6 on a RH7.2 box with two domains in the 
>local-host-names.
>I need 1 domain to accept mail from anywhere in the world and the other to 
>only allow mail from a specific machine on the local network (for mail 
>cleaning purposes).

Do you mean accept mail into the network or accept mail to be relayed by SMTP.

Im assuming SMTP relaying.

/etc/mail/relay-domains or /etc/mail/access are your best bets. 
Relay-domains will work "out of the box" whereas having an access list 
needs to be build into your sendmail.cf by adding it to sendmail.mc.

Any domains added to relay-domains will automatically allow any hosts on 
that domain access to your smtp. If you would rather go individual ips i 
would recommend adding them to /etc/mail/access and fixing your sendmail.mc

in terms of roaming smtp access many people resort to pop-before-smtp 
daemons which basically monitor successful pop3 logins and then adds that 
ip to the access database. They will then be granted smtp relay access.


>I have looked on both google and the sendmail.org site but I am getting 
>dizzy and am falling down a lot now.
>
>Has anyone had to do this before or can anyone help?
>
>Patrick Tehvand
>
>Chaos reigns within.
>Reflect, repent, and reboot,
>Order shall return.

If you want more information about fixing your sendmail.mc or hashing your 
files so they can be read please feel free to contact me.

Sendmail define some of this here:
http://www.sendmail.org/tips/relaying.html

.Chris




More information about the plug mailing list