This is a discussion on re-injection within the mailing.postfix.users forums, part of the Mail Servers and Related category; This is a multi-part message in MIME format. ------=_NextPart_000_0015_01C4C7F3.8B86E3B0 Content-Type: text/plain; charset="us-ascii" ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
------=_NextPart_000_0015_01C4C7F3.8B86E3B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I'm programming a queueing program for spam. Mail is sent to our main mail server after being scanned by Spam Assassin with the appropriate [SPAM] branded into the subject line. Our main mail server holds this and ever couple minutes, a cron job runs that moves that mail into another directory and indexes it into a database. I've programmed nigh everything but I'm getting to the point where the users actually deliver or delete things out of the queue. I've been around the block with postfix, but I won't go so far as to say I'm experienced or that it told me any stories while traveling around that block. When the messages get moved back into any queue and then postfix is reloaded (which I'd rather not do for every message that needs to be delivered) it results in a bad queue number and a reassignment as expected. However, and I do not understand why, it takes a good 10(+) minutes for the message to arrive in the appropriate mailbox whereas all other (non-requeued) mail is delivered instantly. I'm not expecting to fix this; I assume this is some function of postfix - what I'm hoping to find is a better method of re-injecting the message (preferably without having to write code to remove the [SPAM] from the subject line. As always, any hope/help would be greatly appreciated. Thank you, Damien Kemens ------=_NextPart_000_0015_01C4C7F3.8B86E3B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hello,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> = I’m programming a queueing program for spam. Mail is sent to our main mail = server after being scanned by Spam Assassin with the appropriate [SPAM] branded = into the subject line. Our main mail server holds this and ever couple = minutes, a cron job runs that moves that mail into another directory and indexes it = into a database. I’ve programmed nigh everything but I’m getting to = the point where the users actually deliver or delete things out of the = queue. I’ve been around the block with postfix, but I won’t go so far as to = say I’m experienced or that it told me any stories while traveling around that = block. When the messages get moved back into any queue and then postfix is = reloaded (which I’d rather not do for every message that needs to be = delivered) it results in a bad queue number and a reassignment as expected. However, = and I do not understand why, it takes a good 10(+) minutes for the message to = arrive in the appropriate mailbox whereas all other (non-requeued) mail is = delivered instantly. I’m not expecting to fix this; I assume this is some = function of postfix – what I’m hoping to find is a better method of = re-injecting the message (preferably without having to write code to remove the = [SPAM] from the subject line.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>As always, any hope/help would be greatly = appreciated.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Thank you,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Damien Kemens<o:p></o:p></span></font></p> </div> </body> </html> ------=_NextPart_000_0015_01C4C7F3.8B86E3B0-- |