mailscanner error, but doesn't appear to affect delivery?

Julian Field MailScanner at ecs.soton.ac.uk
Wed May 16 16:19:25 IST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Matt Hayes wrote:
> Daniel Maher wrote:
>> Hi all,
>>
>>  
>>
>> I recently built a brand-new incoming mail server, using Postfix 
>> 2.4.x, SpamAssassin 3.2.x, and the newest MailScanner and MailWatch 
>> packages.  It works properly, in that it receives, scans, tags, and 
>> delivers mail; however, every mail that it parses produces the 
>> following error in the mail log:
>>
>>  
>>
>> May 15 20:26:41 localhost MailScanner[3225]: 
>> /var/spool/MailScanner/incoming/3225/./23322FA4E.22E9F.header: Unable 
>> to open file or directory ERROR
>>
>>  
>>
>> Of course, the path (which exists, and is readable by MailScanner) 
>> and filename are different for each mail, but the message is the 
>> same.  Again, as I mentioned above, the mail is properly scanned and 
>> delivered, so the error doesn’t appear to be affecting behaviour at 
>> all.  That said, it is worrisome that an error is being produced at 
>> all – especially if it’s “not really” an error.
>>
>>  
>>
>> Any ideas?
>>
>
> Its looking to use /dev/shm.
More likely to be using tmpfs somewhere. You don't have to only mount 
/dev/shm with tmpfs, you can mount any directory you like with tmpfs.
>
> I had the same issue.  Once I setup fstab to load /dev/shm and mounted 
> it.. the error went away.
>
> For some odd reason, with the newest release of MailScanner.. it 
> actually wants spamassassin to use /dev/shm.. which actually helps 
> speed up scan times.
>
> However, in previous versions, I found the same "if /dev/shm exists 
> use it" for SA and it wasn't being used... but suddenly it does hehe.
>
> Invoking MailScanner in debug mode would've helped you to figure this 
> out :)
>
> -Matt
>
>

Jules

- -- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk




-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.1 (Build 1012)
Charset: windows-1252

wj8DBQFGSyGAEfZZRxQVtlQRAqrjAKCgg2d8wNfZZ+ke4gHWCXTvABovjACgjjHP
w0bO1hUBS/8xVrlWFi+Z5Ok=
=MGhP
-----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 mailing list