On 09/21/2010 10:57 PM, Wietse Venema wrote:
> Alexander 'Leo' Bergolth:
>> Since yesterday I am experiencing big problems when delivering mail to
>> an alias-list. (Yes, I have set up an owner-listname alias. :-))
> 
> Do you have the RIGHT owner-listname alias.

This seems to be the problem.

I have set up two owner- aliases, none of both seems to work...

The corresponding mails are sent to "an-alle", which is an alias for "rk":

-------------------- 8< --------------------
# postmap -q an-alle hash:/etc/aliases \
  ldap:/etc/postfix/ldap-aliases.cf \
  ldap:/etc/postfix/ldap-groups.cf
rk
-------------------- 8< --------------------

rk resolves to all addresses of the list:
-------------------- 8< --------------------
# postmap -q "rk" ldap:/etc/postfix/ldap-groups.cf | tr , '\n' | wc -l
289
-------------------- 8< --------------------

Both "an-alle" and "rk" have an owner- alias set:
-------------------- 8< --------------------
# postmap -q owner-an-alle hash:/etc/aliases \
  ldap:/etc/postfix/ldap-aliases.cf \
  ldap:/etc/postfix/ldap-groups.cf
edvadmin, cgroeschl
# postmap -q owner-rk hash:/etc/aliases \
  ldap:/etc/postfix/ldap-aliases.cf \
  ldap:/etc/postfix/ldap-groups.cf
edvadmin, cgroeschl
-------------------- 8< --------------------

I think I have also tried setting only the owner-rk alias, this also
doesn't seem to work.

>> When delivering mail to a list which is implemented as an
>> ldap-alias-list (currently 289 recipients), the local daemon delivers
>> most of the mails to local mailboxes but then fails to open some
>> .forward files with "Too many open files". (See below.) The mail is then
>> re-queued and fails again at the next queue flush.
> 
> With the correct owner- alias, when delivery fails Postfix will
> not deliver the recipients again that already have the mail. That
> is the distinguishing feature of having the right owner- alias.

I see. It looks like the problem is having the correct owner- alias.

> To avoid running out of file handles reduce the number of Postfix
> processes or increase your kernel tables.
> 
> http://www.postfix.org/postconf.5.html#default_process_limit
> http://www.postfix.org/master.5.html

I don't think that this should be a problem. default_process_limit is at
100 and there is virtually no load on the server. Could this setting
really interfere with the local daemons behavior?

Thanks for your help!
--leo
-- 
e-mail   ::: Leo.Bergolth (at) wu.ac.at
fax      ::: +43-1-31336-906050
location ::: IT-Services | Vienna University of Economics | Austria

Reply via email to