Nested sendmail queues still broken?

Julian Field MailScanner at ecs.soton.ac.uk
Sun Feb 27 14:57:07 GMT 2005


    [ The following text is in the "UTF-8" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Please try this patch to SMDiskStore.pm. Hopefully it will fix this problem.

-----SNIP-----
--- SMDiskStore.pm.old     2004-12-21 11:46:19.000000000 +0000
+++ SMDiskStore.pm      2005-02-27 14:54:46.000000000 +0000
@@ -335,9 +335,14 @@
   my $this = shift;
   my($id, $entity, $outq) = @_;

-  my($Df, $dfile);
+  my($Df, $dfile, $InDPath, $OutDPath);

-  $dfile = $outq . '/' . $this->{dname};
+  # If the incoming queue was nested, the dname will have any of
qf,df,xf,tf
+  # pre-pended to it, so we have to get rid of this before we produce the
+  # outgoing queue directory name.
+  my $OutDPath = $this->{dname};
+  $OutDPath =~ s/^[qdxt]f\///;
+  $dfile = $outq . '/' . $OutDPath;

   #print STDERR "Writing MIME body of \"$id\" to $dfile\n";

-----SNIP-----

David H. wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
> Hello Julian.
>
> Just as a heads up.
>
> After running *.2 on a test system for a while I got this, this morning:
>
> Feb 27 14:55:08 dragon MailScanner[597]: Could not open file
> |/var/spool/mqueue/df/dfj1OBhinw003311: No such file or directory
> Feb 27 14:55:08 dragon MailScanner[597]: Cannot create + lock clean body
> /var/spool/mqueue/df/dfj1OBhinw003311,
> Feb 27 14:55:11 dragon MailScanner[628]: MailScanner E-Mail Virus Scanner
> version 4.39.2 starting...
>
> Full conversation:
>
> Feb 27 05:45:12 dragon MailScanner[26184]: Message j1OBhinw003311 from
> 194.24.130.11 (smartspace at one.at) to frosted.net is not spam,
> SpamAssassin
> (score=0.456, required 5.1, EXTRA_MPART_TYPE 0.22, HTML_MESSAGE 0.00,
> HTML_TAG_EXIST_TBODY 0.23)
> Feb 27 05:45:15 dragon MailScanner[26184]: Could not open file
> |/var/spool/mqueue/df/dfj1OBhinw003311: No such file or directory
> Feb 27 05:45:15 dragon MailScanner[26184]: Cannot create + lock clean
> body
> /var/spool/mqueue/df/dfj1OBhinw003311,
>
> - -d
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.3.6 (Darwin)
>
> iD8DBQFCIdKaPMoaMn4kKR4RAy8SAKCVVY88iwxVu/y3q6qqPNHGuCxFxwCffyLC
> sw6zsVdJrUg17BZu6eD9nGE=
> =A119
> -----END PGP SIGNATURE-----
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
>

--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list