Re: [CentOS] Bounced email processing
James B. Byrne писал 2014-11-06 16:58: On Wed, November 5, 2014 16:00, Keith Keller wrote: It's also inappropriate (IMO of course) to intentionally circumvent controls which have been implemented to restrict someone from posting to the list. If the posting is a pertinent technical question then I submit that it is unethical not to circumvent the restriction. This is a technical forum and if there is no possibility of said posting being off-topic or intended to be unpleasant then it should be seen and answered if at all possible. Banning from a mailing list is just a rather ham-fisted way of saying that the job of moderating an individual disruptive user is deemed too burdensome. And, having moderated lists myself, I can sympathize with that position. But if other, un-banned, list members are willing to judiciously moderate said individual on a case by case basis then I see no difficulty at all. You're making too much of a hassle about a person I don't consider exceptionally polite to other list members. Please keep this discussion off list if at all possible. TIA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
On Wed, November 5, 2014 16:00, Keith Keller wrote: > > It's also inappropriate (IMO of course) to intentionally circumvent > controls which have been implemented to restrict someone from posting to > the list. If the posting is a pertinent technical question then I submit that it is unethical not to circumvent the restriction. This is a technical forum and if there is no possibility of said posting being off-topic or intended to be unpleasant then it should be seen and answered if at all possible. Banning from a mailing list is just a rather ham-fisted way of saying that the job of moderating an individual disruptive user is deemed too burdensome. And, having moderated lists myself, I can sympathize with that position. But if other, un-banned, list members are willing to judiciously moderate said individual on a case by case basis then I see no difficulty at all. -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
On Wed, 2014-11-05 at 14:34 -0600, Les Mikesell wrote: > On Wed, Nov 5, 2014 at 2:30 PM, Keith Keller wrote: ...{ About Mark being banned from the Centos mailing list} ... > >> Well, you {Mark} did mention something that could be construed as violent - > > > > http://lists.centos.org/pipermail/centos/2014-October/146720.html > Did he really have to put the tags on for you? It was a conspicuously sarcastic remark. Definitely not a remark threatening anyone with violence. I do not know anyone who would agree with Keith's assertion that Mark posted "something that could be construed as violent". My personal interpretation is Mark wanted the Systemd genii to have a long holiday, away from the Red Hat/Centos world, in a place where the possession of Red Hat/Centos is banned by the USA government. Perhaps Mark should have selected another place, like North Korea for instance ? Can we become one big Happy Family again ? -- Regards, Paul. England, EU. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
On 2014-11-05, Les Mikesell wrote: > > Did he really have to put the tags on for you? Of course not. It's still inappropriate content (IMO of course), and possibly the content that contributed to him being moderated by the list admins. It's also inappropriate (IMO of course) to intentionally circumvent controls which have been implemented to restrict someone from posting to the list. --keith -- kkel...@wombat.san-francisco.ca.us ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
On Wed, Nov 5, 2014 at 2:30 PM, Keith Keller wrote: > On 2014-11-05, Les Mikesell wrote: >> On Wed, Nov 5, 2014 at 10:06 AM, wrote: >> >>> Btw, when Karanbir first banned me, he wrote me one email. I responded... >>> and he didn't, nor has he contacted me in any way. In that email, btw, he >>> said that he'd talked to me before about my "behavior". Now, other than >>> the arguments about nixspam, I can't remember any such thing, and now, >>> even though I was saying he was wrongheaded about using them, I feel as >>> though he took it as a personal attack, and that my banning is personal, >>> on "his" (as opposed to "our") list >> >> Well, you did mention something that could be construed as violent - > > http://lists.centos.org/pipermail/centos/2014-October/146720.html > Did he really have to put the tags on for you? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
On 2014-11-05, Les Mikesell wrote: > On Wed, Nov 5, 2014 at 10:06 AM, wrote: > >> Btw, when Karanbir first banned me, he wrote me one email. I responded... >> and he didn't, nor has he contacted me in any way. In that email, btw, he >> said that he'd talked to me before about my "behavior". Now, other than >> the arguments about nixspam, I can't remember any such thing, and now, >> even though I was saying he was wrongheaded about using them, I feel as >> though he took it as a personal attack, and that my banning is personal, >> on "his" (as opposed to "our") list > > Well, you did mention something that could be construed as violent - http://lists.centos.org/pipermail/centos/2014-October/146720.html --keith -- kkel...@wombat.san-francisco.ca.us ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
From: Les Mikesell Sent: November 5, 2014 05:40 > > Are there still servers that accept undeliverable mail and generate > messages later? That behavior makes them an easy target for spammers > who send the real target address as the From: entry and will likely > get them blacklisted. There definitely are judging by the number of bounce messages we receive hours and sometimes days later for messages that have not been queued in our mail server. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
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 -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
On Wed, Nov 5, 2014 at 10:06 AM, wrote: > Les Mikesell wrote: >> On Wed, Nov 5, 2014 at 3:55 AM, Hugh E Cruickshank >> wrote: > >> Are there still servers that accept undeliverable mail and generate >> messages later? That behavior makes them an easy target for spammers >> who send the real target address as the From: entry and will likely >> get them blacklisted. > > Huh. Given that my email address was harvested by someone(s), and the last > year or less, I'll suddenly get a bunch of bounces from Australia, or > Italy, or Estonia... now you've got me wondering if someone's just using > my email, or is attacking me, personally I once ran qmail as shipped in SME server (before they replaced the receiving component) and it would routinely get hit by dictionary attacks - which it would accept and then fall over as it filled its outbound queue with bounces. That list of 'accepted' email addresses must have been sold and reused for years because the affected domain continued to get about 50k/day of emails to those non-existing users until the domain name was retired (for other reasons). I switched it to sendmail with a virtual user table for the few real user names so it was able to reject the bad names almost instantly. So, based on that, I'd guess you are on some of those lists that still get used. > Btw, when Karanbir first banned me, he wrote me one email. I responded... > and he didn't, nor has he contacted me in any way. In that email, btw, he > said that he'd talked to me before about my "behavior". Now, other than > the arguments about nixspam, I can't remember any such thing, and now, > even though I was saying he was wrongheaded about using them, I feel as > though he took it as a personal attack, and that my banning is personal, > on "his" (as opposed to "our") list Well, you did mention something that could be construed as violent - by someone with a complete lack of a sense of humor. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
On Wed, November 5, 2014 7:39 am, Les Mikesell wrote: > On Wed, Nov 5, 2014 at 3:55 AM, Hugh E Cruickshank > wrote: >>> >>> just parse the *maillog* instead >> >> That would only be effective for bounce messages that were generated >> by our mail server (in the case of messages that were immediately >> rejected by the foreign mail server when our mail server attempted to >> hand the messages off). It would not work for messages that were >> initially accepted for delivery but were subsequently returned as >> being non-deliverable. > > Are there still servers that accept undeliverable mail and generate > messages later? That behavior makes them an easy target for spammers > who send the real target address as the From: entry and will likely > get them blacklisted. Indeed, there are, and this sort of spam is called "backscatter". No need to mention that like almost everybody else I have my servers configured so that before deciding to accept message for delivery the server queries next server if further forwarding is involved, and depending on answer (deliverable/not deliverable) accepts or rejects message. This way we, even when handling forwards, will not become source of backscatter. I do have do make exemptions and if next server "lies" (says deliverable, then when message is passed to it it is accepted, but later server sends non delivery response), then I never let forwarding to these servers/domains. Even for real users who moved there. Period. I had an interesting comment from my friend about one of my exceptions. This exception is gmail.com (who at least at some point were accepting everything, then were sending you message: "user doesn't exist"). His comment was: hey, they are in business of collecting information. Of course they accept everything. And once they have the information, then they treat it as an e-mail message ;-) Valeri Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
On Wed, Nov 5, 2014 at 3:55 AM, Hugh E Cruickshank wrote: >> >> just parse the *maillog* instead > > That would only be effective for bounce messages that were generated > by our mail server (in the case of messages that were immediately > rejected by the foreign mail server when our mail server attempted to > hand the messages off). It would not work for messages that were > initially accepted for delivery but were subsequently returned as > being non-deliverable. Are there still servers that accept undeliverable mail and generate messages later? That behavior makes them an easy target for spammers who send the real target address as the From: entry and will likely get them blacklisted. > It is on my list of "things to do" to extract the maillog entries for > any application generated emails. I'd expect the bulk of failures to be there, but your own server should generate and deliver the bounce along with logging it. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
From: Reindl Harald Sent: November 5, 2014 01:22 > Am 05.11.2014 um 02:07 schrieb Hugh E Cruickshank: > > 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) > > just parse the *maillog* instead That would only be effective for bounce messages that were generated by our mail server (in the case of messages that were immediately rejected by the foreign mail server when our mail server attempted to hand the messages off). It would not work for messages that were initially accepted for delivery but were subsequently returned as being non-deliverable. It is on my list of "things to do" to extract the maillog entries for any application generated emails. We currently log the dialog between our application and our email server when delivery of the message is initiated however we are missing the handoff from our mail server to the foreign mail server. The maillog information would then be recorded in our database for use by our support staff and possibly client staff (although the client access part is still under consideration). Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
From: Hugh E Cruickshank > 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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
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 -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
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 -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
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. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
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. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
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 -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
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. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos