Postfix long queue IDs

Joolee mailscanner at joolee.nl
Mon May 5 11:22:21 IST 2014


https://github.com/MailScanner/MailScanner/blob/master/mailscanner/bin/MailScanner/Postfix.pm
After line 1500, you'll find a method where the folder depth for postfix is
detected. This method seems flawed because it only supports a folder depth
of 1 and otherwise returns 2.
Around line 1630, there is separate code for when folder depth for postfix
queues is 0, 1 or 2. This code should be rewritten to support any depth by
using recursion. I'm afraid I don't have time for that now though.

On 5 May 2014 11:19, Alvaro Marín <alvaro at hostalia.com> wrote:

> Hi again,
>
> I see that the problem appears using Postfix's long IDs and
> hash_queue_depth > 1 (I use this feature with "2").
> With hash_queue_depth=1 (Postfix's default) and changing the regexp of
> Postfix.pm, as is said in the thread of the URL I pasted before, runs fine.
>
> Regards,
>
> On 30/04/14 12:46, Alvaro Marín wrote:
> > Yes, I know that it can be disabled, but I would prefer to use it
> > (sometimes, Postfix IDs are repeated).
> > Perhaps someone has a patch to can use it, if not, I'll try to do it.
> >
> > Thanks.
> > Regards,
> >
> > On 30/04/14 12:05, Jerry Benton wrote:
> >> Are you running long queue ID's? If so, try disabling that in Postfix
> >> until we can get the source updated to handle the long format.
> >>
> >> http://www.postfix.org/postconf.5.html#enable_long_queue_ids
> >>
> >>
> >> On Wed, Apr 30, 2014 at 10:40 AM, Alvaro Marín <alvaro at hostalia.com
> >> <mailto:alvaro at hostalia.com>> wrote:
> >>
> >>     Hi,
> >>
> >>     I've found this thread:
> >>
> >>
> http://lists.mailscanner.info/pipermail/mailscanner/2013-March/100441.html
> >>
> >>     about the long queue IDs in Postfix (>2.9).
> >>     Is there any solution to this problem (MailScanner doesn't
> recognize the
> >>     long Postfix queue IDs)? I've tried that solution but it doesn't
> work
> >>     for me.
> >>
> >>     Thanks!
> >>     Regards,
> >>
> >>     --
> >>     Alvaro Marín Illera
> >>     Hostalia Internet
> >>     www.hostalia.com <http://www.hostalia.com>
> >>
> >>     --
> >>     MailScanner mailing list
> >>     mailscanner at lists.mailscanner.info
> >>     <mailto: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!
> >>
> >>
> >>
> >>
> >> --
> >>
> >> --
> >> Jerry Benton
> >> Mailborder Systems
> >> www.mailborder.com <http://www.mailborder.com>
> >>
> >>
> >
> >
>
>
> --
> Alvaro Marín Illera
> Hostalia Internet
> www.hostalia.com
>
> --
> 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/20140505/03d92048/attachment.html 


More information about the MailScanner mailing list