6.0.0-beta1
8/10/25

[#5245] infinite mail loop with forward rule
Summary infinite mail loop with forward rule
Queue Ingo
Queue Version 1.0.1
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester alex (at) segv (dot) de
Created 04/11/2007 (6696 days ago)
Due
Updated 04/11/2007 (6696 days ago)
Assigned
Resolved 04/11/2007 (6696 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/11/2007 05:18:35 PM Chuck Hagenbuch State ⇒ Resolved
 
04/11/2007 04:40:55 PM alex (at) segv (dot) de Comment #2 Reply to this comment
I think this issue has been fixed in cvs version 1.65 of procmail.php.

Sorry for opening this bug report.
04/11/2007 04:07:42 PM alex (at) segv (dot) de Comment #1
Priority ⇒ 2. Medium
New Attachment: procmail_forward.patch Download
Queue ⇒ Ingo
Summary ⇒ infinite mail loop with forward rule
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
- User activates forwarding of emails

- Destination email is invalid, e.g. alex@segv.de;  (Note the 
semicolon after the email address!)

- exim generates a bounce ("alex@segv.de;  malformed address: ; may 
not follow alex@segv.de")

- this bounce is forwarded and bounces again. => infinite mail loop, 
server goes down with out of memory after a few thousend bounces.



Possible fix: add "* !^FROM_DAEMON" to forward rule to exclude all 
bounces, but that defeats the point of forwarding somewhat, if 
possible important mails don't get through :/



Another idea: prevent user from entering syntactically invalid email 
addresses. (What about undeliverable addresses?)



The attached patch implements the first idea.

Saved Queries