Mail and pop3 errors on new install

Dixiesys

Verified User
Joined
Aug 2, 2003
Messages
137
Location
The South
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" [email protected]
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?
 
Hello,

For the sendmail not existing, try
Code:
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
 
I did the ln already for the sendmail not exist problem seemed to fix that, I "think" the vmpop errors mighta been restarts.

DirectAdmin Support said:
Hello,

For the sendmail not existing, try
Code:
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
 
Back
Top