Mailscanner does not scan mails

Alex Broens ms-list at alexb.ch
Fri Oct 8 13:34:15 IST 2010


did you check permsisions as per docs?
MailScanner setup may reset them after running

h2h
Alex

On 2010-10-08 14:24, LGi at b-w-computer.de wrote:
> I just ugraded to MailScanner-4.81.4-1
> 
> All seems fine, but it's just not scanning messages.
> The debug output says:
> 
>         14:10:29 Building a message batch to scan...
> 
> but nothing happens
> 
> ps ax shows:
> 
>         29532 pts/3    S+     0:38 MailScanner: waiting for messages
> 
> The Incoming Queue Dir is configured correctly:
> 
> Incoming Queue Dir = /var/spool/postfix/hold
> 
> When I start the job with strace the Mailscanner processs seem to look 
> into the queue directory every 6 seconds:
> 
> [pid 29692] chdir("/var/spool/postfix/hold") = 0
> [pid 29692] open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) 
> = 9
> [pid 29692] getdents64(9, /* 120 entries */, 32768) = 3824
> [pid 29692] getdents64(9, /* 0 entries */, 32768) = 0
> [pid 29692] close(9)                    = 0
> [pid 29692] umask(0177)                 = 077
> [pid 29692] umask(077)                  = 0177
> [pid 29692] time(NULL)                  = 1286540143
> [pid 29692] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> [pid 29692] rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
> [pid 29692] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> [pid 29692] nanosleep({6, 0}, {6, 0})   = 0
> [pid 29692] time(NULL)                  = 1286540149
> [pid 29692] chdir("/var/spool/postfix/hold") = 0
> [pid 29692] open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) 
> = 9
> [pid 29692] getdents64(9, /* 120 entries */, 32768) = 3824
> [pid 29692] getdents64(9, /* 0 entries */, 32768) = 0
> [pid 29692] close(9)                    = 0
> [pid 29692] umask(0177)                 = 077
> [pid 29692] umask(077)                  = 0177
> [pid 29692] time(NULL)                  = 1286540149
> [pid 29692] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> [pid 29692] rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
> [pid 29692] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> [pid 29692] nanosleep({6, 0},
> 
> 
> There are several new messages in the directory /var/spool/postfix/hold 
> but MailScanner does not pick them.
> 
> any idea how to get this to work?
> Previus Version MailScanner-4.52.2 is working fine.
> 
> 
> 
> 
> 
> best regards
> 
> 
> Lars Gierling
> 
> 
> 
> 
> Think before you print
> Diese E-Mail und alle Anhänge enthalten vertrauliche und/oder rechtlich 
> geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder 
> diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den 
> Absender und vernichten Sie diese E-Mail und ihren Inhalt. Das unerlaubte 
> Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
> 
> This e-mail and any attached files may contain confidential and/or 
> privileged information. If you are not the intended recipient (or have 
> received this e-mail by mistake) please notify the sender immediately and 
> delete this e-mail. Any unauthorised duplication, disclosure or 
> distribution of this e-mail and content is strictly forbidden. 
> 



More information about the MailScanner mailing list