Problems writing to exim4's input directory after mail has been processed
Julian Field
mailscanner at ecs.soton.ac.uk
Sun Jan 4 16:15:03 GMT 2004
Are you using split exim spools? If so, all the split directories need to
exist before MailScanner tries to put a message in them. For each directory
under /var/spool/exim4_in/input, there needs to be a matching one under
/var/spool/exim4_out/input.
I guess I should make it create all these directories at startup if they
don't already exist. What is the complete list of directories needed? 0-9
and a-z or A-Z or A-F or a-f or...?
At 15:50 04/01/2004, you wrote:
>Hi,
>
>I've just installed and configured exim4 + MailScanner (4.30 + 4.25) for the
>first time and tried a few things. It seems to work pretty good, i.e. email
>is received by the first exim process and processing starts by MailScanner.
>
>SpamAssassin and both virus scanners seem to work well, but when MailScanner
>tries to move a message to the second exim's incoming directory it tries to
>save it into a non-existent subdirectory names '9' for unknow reasons.
>
>
>Here's the log:
>
>Jan 4 15:12:19 wycom MailScanner[16058]: MailScanner E-Mail Virus Scanner
>version 4.25-14 starting...
>Jan 4 15:12:27 wycom MailScanner[16058]: Using locktype = posix
>Jan 4 15:12:27 wycom MailScanner[16058]: Creating hardcoded struct_flock
>subroutine for linux (Linux-type)
>Jan 4 15:12:27 wycom MailScanner[16058]: New Batch: Scanning 1 messages,
>2484 bytes
>Jan 4 15:12:27 wycom MailScanner[16058]: MCP Checks completed at 2484 bytes
>per second
>Jan 4 15:12:27 wycom MailScanner[16058]: Spam Checks: Starting
>Jan 4 15:12:29 wycom MailScanner[16060]: MailScanner E-Mail Virus Scanner
>version 4.25-14 starting...
>Jan 4 15:12:30 wycom MailScanner[16058]: Spam Checks completed at 828 bytes
>per second
>Jan 4 15:12:30 wycom MailScanner[16058]: Virus and Content Scanning: Starting
>Jan 4 15:12:30 wycom MailScanner[16058]:
>/var/spool/MailScanner/incoming/16058/1Ad9t9-00048c-Lz/eicar.com Infection:
>EICA
>R_Test_File
>Jan 4 15:12:30 wycom MailScanner[16058]: Virus Scanning: F-Prot found virus
>EICAR_Test_File
>Jan 4 15:12:30 wycom MailScanner[16058]: Virus Scanning: F-Prot found 1
>infections
>Jan 4 15:12:31 wycom MailScanner[16058]:
>/var/spool/MailScanner/incoming/16058/./1Ad9t9-00048c-Lz/eicar.com:
>Eicar-Test-Si
>gnature FOUND
>Jan 4 15:12:31 wycom MailScanner[16058]: Virus Scanning: ClamAV found 1
>infections
>Jan 4 15:12:31 wycom MailScanner[16058]: Infected message 1Ad9t9-00048c-Lz
>came from 134.169.9.55
>Jan 4 15:12:31 wycom MailScanner[16058]: Virus Scanning: Found 1 viruses
>Jan 4 15:12:31 wycom MailScanner[16058]: Filename Checks: Windows/DOS
>Executable (eicar.com)
>Jan 4 15:12:31 wycom MailScanner[16058]: Filename Checks: Allowing
>msg-16058-1.txt
>Jan 4 15:12:31 wycom MailScanner[16058]: Other Checks: Found 1 problems
>Jan 4 15:12:31 wycom MailScanner[16058]: Virus Scanning completed at 2484
>bytes per second
>Jan 4 15:12:31 wycom MailScanner[16058]: Saved infected "eicar.com" to
>/var/spool/MailScanner/quarantine/20040104/1Ad9t9-0
>0048c-Lz
>Jan 4 15:12:31 wycom MailScanner[16058]: Could not open file
> >/var/spool/exim4_out/input/9/1Ad9t9-00048c-Lz-D: No such file or directory
>Jan 4 15:12:31 wycom MailScanner[16058]: Cannot create + lock clean body
>/var/spool/exim4_out/input/9/1Ad9t9-00048c-Lz-D,
>
> From the conf file:
>Incoming Queue Dir = /var/spool/exim4_in/input
>Outgoing Queue Dir = /var/spool/exim4_out/input
>
>
>Any idea where I can fix that/what kind of error that is?
>
>Cheers
>
>Carsten
--
Julian Field
www.MailScanner.info
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
More information about the MailScanner
mailing list