Upgrade Wrecks MailScanner

Paul Scott sales at edenusa.com
Wed Oct 12 21:43:15 UTC 2016


Hello Wolfgang,

Yes, I shut down the "plain old" sendmail service, then started the mailscanner service, then mailscanner-sendmail, in that order.

I am receiving messages into the /var/spool/mqueue.in directory:

[root at mail spool]# cd mqueue.in
[root at mail mqueue.in]# dir
dfu9CLDuSL005245  dfu9CLTm2w005930  dfu9CLVE8t006037  qfu9CLDuSL005245  qfu9CLTm2w005930  qfu9CLVE8t006037
dfu9CLR62B005824  dfu9CLTm2x005930  dfu9CLWHLA006090  qfu9CLR62B005824  qfu9CLTm2x005930  qfu9CLWHLA006090

I also have (I believe outgoing mail?) coming into the /var/spool/mqueue directory:

 [root at mail spool]# cd mqueue
[root at mail mqueue]# ls -all
total 488
drwx------  2 root mail  466944 Oct 12 14:32 .
drwxr-xr-x 18 root root    4096 May 11  2011 ..
-rw-------  1 root smmsp     52 Oct 12 14:27 dfu9AHuxOw000852
-rw-------  1 root smmsp     52 Oct 12 14:29 dfu9BIXh7k025788
-rw-------  1 root smmsp   1091 Oct 12 14:32 qfu9AHuxOw000852
-rw-------  1 root smmsp   1047 Oct 12 14:29 qfu9BIXh7k025788
[root at mail mqueue]#


There are now 22 messages in the Processing Attemps Database:

Oct 12 14:41:02 mail MailScanner[6803]: Found 22 messages in the Processing Attempts Database 
Oct 12 14:41:02 mail MailScanner[6803]: Using locktype = flock 
Oct 12 14:41:03 mail MailScanner[6766]: Making attempt 2 at processing message u9CLbvdc006590 
Oct 12 14:41:03 mail MailScanner[6766]: New Batch: Found 7 messages waiting

I am at a loss as to what exactly is happening here.  NO messages are getting out of the Processing Attempts Database.

Thank you again for you great help!

Sincerely, Paul Scott



-----Original Message-----
From: MailScanner [mailto:mailscanner-bounces+sales=edenusa.com at lists.mailscanner.info] On Behalf Of Wolfgang Baudler
Sent: Wednesday, October 12, 2016 2:15 PM
To: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Subject: RE: Upgrade Wrecks MailScanner

> Hello again Wolfgang,
>
> I may have spoken too soon.  Now, I have yet another issue.  It 
> appears that the messages that are being put in the "Processing 
> Attempts Database", are not being released:
>
> Oct 12 13:57:37 mail MailScanner[4102]: Connected to Processing 
> Attempts Database Oct 12 13:57:37 mail MailScanner[4102]: Found 10 
> messages in the Processing Attempts Database Oct 12 13:57:37 mail 
> MailScanner[4102]: Using locktype = flock
>
> I am up to 10 messages now, and none have completed processing and 
> been released out.  This is much more serious than what was happening 
> before, as now nobody is getting any email.  What do you think is going on?
>
> Thank you again,
> Paul Scott

Not sure if your problem is related to the Processing Attempts Database.
Maybe someone else can comment on that.

Are your sendmail processes running properly? Did you stop your old "plain" sendmail service?

ps -ef |grep sendmail

output would help. Also check your queue directories. My /var/spool/mqueue.in directory was gone after the Mailscanner 5.x upgrade for some reason.

ls -ald /var/spool/*queue*

output would help.

Wolfgang




--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner



More information about the MailScanner mailing list