Bug #13815
Many bounce mails for one email address
| Status: | Needs Feedback | Start date: | 2011-03-14 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - | |||
| TYPO3 Version: | PHP Version: | |||
| Votes: | 0 |
Description
Some free mailer (like arcor.de or web.de) try to send mails who are not recieved correctly and produces a bounce mail more often.
Example:
A Newsletter was send at Monday, a bouncemail for the email no-address@web.de, was created. An Tuesday, arcor creates a second bounce mail for no-address@web.de because arcor tries to send this a second time. At Wednesday the same.
Fetchmail creates for this example three database records and the statistics counts 3 bounce mails for the one email address.
It is a feature or a bug?
In my opinion this is a bug in the statistics module.
The data (three bounce mails) should be written into db but the statistics module should output a email unique number of bouncemails.
I`ve written Ivan an email to know what kind of ticket i create (bug or feature).
Here is the original email in german:
Es geht um das Thema Bouncemails (Siehe Screenshot). Generell funktionieren Sie sehr gut. Respekt für die gute Arbeit. Uns ist jedoch aufgefallen, dass die Anzahl der zurückgekommenen Mails (in diesem Falle 378) auf mehrere Weise interpretiert werden kann. Einige Web-Mailling-Dienste (zum Beispiel Arcor) versucht eine nicht zustellbare E-Mail mehrmals zuzustellen. Somit entstehen für eine E-Mail-Adresse mehrere Bounce-Mails. Beispiel: Ein Newsletter wird am Montag raus gesendet. Die E-Mail kann nicht zugestellt werden. Arcor versucht es danach 5 mal in einem Intervall von 24 Stunden. Somit entstehen insgesamt 5 Bouncemails für eine E-Mail-Adresse. Die Zahl 378 gibt also die Anzahl der Bounce-Mails an und nicht die Anzahl der nicht erreichbaren Empfänger (da er nicht Unique auf die E-Mail-Adressen prüft). Ist dies so gewünscht?
History
Updated by Olivier Dobberkau about 2 years ago
- Status changed from New to Needs Feedback
Andy,
Are you sure that this behaviour is compliant to mailservers rfc?
which bounce kind is created? can you provide us with more details about the bounce message?
which mta is used on the server?
Updated by Andy Grunwald almost 2 years ago
Hey Olivier,
i`m not sure that this behaviour is compliant to mailservers rfc. But i`ve didn´t read the rfx completely.
Bounces are created with:
response_type: -1
return_code -1 (Unknown reasons)
The field return_content contains the following code (I`ve replaced the recipient email with ###RECIPIENT-EMAIL###):
a:4:{s:7:"content";s:2415:"This is a MIME-encapsulated message.\n\n--XK9C7uNi0Q3mwxqFv4PRmYU5GtFX6+RQSKzgQQ==\nContent-Description: Notification\nContent-Type: text/plain\n\n####################################################################\n# THIS IS A WARNING ONLY. YOU DO NOT NEED TO RESEND YOUR MESSAGE. #\n####################################################################\n\nYour message could not be delivered for 3 days, 4 hours, 0 minutes.\nIt will be retried until it is 5 days, 0 hours, 0 minutes old.\n\nFor further assistance, please send mail to <postmaster>\n\nIf you do so, please include this problem report. You can\ndelete your own text from the attached returned message.\n\n<###RECIPIENT-EMAIL###>: Unknown reason\n\n\n--XK9C7uNi0Q3mwxqFv4PRmYU5GtFX6+RQSKzgQQ==\nContent-Description: Delivery report\nContent-Type: message/delivery-status\n\nX-Symantec-Brightmail-Gateway-Queue-ID: .............
On this servers Postfix (Version: postfix 2.5.5-1.1+lenny1) is used as MTA. This postfix has a relayhost to a Symantec Messaging Gateway (Version: 9.5.1). This gateway send the email out the the World Wide Web.
In short: Postfix -> Symantec Messaging Gateway -> World Wide Web
But if you read the return_content-text you detect the following sentences:
#################################################################### # THIS IS A WARNING ONLY. YOU DO NOT NEED TO RESEND YOUR MESSAGE. # #################################################################### Your message could not be delivered for 3 days, 4 hours, 0 minutes. *It will be retried until it is 5 days, 0 hours, 0 minutes old.* For further assistance, please send mail to <postmaster> If you do so, please include this problem report. You can delete your own text from the attached returned message.
If you search for this message at google you will find out, that this is a postfix feature for bouncemails.
Setting maximal_queue_lifetime at Postfix documentation
How To Configure Custom Postfix Bounce Messages at HowtoForge