On Thursday 25 May 2006 23.36, you wrote:
> I would like to accept mail from only one specified SMTP server
> and reject all others. I tried '*.*    REJECT' in /etc/mail/access
> but that doesn't seem to work.
>
> Mike Spenard

Change to...
X.Y.Z.W  RELAY
in /etc/mail/access and rebuild the access.db (where X.Y.Z.W is the good IP). 
This means this IP is the only one that can relay anything through you. All 
other IP:s can mail to your domains in /etc/mail/local-host-names if you have 
any. If they connect and try anything else than your local domain they will 
se "relaying denied".

If you have a pretty default sendmail config (except for the enabling of 
"access") you can consider the mission completed.


Or did you mean that only one external IP should be able to send e-mail to 
your own local domain??? That would sound a little bit strange. So I do not 
assume that..

If I missunderstood you, you maybe have to give out some more info...

Regards
/Per-Olov
-- 
GPG keyID: 4DB283CE
GPG fingerprint: 45E8 3D0E DE05 B714 D549 45BC CFB4 BBE9 4DB2 83CE

Reply via email to