Robert Grasso
2009-Jul-27 12:37 UTC
[CentOS] potsfix keeping mail in queue on delivery error
Hello, Our mail server is running CentOS 5.3. I configured postfix with maildrop as the MDA. I had to deal with a strange issue : a user sent an email to an alias, which resolves into several internal addresses. One of these addresses had its mbox filled up (reached the mailbox_size_limit); so maildrop reported a 0x19 error code to postfix, who kept the mail in its queue, and repeatedly resent the email : thus every member of the alias list received many copies of this email, except of course the one with the filled mbox. Is there a way to configure postfix so that it does not resend the email to the recipients who do not report any error ? Regards --- Robert GRASSO ? System engineer CEDRAT S.A. 15 Chemin de Malacher - Inovall?e - 38246 MEYLAN cedex - FRANCE Phone: +33 (0)4 76 90 50 45 - Fax: +33 (0)4 56 38 08 30 mailto:robert.grasso at cedrat.com - http://www.cedrat.com
Andreas Rogge
2009-Jul-27 14:24 UTC
[CentOS] potsfix keeping mail in queue on delivery error
Am Montag, den 27.07.2009, 14:37 +0200 schrieb Robert Grasso:> Hello, > > Our mail server is running CentOS 5.3. I configured postfix with maildrop as the MDA. I had to deal with a strange issue : a user > sent an email to an alias, which resolves into several internal addresses. One of these addresses had its mbox filled up (reached > the mailbox_size_limit); so maildrop reported a 0x19 error code to postfix, who kept the mail in its queue, and repeatedly resent > the email : thus every member of the alias list received many copies of this email, except of course the one with the filled mbox. > > Is there a way to configure postfix so that it does not resend the > email to the recipients who do not report any error ?We run Postfix + Cyrus and a some of our users are often "over quota". Using virtual alias maps in postfix for aliases, leads to the following effect: the mail is "splitted" by postfix and then requeued for a evety recipient of the alias (not the alias itself). If submission fails (e.g. "over quota"), then the mail stays in the queue and submission is retried regularly. As the mail was already splitted before the submission attempt to the mailbox, only the mail for the mailbox that's failing is kept in the queue. Hope that helps... Regards, Andreas -- Solvention Egermannstr. 6-8 53359 Rheinbach Tel: +49 2226 158179-0 Fax: +49 2226 158179-9 http://www.solvention.de mailto:info at solvention.de -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3425 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20090727/d9848b9c/attachment-0003.bin>
Robert Grasso
2009-Jul-28 08:58 UTC
[CentOS] potsfix keeping mail in queue on delivery error
> -----Message d'origine----- > De : centos-bounces at centos.org > [mailto:centos-bounces at centos.org] De la part de Andreas Rogge > Envoy? : 27 juillet 2009 16:24 > ? : CentOS mailing list > Objet : Re: [CentOS] potsfix keeping mail in queue on delivery error > > Am Montag, den 27.07.2009, 14:37 +0200 schrieb Robert Grasso: > > Hello, > > > > Our mail server is running CentOS 5.3. I configured postfix > with maildrop as the MDA. I had to deal with a strange issue : a user > > sent an email to an alias, which resolves into several > internal addresses. One of these addresses had its mbox > filled up (reached > > the mailbox_size_limit); so maildrop reported a 0x19 error > code to postfix, who kept the mail in its queue, and repeatedly resent > > the email : thus every member of the alias list received > many copies of this email, except of course the one with the > filled mbox. > > > > Is there a way to configure postfix so that it does not resend the > > email to the recipients who do not report any error ? > > We run Postfix + Cyrus and a some of our users are often "over quota". > Using virtual alias maps in postfix for aliases, leads to the > following > effect: the mail is "splitted" by postfix and then requeued > for a evety > recipient of the alias (not the alias itself). If submission > fails (e.g. > "over quota"), then the mail stays in the queue and submission is > retried regularly. > As the mail was already splitted before the submission attempt to the > mailbox, only the mail for the mailbox that's failing is kept in the > queue. >seems to be the solution ! I never used virtual alias maps so far. Thank you Andreas ! Regards Robert