CentOS 6.5
Hi All:
We are looking for a way to automate the handling of bounced emails. I have spend some time looking an scan find one open source package, bounceHammer, and one commercial package, BoogieTools.
Does any comments on the effectiveness of either package?
Any suggestions on other packages?
TIA
Regards, Hugh
On 11/4/2014 4:49 PM, Hugh E Cruickshank wrote:
We are looking for a way to automate the handling of bounced emails.
what do you want to do DO with these bounced mails?
Email packages like Mailman have bounce handlers built into them, too many bounces in a given interval and they disable the subscription.
From: John R Pierce Sent: November 4, 2014 16:53
On 11/4/2014 4:49 PM, Hugh E Cruickshank wrote:
We are looking for a way to automate the handling of bounced emails.
what do you want to do DO with these bounced mails?
Our application software generates emails on behalf of our clients. Currently I have to manually processes any bounce messages which is a real waste of my time. I would like to be able to intercept the bounce messages and provide a summary of these to our application which could then notify the appropriate client (or at the very least make a note of the bounce).
The bounceHammer package appears to do this but I would then need to figure out how to either read or convert their database (YAML/JSON).
TIA
Regards, Hugh
On 11/4/2014 5:07 PM, Hugh E Cruickshank wrote:
The bounceHammer package appears to do this but I would then need to figure out how to either read or convert their database (YAML/JSON).
what language is your application written in? most modern programming environments have classes for importing JSON into structures/objects, or for parsing it.
From: John R Pierce Sent: November 4, 2014 18:14
On 11/4/2014 5:07 PM, Hugh E Cruickshank wrote:
The bounceHammer package appears to do this but I would then need to figure out how to either read or convert their database (YAML/JSON).
what language is your application written in? most modern programming environments have classes for importing JSON into structures/objects, or for parsing it.
It is written in OpenEdge ABL (AKA PROGRESS 4GL) and WebSpeed and I am sure it will be able to read the data I just have to figure out how.
Regards, Hugh
El 04/11/2014 07:49 p.m., Hugh E Cruickshank escribió:
CentOS 6.5
Hi All:
We are looking for a way to automate the handling of bounced emails. I have spend some time looking an scan find one open source package, bounceHammer, and one commercial package, BoogieTools.
Does any comments on the effectiveness of either package?
Any suggestions on other packages?
TIA
Regards, Hugh
Boogietools is good. But not enought.
BounceHammer seems to be better as it can run as single server task. It also gives you already developed bounce rules plugins for opensource MTA like exim, sendmail, postfix, courier or qmail.
Would go for BH instead.
From: F. Mendez Sent: November 4, 2014 19:11
Boogietools is good. But not enought.
BounceHammer seems to be better as it can run as single server task. It also gives you already developed bounce rules plugins for opensource MTA like exim, sendmail, postfix, courier or qmail.
Would go for BH instead.
That was the way I was leaning based on the little research I have done so far. The confirmation is appreciated.
Regards, Hugh
From: Hugh E Cruickshank hugh@forsoft.com
We are looking for a way to automate the handling of bounced emails. I have spend some time looking an scan find one open source package, bounceHammer, and one commercial package, BoogieTools. Does any comments on the effectiveness of either package? Any suggestions on other packages?
If you just need something "simple" and know a bit php, you could try...
--- if ($mbox = imap_open("{imap.domain.com:993/ssl}FOLDER", "$email", "$passwd", OP_READONLY+OP_DEBUG)) { $sorted_mbox = imap_sort($mbox, SORTARRIVAL, 0); $status = imap_status($mbox, "{imap.domain.com:993/ssl}FOLDER", SA_MESSAGES+SA_UNSEEN); $msgs_total = $status->messages; if ($msgs_total == 0) { print "No mails...\n"; exit(1); } for ($i=0; $i<$msgs_total; $i++) { # print imap_fetchheader($mbox, $sorted_mbox[$i]); $body = imap_body($mbox, $sorted_mbox[$i]); foreach (explode("\n", $body) as $line) { ... } # imap_setflag_full($mbox, $i, "\Seen"); } #imap_expunge($mbox); imap_close($mbox); ---
JD
From: John Doe Sent: November 5, 2014 01:51
If you just need something "simple" and know a bit php, you could try...
The bit I know is what PHP stands for after that not so much.
if ($mbox = imap_open("{imap.domain.com:993/ssl}FOLDER", "$email", "$passwd", OP_READONLY+OP_DEBUG)) { $sorted_mbox = imap_sort($mbox, SORTARRIVAL, 0); $status = imap_status($mbox, "{imap.domain.com:993/ssl}FOLDER", SA_MESSAGES+SA_UNSEEN); $msgs_total = $status->messages; if ($msgs_total == 0) { print "No mails...\n"; exit(1); } for ($i=0; $i<$msgs_total; $i++) { # print imap_fetchheader($mbox, $sorted_mbox[$i]); $body = imap_body($mbox, $sorted_mbox[$i]); foreach (explode("\n", $body) as $line) { ... } # imap_setflag_full($mbox, $i, "\Seen"); } #imap_expunge($mbox); imap_close($mbox);
If I understand your example it appears to be retrieving emails from the mail server. I am still going to have to determine which messages are bounce messages then decipher the format and attempt to extract the relevant information from the message. If I have to resort to that then I might as well write it within our application software. But thanks for the suggestion.
Regards, Hugh