View Single Post

  #2 (permalink)  
Old 02-10-2008
Martin Smith
 
Posts: n/a
Default Re: Restricting mails to particular adress w.r.t. sender and size

Joachim Reichel wrote:
> Hi,
>
> sorry if this a stupid question. I looked into the documentation, but
> didn't find anything. I always found it quite difficult to setup mail
> servers.
>
> In main.cf I have:
> virtual_alias_maps = hash:/etc/postfix/virtual
>
> And in /etc/postfix/virtual there is
> mailinglist@mydomain.tld user1@domain1.com, user2@domain2.com, ...
>
> How do I setup postfix such that all mails to mailinglist@mydomain.tld
> that are not from a fixed set of adresses are rejected? How can I limit
> the message size for the mails to this mailing list? These restrictions
> should be specific to this mailing list, not for all mails in general.
>

You do not say if you are using a mailing list manager, if you are not
I would recommend it, I think mailman can do most of the things you want
to do, and it works nicely woth postfix.
Reply With Quote