PDA

View Full Version : Mail and pop3 errors on new install



Dixiesys
10-01-2003, 06:33 PM
Just setup a new server last night, everything seems ok except welcome emails aren't being sent so a little investigation yields:

[root@www9 log]# mail -s "TEST" gary@8-95.com
asdf
.
Cc:
/usr/sbin/sendmail: No such file or directory

ok fine looked at my other box, that file belongs to da_exim so I did a rpm -Uvh --force da_exim(blah).rpm

No luck, so I checked maillog and I see loads of these:
Oct 1 20:22:01 www9 vm-pop3d[18927]: Quitting on signal: 15
Oct 1 20:22:01 www9 vm-pop3d[18926]: Quitting on signal: 15
Oct 1 20:22:01 www9 vm-pop3d[18925]: Quitting on signal: 15
Oct 1 20:22:01 www9 vm-pop3d[18924]: Quitting on signal: 15

Any clues on this?

DirectAdmin Support
10-04-2003, 05:06 PM
Hello,

For the sendmail not existing, try

cd /usr/sbin
ln -s exim sendmail

For the signal 15, I went browsing throught vm-pop3d source code and found:
#define ERR_LOCK_FAILED 15

which is probably saying that it can't get a lock on the mbox file, so it's giving up (might be in use). Check for lock files in:

/var/spool/mail/*.lock
/var/spool/virtual/*/*.lock

delete them if they exist (some might be valid but should only stay for a few seconds)

John

Dixiesys
10-04-2003, 05:54 PM
I did the ln already for the sendmail not exist problem seemed to fix that, I "think" the vmpop errors mighta been restarts.


Originally posted by DirectAdmin Support
Hello,

For the sendmail not existing, try

cd /usr/sbin
ln -s exim sendmail

For the signal 15, I went browsing throught vm-pop3d source code and found:
#define ERR_LOCK_FAILED 15

which is probably saying that it can't get a lock on the mbox file, so it's giving up (might be in use). Check for lock files in:

/var/spool/mail/*.lock
/var/spool/virtual/*/*.lock

delete them if they exist (some might be valid but should only stay for a few seconds)

John