MailScanner and ZendTo Integration

Markus Nilsson markus at markusoft.se
Wed Oct 19 11:56:27 IST 2011


Hi 

I think this looks great, and it would be fantastic to get it integrated into MailScanner code! 

/Markus 

----- Ursprungligt meddelande -----

Från: "--[ UxBoD ]--" <uxbod at splatnix.net> 
Till: "MailScanner discussion" <mailscanner at lists.mailscanner.info> 
Skickat: tisdag, 18 okt 2011 19:15:46 
Ämne: Re: MailScanner and ZendTo Integration 

Have made quite a large change to how the drop message appears in the email. If anybody would like to see it in action then please mail me offlist. 
-- 
Thanks, Phil 

----- Original Message ----- 
> Markus, 
> 
> it looks like the pertinent code is within PFDiskStore.pm as that 
> performs the re-queuing of the messages. It does appear to 
> re-calculate the size so am surprised that it is not being written 
> back. 
> 
> Jules, this is a major issue for us so any help gratefully received. 
> -- 
> Thanks, Phil 
> 
> ----- Original Message ----- 
> 
> > Hi Phil, 
> 
> > I did something similar awhile ago, and had problems with the 
> > message 
> > size parameter in Postifx. 
> 
> > The size in the queue file written to the postfix queue is not 
> > updated when attachments are stripped, this means that postifx will 
> > report the old size to the next mailserver, even though the message 
> > now is smaller. The fix I did for this was to modify the size 
> > parameter in the MailScanner structure, and update that field in 
> > the 
> > queue file. 
> 
> > I was lazy however, and my fix is approximate (good enough for me), 
> > and should probably be improved to be exact. 
> 
> > http://lists.mailscanner.info/pipermail/mailscanner/2010-March/095339.html 
> 
> > Great work! 
> 
> > /Markus 
> 
> > ----- Original Message ----- 
> 
> > Från: "--[ UxBoD ]--" <uxbod at splatnix.net> 
> > Till: "ZendTo Users" <zendto at zend.to>, 
> > mailscanner at lists.mailscanner.info 
> > Skickat: torsdag, 13 okt 2011 11:39:36 
> > Ämne: MailScanner and ZendTo Integration 
> 
> > Just a quick follow up as I have now integrated MailScanner with 
> > ZendTo. I am in the process of taking the latest versions of the 
> > two 
> > packages, applying my changes, and then producing diffs for Jules 
> > to 
> > review. The new options, if my changes are accepted, in MailScanner 
> > will be: 
> 
> > ZendTo Integration = %rules-dir%/zend.to.rules 
> > ZendTo URL = https://www.somedomain.com/dropoff.php 
> > ZendTo Access Key = 123456789ABCDEFGHI 
> > ZendTo Min Message Size = -1 
> > ZendTo Min Attachment Size = -1 
> > ZendTo Strip All = yes 
> 
> > Hopefully they are all explanatory and I have attempted to make it 
> > as 
> > configurable as possible. If an email matches the 
> > message/attachment 
> > size criteria it is passed of to the ZendTo URL. That will verify 
> > the access key against the ZendTo configuration and if all okay it 
> > will accept the attachments for processing. If a drop-off ClaimID 
> > is 
> > created then that will be returned to MailScanner where an HTML 
> > in-line attachment will be added to the original message and all 
> > attachments process by ZendTo will be removed. The result will 
> > either be the following text appearing in-line or as a html 
> > attachment with the name <claimid>.html. 
> 
> > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
> > This first paragraph is an automatic message from our email system. 
> > The original attachments were too large to safely send via email. 
> > They have been removed to a separate server, and replaced with the 
> > attached link, from where the originals may be downloaded via your 
> > web browser. 
> 
> > https://www.somedomain.com/pickup.php?claimID=12345678&claimPasscode=ABCDEFG 
> 
> > This file will expire on 26 October 2011 12:09:54 PM. 
> > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
> 
> > The message is driven from a ZendTo template so easily 
> > configurable. 
> > If for any reason the message cannot be processed ie. files to big 
> > then an NDR will be sent back to the sender. Again that message is 
> > templated. 
> > -- 
> > Thanks, Phil 
> 
> > ----- Original Message ----- 
> > > It's possible, yes. But I don't have any immediate plans to do 
> > > so, 
> > > I'm 
> > > afraid. 
> > > 
> > > I'm trying to keep ZendTo as simple as possible while doing what 
> > > most 
> > > people need it to. 
> > > 
> > > Jules. 
> > > 
> > > On 06/06/2011 16:29, --[ UxBoD ]-- wrote: 
> > > > Hi Jules, 
> > > > 
> > > > How possible do you think it would be to integrate the two 
> > > > products? When a user sends an email, with an attachment, 
> > > > MailScanner would replace it with a ZendTo link and remove the 
> > > > attachment. 
> > > 
> > > Jules 
> > > 
> > > -- 
> > > Julian Field MEng CITP CEng 
> > > www.Zend.To 
> > > 
> > > Follow me at twitter.com/JulesFM 
> > > PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 
> > > 
> > > 'All programs have a desire to be useful' - Tron, 1982 
> > > 
> > > _______________________________________________ 
> > > ZendTo mailing list 
> > > ZendTo at zend.to 
> > > http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto 
> > > 
> > -- 
> > MailScanner mailing list 
> > mailscanner at lists.mailscanner.info 
> > http://lists.mailscanner.info/mailman/listinfo/mailscanner 
> 
> > Before posting, read http://wiki.mailscanner.info/posting 
> 
> > Support MailScanner development - buy the book off the website! 
> 
> > -- 
> > MailScanner mailing list 
> > mailscanner at lists.mailscanner.info 
> > http://lists.mailscanner.info/mailman/listinfo/mailscanner 
> 
> > Before posting, read http://wiki.mailscanner.info/posting 
> 
> > Support MailScanner development - buy the book off the website! 
> -- 
> MailScanner mailing list 
> mailscanner at lists.mailscanner.info 
> http://lists.mailscanner.info/mailman/listinfo/mailscanner 
> 
> Before posting, read http://wiki.mailscanner.info/posting 
> 
> Support MailScanner development - buy the book off the website! 
> 
-- 
MailScanner mailing list 
mailscanner at lists.mailscanner.info 
http://lists.mailscanner.info/mailman/listinfo/mailscanner 

Before posting, read http://wiki.mailscanner.info/posting 

Support MailScanner development - buy the book off the website! 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20111019/799d6be6/attachment-0001.html


More information about the MailScanner mailing list