OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: sender address verification

From: Magnus Bäck (magnusdsek.lth.se)
Date: Thu Sep 01 2005 - 11:29:50 CDT


On Thursday, September 01, 2005 at 17:32 CEST,
     suneel cumar <suneelcumaryahoo.com> wrote:

> i like to know from community is it possible to setup the sender
> address verification based on recipient domains.
>
> i have 3 domains hosted one of the domain gets too many junk mails but
> other not much exposed to outside much and less mails comes to this
> that are known by us but they are from misconfigured clients. Due to
> this i enabled sender address verification. but i don't want to enable
> sender verification to other 2 domains.

Use a check_recipient_access restriction and put
reject_unverified_sender in the right-hand side for the recipient
domains for which you want to perform SAV.

main.cf:
smtpd_recipient_restrictions =
        ...
        check_recipient_access hash:/path/to/file
        ...

/path/to/file:
example.com reject_unverified_sender

--
Magnus Bäck
magnusdsek.lth.se