Hi!

Since yesterday I am experiencing big problems when delivering mail to
an alias-list. (Yes, I have set up an owner-listname alias. :-))

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.

The number of open files is currently limited to 1024:
# cat /proc/$(pgrep master)/limits | grep "Max open files"
Max open files            1024                 1024                 files

My number of users/.forward files must have hit a limit, since
everything worked fine for the last seven years.

Maybe the problem is that the destination address (an-alle) is an alias,
which points to the real list (rk)?

# postmap -q an-alle /etc/aliases
rk
# postmap -q "rk" ldap:/etc/postfix/ldap-groups.cf | tr , '\n' | wc -l
289

There are owner-listname aliases for both:
# postmap -q owner-an-alle /etc/aliases
edvadmin, xyz
# postmap -q owner-rk /etc/aliases
edvadmin, xyz

I'd appreciate any hints to solve or further debug this problem!

Thanks,
--leo

P.S.: I am using postfix-2.5.6.

-------------------- 8< --------------------
[...]
Sep 21 18:20:05 samba postfix/local[26856]: 1664D3FE6B:
to=<a...@klbg.n.roteskreuz.at>, relay=local, delay=5442,
delays=5441/0.01/0/1.2, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 21 18:20:05 samba postfix/local[26856]: warning: cannot open file
/home/XXX/.forward: Too many open files
Sep 21 18:20:05 samba postfix/local[26856]: warning: 1664D3FE6B: defer
service failure
Sep 21 18:20:05 samba postfix/local[26856]: 1664D3FE6B:
to=<x...@klbg.n.roteskreuz.at>, relay=local, delay=5442,
delays=5441/0.01/0/1.8, dsn=4.3.0, status=deferred (bounce or trace
service failure)
Sep 21 18:20:05 samba postfix/local[26856]: warning: 1664D3FE6B: flush
service failure
[...]
Sep 21 18:20:06 samba postfix/local[26856]: warning: cannot open file
/home/YYY/.forward: Too many open files
Sep 21 18:20:06 samba postfix/local[26856]: warning: 1664D3FE6B: defer
service failure
Sep 21 18:20:06 samba postfix/local[26856]: 1664D3FE6B:
to=<y...@klbg.n.roteskreuz.at>, relay=local, delay=5443,
delays=5441/0.01/0/2.4, dsn=4.3.0, status=deferred (bounce or trace
service failure)
Sep 21 18:20:06 samba postfix/local[26856]: warning: 1664D3FE6B: flush
service failure
[...]
Sep 21 18:20:07 samba postfix/local[26856]: warning: cannot open file
/home/ZZZ/.forward: Too many open files
Sep 21 18:20:07 samba postfix/local[26856]: warning: 1664D3FE6B: defer
service failure
Sep 21 18:20:07 samba postfix/local[26856]: 1664D3FE6B:
to=<z...@klbg.n.roteskreuz.at>, relay=local, delay=5444,
delays=5441/0.01/0/3, dsn=4.3.0, status=deferred (bounce or trace
service failure)
Sep 21 18:20:07 samba postfix/local[26856]: warning: 1664D3FE6B: flush
service failure
-------------------- 8< --------------------

-- 
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