Mailscanner 5.0.3-7

Antony Stone Antony.Stone at mailscanner.open.source.it
Fri Oct 14 20:20:34 UTC 2016


On Friday 14 October 2016 at 21:58:39, Juan Fco. Gavilanes N. wrote:

> oct 14 14:46:16 mail sendmail[7371]: u9EJkDsC007371:
> from=<supertool at mxtoolbox.com>, size=0, class=0, nrcpts=0, proto=ESMTP,
> daemon=MTA, relay=keep
> 
> oct 14 14:47:07 mail sendmail[7370]: unable to qualify my own domain name
> (mail) -- using short name

What do you have in /etc/hostname (or possibly /etc/HOSTNAME) and in 
/etc/hosts?

> oct 14 14:47:07 mail sendmail[7427]: starting daemon (8.15.2):
> queueing at 00:15:00
> 
> oct 14 14:47:07 mail sendmail[7427]: unable to write pid to
> /var/run/sendmail.out.pid: file in use by another process

What is the output of "ls -l /var/run/sendmail.out.pid"?

Which user are you trying to run sendmail as?

> oct 14 14:47:07 mail mailscanner-sendmail[7353]:          outgoing
> sendmail: [  OK  ]
> 
> oct 14 14:47:07 mail systemd[1]: mailscanner-sendmail.service: PID file
> /var/run/sendmail.*.pid, /var/run/sm-client.pid not readable (yet?) after s

What is the output of "ls -l /var/run/sendmail.*.pid"?

What is the output of "ls -l /var/run/sm-client.pid"?

> oct 14 14:48:07 mail systemd[1]: mailscanner-sendmail.service: Start
> operation timed out. Terminating.
> 
> oct 14 14:48:07 mail systemd[1]: Failed to start SYSV: start sendmail
> queues for mailscanner.
> 
> oct 14 14:48:07 mail systemd[1]: mailscanner-sendmail.service: Unit entered
> failed state.
> 
> oct 14 14:48:07 mail systemd[1]: mailscanner-sendmail.service: Failed with
> result 'timeout'.



On Thursday 13 October 2016 at 21:32:22, Antony Stone wrote:

> 4. Are both mail services (inbound queueing, outbound delivery) running?

On Friday 14 October 2016 at 16:22:38, Juan Fco. Gavilanes N. wrote:

> 4. sendmail only if it works

I don't understand this answer.

Please tell us whether you have two sendmail processes running on the machine.  
One of them should be running in queueing mode only - that is, with options 
similar to:

sendmail -bd -ODeliveryMode=queueonly -OQueueDirectory=/var/spool/mqueue.in

the other should be running in delivery mode:

sendmail -q15m

Please let us know whether "ps" shows these two processes running.


Antony.

-- 
I lay awake all night wondering where the sun went, and then it dawned on me.

                                                   Please reply to the list;
                                                         please *don't* CC me.


More information about the MailScanner mailing list