Nikolaos Milas:
> On 18/5/2015 9:54 ??, Wietse Venema wrote:
> 
> > You should configure the MAILING LIST, so that it sends all
> > mail, from all senders, with its own envelope sender address (for
> > example, an envelope sender of owner-listn...@example.com).
> >
> > In the case of Postfix, and a mailing list that is configured in
> > a Postfix aliases(5) file,  see the aliases(5) manpage and look for
> > the "owner" alias.
> >
> > With other mailing list systems, see the corresponding documentation.
> >
> >     Wietse
> >
> 
> If I understand right, it would be enough to create another alias (in 
> LDAP in our case) as the following:
> 
>     dn: cn=owner-project-wp2,ou=Aliases,dc=noa,dc=gr
>     objectClass: virtualaccount
>     cn: owner-project-wp2
>     mailacceptinggeneralid: owner-project-...@noa.gr
>     maildrop: maillistsad...@noa.gr
>     owner: cn=TechAdmins,ou=Groups,dc=noa,dc=gr
> 
> I expected that Postfix should automatically pick the above alias as 
> envelope sender of messages directed to project-...@noa.gr.

As noted above, that expectation is met only under the conditions
described in the Postfix aliases(5) file. Only you have the necessary
information to determine if the conditions are met.

Note that's aliases(5) as configured with alias_maps (bare usernames
looked up by the local(8) delivery agent), not virtual(5) as configred
with virtual_alias_maps (full email addresses looked up by the
cleanup(8) server).

> However I am not seeing this behavior. Am I still missing something 
> (quite possible)?
> 
> A couple of settings in our setup:
> 
>     owner_request_special = yes
>     expand_owner_alias = no
>     recipient_delimiter =
> 
> The only possible problem I can think of is that the alias name 
> (mailacceptinggeneralid) of both the list and the owner might need to be 
> local-part-only (without a domain specification).

You are talking about virtual_alias_maps. I have no experience with
running a distribution list with virtual_alias_maps. My experience
is limited to using a mailing list manager and/or aliases configured
with alias_maps.

        Wietse

Reply via email to