On Tuesday, June 09, 2009 at 13:02 CEST,
ram <[email protected]> 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 *[email protected],*[email protected]
> accountid2 *[email protected]
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
[email protected]