On Tuesday, June 09, 2009 at 13:02 CEST,
     ram <r...@netcore.co.in> wrote:

> We provide relay services for our clients.
>
> The clients mail-servers connect to our postfix servers , authenticate
> using a client-accountid and send the messages.
>
> I would like to restrict the from domains for every client.(Mainly to
> prevent inadvertent spam outbreaks)

http://www.postfix.org/postconf.5.html#smtpd_sender_login_maps

> Can I use smtplogin maps to allow  only a list of enumerated
> from-domains in the envelope senders
> 
> eg
> 
> /etc/postfix/smtploginmaps
> 
> accountid1    *...@domain1.com,*...@domain2.com
> accountid2    *...@domain3.com

No reason to guess the format of the sender login table when it's
documented.

@example.com    accountid1
@example.net    accountid1
@example.org    accountid2

-- 
Magnus Bäck
mag...@dsek.lth.se

Reply via email to