New Beta 4.58.7 -- Postfix fix
Julian Field
MailScanner at ecs.soton.ac.uk
Tue Jan 30 16:14:26 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Good. That's better than nothing in the way of Exim testing.
Thanks.
Martin.Hepworth wrote:
> Jules
>
> Seems to work just as before...I tested the 'normal' way and adding the
> ruleset below, both delivered immediately as expected.
>
> --
> Martin Hepworth
> Snr Systems Administrator
> Solid State Logic
> Tel: +44 (0)1865 842300
>
>
>> -----Original Message-----
>> From: mailscanner-beta-bounces at lists.mailscanner.info
>>
> [mailto:mailscanner-
>
>> beta-bounces at lists.mailscanner.info] On Behalf Of Julian Field
>> Sent: 30 January 2007 15:29
>> To: MailScanner Beta-testers
>> Subject: Re: New Beta 4.58.7 -- Postfix fix
>>
>> Outgoing Queue Dir = %rules-dir%/out.queue.rules
>>
>> out.queue.rules contains
>>
>> From: *@*.* /var/spool/exim/input
>> FromOrTo: default /var/spool/exim/input
>>
>> and restart MailScanner (or reload of course).
>>
>>
>> Martin.Hepworth wrote:
>>
>>> Jules
>>>
>>> OK I'm thick - how would I do this for exim??? I've not idea how the
>>> queue-id's are generated..
>>>
>>> --
>>> Martin Hepworth
>>> Snr Systems Administrator
>>> Solid State Logic
>>> Tel: +44 (0)1865 842300
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: mailscanner-beta-bounces at lists.mailscanner.info
>>>>
>>>>
>>> [mailto:mailscanner-
>>>
>>>
>>>> beta-bounces at lists.mailscanner.info] On Behalf Of Julian Field
>>>> Sent: 30 January 2007 15:03
>>>> To: MailScanner Beta-testers
>>>> Subject: Re: New Beta 4.58.7 -- Postfix fix
>>>>
>>>> It would help even if you just had a simple ruleset which always
>>>> resulted in the same queue string. Then just check that the MTA is
>>>>
>>>>
>>> being
>>>
>>>
>>>> kicked at all.
>>>>
>>>> That will actually check virtually all of the code.
>>>>
>>>> Thanks.
>>>>
>>>> Martin.Hepworth wrote:
>>>>
>>>>
>>>>> Don't have split queues on my exim setup otherwise I'd love to
>>>>>
>>>>>
>>> test...
>>>
>>>
>>>>> --
>>>>> Martin Hepworth
>>>>> Snr Systems Administrator
>>>>> Solid State Logic
>>>>> Tel: +44 (0)1865 842300
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: mailscanner-beta-bounces at lists.mailscanner.info
>>>>>>
>>>>>>
>>>>>>
>>>>> [mailto:mailscanner-
>>>>>
>>>>>
>>>>>
>>>>>> beta-bounces at lists.mailscanner.info] On Behalf Of Julian Field
>>>>>> Sent: 30 January 2007 12:14
>>>>>> To: MailScanner Beta-testers
>>>>>> Subject: Re: New Beta 4.58.7 -- Postfix fix
>>>>>>
>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>> Hash: SHA1
>>>>>>
>>>>>>
>>>>>>
>>>>>> Glenn Steen wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> On 30/01/07, Julian Field <MailScanner at ecs.soton.ac.uk> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>>>> Hash: SHA1
>>>>>>>>
>>>>>>>> In Postfix.pm you will find "sub KickMessage". Replace the
>>>>>>>>
> whole
>
>>> of
>>>
>>>
>>>>>> that
>>>>>>
>>>>>>
>>>>>>
>>>>>>>> function with
>>>>>>>>
>>>>>>>> sub KickMessage {
>>>>>>>> my($queue2ids) = @_;
>>>>>>>> my($queue);
>>>>>>>>
>>>>>>>> # Do a kick for every queue that contains some message ids
>>>>>>>> foreach $queue (keys %$queue2ids) {
>>>>>>>> next unless $queue2ids->{$queue};
>>>>>>>>
>>>>>>>> # Using the spool directory with the last element chopped
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>> off,
>>>>>
>>>>>
>>>>>
>>>>>>>> # find the public directory wth the qmgr FIFO in it. Send
>>>>>>>>
>>>>>>>>
>>> an
>>>
>>>
>>>>> I
>>>>>
>>>>>
>>>>>
>>>>>>>> # to that FIFO.
>>>>>>>> my $public = $queue;
>>>>>>>> $public =~ s/[^\/]+$/public/;
>>>>>>>> #next unless $public; # Sanity checking!
>>>>>>>> my $fh = new FileHandle;
>>>>>>>> $fh->open(">$public/qmgr") or
>>>>>>>> MailScanner::Log::WarnLog("KickMessage failed as
>>>>>>>>
> couldn't
>
>>>>>>>>
>>>>> write
>>>>>
>>>>>
>>>>>
>>>>>>>> to " .
>>>>>>>> "%s, %s", "$public/qmgr",
>>>>>>>>
> $!);
>
>>>>>>>> print $fh "I";
>>>>>>>> $fh->close;
>>>>>>>> }
>>>>>>>> return 0;
>>>>>>>> }
>>>>>>>>
>>>>>>>>
>>>>>>>> and then let me know how you get on.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> As said, that takes care of the "non-kicking" in Postfix. Still
>>>>>>>
>>>>>>>
>>> god
>>>
>>>
>>>>> to
>>>>>
>>>>>
>>>>>
>>>>>>> go for Thursday?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> I'm content that it works with sendmail and Postfix.
>>>>>> Need testing on Exim now, then I'm prepared to go for it.
>>>>>>
>>>>>> Don't have to worry about ZMailer as that is intelligent enough
>>>>>>
> to
>
>>>>>> realise new mail files have appeared in its queues and therefore
>>>>>>
>>>>>>
>>>>>>
>>>>> doesn't
>>>>>
>>>>>
>>>>>
>>>>>> need to be told anything.
>>>>>>
>>>>>> Exim testers please?
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Cheers
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> Jules
>>>>>>
>>>>>> - --
>>>>>> Julian Field MEng CITP
>>>>>> www.MailScanner.info
>>>>>> Buy the MailScanner book at www.MailScanner.info/store
>>>>>>
>>>>>> Need help customising MailScanner?
>>>>>> Contact me!
>>>>>> Need help fixing or optimising your systems?
>>>>>> Contact me!
>>>>>> Need help getting you started solving new requirements from your
>>>>>>
>>>>>>
>>> boss?
>>>
>>>
>>>>>> Contact me!
>>>>>>
>>>>>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>> Version: PGP Desktop 9.5.3 (Build 5003)
>>>>>> Comment: (pgp-secured)
>>>>>> Charset: ISO-8859-1
>>>>>>
>>>>>> wj8DBQFFvzaVEfZZRxQVtlQRAhw/AKDYkwZC+4KKLfVRVFVuIM9thuPxzwCdEtsK
>>>>>> H2kC4zV+Ja38dJi0pmNNL6w=
>>>>>> =VHEY
>>>>>> -----END PGP SIGNATURE-----
>>>>>>
>>>>>> --
>>>>>> This message has been scanned for viruses and
>>>>>> dangerous content by MailScanner, and is
>>>>>> believed to be clean.
>>>>>> For all your IT requirements visit www.transtec.co.uk
>>>>>>
>>>>>> --
>>>>>> MailScanner-Beta mailing list
>>>>>> mailscanner-beta at lists.mailscanner.info
>>>>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner-beta
>>>>>>
>>>>>> Before posting, read http://wiki.mailscanner.info/posting
>>>>>>
>>>>>> Support MailScanner development - buy the book off the website!
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
> **********************************************************************
>
>>>>> Confidentiality : This e-mail and any attachments are intended for
>>>>>
>>>>>
>>> the
>>>
>>>
>>>>> addressee only and may be confidential. If they come to you in
>>>>>
> error
>
>>>>> you must take no action based on them, nor must you copy or show
>>>>>
>>>>>
>>> them
>>>
>>>
>>>>> to anyone. Please advise the sender by replying to this e-mail
>>>>> immediately and then delete the original from your computer.
>>>>>
>>>>> Opinion : Any opinions expressed in this e-mail are entirely those
>>>>>
>>>>>
>>> of
>>>
>>>
>>>>> the author and unless specifically stated to the contrary, are not
>>>>> necessarily those of the author's employer.
>>>>>
>>>>> Security Warning : Internet e-mail is not necessarily a secure
>>>>> communications medium and can be subject to data corruption. We
>>>>>
>>>>>
>>> advise
>>>
>>>
>>>>> that you consider this fact when e-mailing us.
>>>>>
>>>>> Viruses : We have taken steps to ensure that this e-mail and any
>>>>> attachments are free from known viruses but in keeping with good
>>>>> computing practice, you should ensure that they are virus free.
>>>>>
>>>>> Red Lion 49 Ltd T/A Solid State Logic
>>>>> Registered as a limited company in England and Wales
>>>>> (Company No:5362730)
>>>>> Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU,
>>>>> United Kingdom
>>>>>
>>>>>
>>>>>
> **********************************************************************
>
>>>> Jules
>>>>
>>>> --
>>>> Julian Field MEng CITP
>>>> www.MailScanner.info
>>>> Buy the MailScanner book at www.MailScanner.info/store
>>>>
>>>> Need help customising MailScanner?
>>>> Contact me!
>>>> Need help fixing or optimising your systems?
>>>> Contact me!
>>>> Need help getting you started solving new requirements from your
>>>>
> boss?
>
>>>> Contact me!
>>>>
>>>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>>>
>>>>
>>>>
>>>> --
>>>> This message has been scanned for viruses and
>>>> dangerous content by MailScanner, and is
>>>> believed to be clean.
>>>> For all your IT requirements visit www.transtec.co.uk
>>>>
>>>> --
>>>> MailScanner-Beta mailing list
>>>> mailscanner-beta at lists.mailscanner.info
>>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner-beta
>>>>
>>>> Before posting, read http://wiki.mailscanner.info/posting
>>>>
>>>> Support MailScanner development - buy the book off the website!
>>>>
>>>>
>>>
>>>
>>>
>>>
> **********************************************************************
>
>>> Confidentiality : This e-mail and any attachments are intended for
>>>
> the
>
>>> addressee only and may be confidential. If they come to you in error
>>> you must take no action based on them, nor must you copy or show
>>>
> them
>
>>> to anyone. Please advise the sender by replying to this e-mail
>>> immediately and then delete the original from your computer.
>>>
>>> Opinion : Any opinions expressed in this e-mail are entirely those
>>>
> of
>
>>> the author and unless specifically stated to the contrary, are not
>>> necessarily those of the author's employer.
>>>
>>> Security Warning : Internet e-mail is not necessarily a secure
>>> communications medium and can be subject to data corruption. We
>>>
> advise
>
>>> that you consider this fact when e-mailing us.
>>>
>>> Viruses : We have taken steps to ensure that this e-mail and any
>>> attachments are free from known viruses but in keeping with good
>>> computing practice, you should ensure that they are virus free.
>>>
>>> Red Lion 49 Ltd T/A Solid State Logic
>>> Registered as a limited company in England and Wales
>>> (Company No:5362730)
>>> Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU,
>>> United Kingdom
>>>
>>>
> **********************************************************************
>
>>>
>> Jules
>>
>> --
>> Julian Field MEng CITP
>> www.MailScanner.info
>> Buy the MailScanner book at www.MailScanner.info/store
>>
>> Need help customising MailScanner?
>> Contact me!
>> Need help fixing or optimising your systems?
>> Contact me!
>> Need help getting you started solving new requirements from your boss?
>> Contact me!
>>
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>> For all your IT requirements visit www.transtec.co.uk
>>
>> --
>> MailScanner-Beta mailing list
>> mailscanner-beta at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner-beta
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
>
>
>
>
> **********************************************************************
> Confidentiality : This e-mail and any attachments are intended for the
> addressee only and may be confidential. If they come to you in error
> you must take no action based on them, nor must you copy or show them
> to anyone. Please advise the sender by replying to this e-mail
> immediately and then delete the original from your computer.
>
> Opinion : Any opinions expressed in this e-mail are entirely those of
> the author and unless specifically stated to the contrary, are not
> necessarily those of the author's employer.
>
> Security Warning : Internet e-mail is not necessarily a secure
> communications medium and can be subject to data corruption. We advise
> that you consider this fact when e-mailing us.
>
> Viruses : We have taken steps to ensure that this e-mail and any
> attachments are free from known viruses but in keeping with good
> computing practice, you should ensure that they are virus free.
>
> Red Lion 49 Ltd T/A Solid State Logic
> Registered as a limited company in England and Wales
> (Company No:5362730)
> Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU,
> United Kingdom
> **********************************************************************
>
>
Jules
- --
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.5.3 (Build 5003)
Comment: (pgp-secured)
Charset: ISO-8859-1
wj8DBQFFv27rEfZZRxQVtlQRAsO2AKD7RCql64h7KdBQtDl74V/KpG0MMwCgwKPX
v37jEe/T+Eouq3Itr14B5eY=
=KeXH
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk
More information about the MailScanner-Beta
mailing list