Page 1 of 1

defered mail issue.

Posted: Mon Nov 13, 2006 6:58 pm
by sirfoxey
I returned from holidays to find our test scalix server which was in the final stages of testing was no longer delivering mail. I am unable to work out why. The server is happily accepting mail but never delivering it to the mailboxes on the server.

Some of the errors are

/var/log/maillog

Nov 14 09:47:48 scalix sm-msp-queue[18140]: kABIRMpJ027090: to=postmaster, delay=2+03:55:25, xdelay=00:00:00, mailer=relay, pri=4715583, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later

Nov 14 09:48:36 scalix sm-msp-queue[18140]: kABHRMpA026480: to=<username@mydomain.com>, delay=2+04:54:12, xdelay=00:00:00, mailer=relay, pri=4803639, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later


[quote]
/var/opt/scalix/logs/log.0

imapSatelliteCommand: Satellite has died, tidying up...usernamemydomainhqUser Name
Ã

Posted: Tue Nov 14, 2006 11:44 am
by jcaudell
Can you do an omstat -a and omstat -s and see if any services are stopping after that 10-15 minute period?

Posted: Tue Nov 14, 2006 5:54 pm
by sirfoxey
here is the results of those commands
[root@scalix ~]# omstat -a
PC Monitor Started NON-STOP 0
Directory Relay Server Started 11.13.06
Notification Server Started 11.13.06 0
Shared memory daemon Started NON-STOP
Notification Monitor Started NON-STOP
Session Monitor Started NON-STOP
Container Access Monitor Started NON-STOP
Item Structure Server Stopped
Database Monitor Started 11.13.06
Licence Monitor Daemon Started NON-STOP
LDAP Daemon Started 11.13.06
Queue Manager Started NON-STOP
Item Delete Daemon Started NON-STOP
IMAP Server Daemon Started 11.13.06
SMTP Relay Started 11.13.06
Mime Browser Controller Started 11.13.06

[root@scalix ~]# omstat -s
Service Router Started 11.13.06 0
Local Delivery Started 11.13.06 0
Internet Mail Gateway Started 11.13.06 0
Local Client Interface Enabled 11.13.06 0
Remote Client Interface Enabled 11.13.06 1
Test Server Started 11.13.06 0
Request Server Started 11.13.06 0
Print Server Started 11.13.06 0
Bulletin Board Server Started 11.13.06 0
Background Search Service Started 11.13.06 0
CDA Server Started 11.13.06 0
POP3 interface Started 11.13.06 0
Omscan Server Started 11.13.06 0
Archiver Started 11.13.06 0
[root@scalix ~]#

Posted: Tue Nov 14, 2006 7:51 pm
by florian
can you do an

Code: Select all

lsof -i :25


cheers,
Florian.

Posted: Tue Nov 14, 2006 8:08 pm
by sirfoxey
sure can

[root@scalix ~]# lsof -i :25
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sendmail 2896 root 4u IPv4 6861 TCP localhost:smtp (LISTEN)
omsmtpd 3030 root 4u IPv4 7124 TCP scalix.printsoft.com:smtp (LISTEN)
omsmtpd 3030 root 14u IPv4 307798 TCP localhost:36020->localhost:smtp (CLOSE_WAIT)
[root@scalix ~]#


thank you to all assisting me with this

Posted: Tue Nov 14, 2006 8:11 pm
by florian
can you initiallly just restart your sendmail?

Code: Select all

/etc/init.d/sendmail restart


and see if this changes anything?

Thx,
Florian.

Posted: Tue Nov 14, 2006 8:19 pm
by sirfoxey
I have done that.
[root@scalix ~]# /etc/init.d/sendmail restart
Shutting down sendmail: [ OK ]
Shutting down sm-client: [ OK ]
Starting sendmail: ^[[A^[[A^[[B [ OK ]
Starting sm-client: [ OK ]
[root@scalix ~]# omstat -a
PC Monitor Started NON-STOP 0
Directory Relay Server Started 11.13.06
Notification Server Started 11.13.06 0
Shared memory daemon Started NON-STOP
Notification Monitor Started NON-STOP
Session Monitor Started NON-STOP
Container Access Monitor Started NON-STOP
Item Structure Server Stopped
Database Monitor Started 11.13.06
Licence Monitor Daemon Started NON-STOP
LDAP Daemon Started 11.13.06
Queue Manager Started NON-STOP
Item Delete Daemon Started NON-STOP
IMAP Server Daemon Started 11.13.06
SMTP Relay Started 11.13.06
Mime Browser Controller Started 11.13.06
[root@scalix ~]# omstat -s
Service Router Started 11.13.06 0
Local Delivery Started 11.13.06 0
Internet Mail Gateway Started 11.13.06 0
Local Client Interface Enabled 11.13.06 0
Remote Client Interface Enabled 11.13.06 3
Test Server Started 11.13.06 0
Request Server Started 11.13.06 0
Print Server Started 11.13.06 0
Bulletin Board Server Started 11.13.06 0
Background Search Service Started 11.13.06 0
CDA Server Started 11.13.06 0
POP3 interface Started 11.13.06 0
Omscan Server Started 11.13.06 0
Archiver Started 11.13.06 0
[root@scalix ~]# lsof -i :25
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
omsmtpd 3030 root 3u IPv4 937730 TCP scalix.printsoft.com:smtp->192.168.16.123:36861 (ESTABLISHED)
omsmtpd 3030 root 4u IPv4 7124 TCP scalix.printsoft.com:smtp (LISTEN)
omsmtpd 3030 root 14u IPv4 307798 TCP localhost:36020->localhost:smtp (CLOSE_WAIT)
sendmail 23874 root 4u IPv4 939186 TCP localhost:smtp (LISTEN)
sendmail 23875 root 8u IPv6 939262 TCP scalix.printsoft.com:41548->ns1.cheetah.net:smtp (SYN_SENT)
sendmail 23883 smmsp 6u IPv6 939212 TCP localhost:41547->localhost:smtp (ESTABLISHED)
sendmail 23883 smmsp 7u IPv6 939212 TCP localhost:41547->localhost:smtp (ESTABLISHED)
sendmail 23886 root 1u IPv4 939213 TCP localhost:smtp->localhost:41547 (ESTABLISHED)
sendmail 23886 root 4u IPv4 939213 TCP localhost:smtp->localhost:41547 (ESTABLISHED)
sendmail 23886 root 6u IPv4 939213 TCP localhost:smtp->localhost:41547 (ESTABLISHED)
[root@scalix ~]#


As i said, in the original post restarting services lasts 10-15m and it stops processing again

Posted: Tue Nov 14, 2006 8:21 pm
by florian
what linux distro is this on? can you check that you did the latest yum, up2date or yast run to get all current patches? This seems more like a sendmail then a scalix issue.

cheers,
Florian.

Posted: Tue Nov 14, 2006 8:29 pm
by sirfoxey
The linux distro is RHEL 4

I will run the updates and report back. Thank you for your help

Actually just checked not a single update for my machine currently

Posted: Thu Nov 16, 2006 10:58 pm
by kanderson
I had a SLES9 box with this same problem. Mail would stop for no apparent reason, and then go later. I never did figure out why, we replaced the box.

Kev.