Can't Send Mail Via SquirrelMail

Brian

Verified User
Joined
Feb 2, 2004
Messages
33
I can recieve but when i try and send i get this message at the top of squirrelmail screen

ERROR:
Service not available, closing channel
Server replied: 421 Unexpected failure, please try later

Log showing

2004-02-05 12:05:45 failed to open /etc/virtual/pophosts for linear search: No such file or directory

Any ideas?
 
Last edited:
Hello,

service da-popb4smtp start

should startup the da-popb4smtp program and create the pophosts file.

John
 
How can I set this, so I dont have to start the service everytime i reboot?
 
That depends on your OS.

If you're using RHL (any supported version) check this:

$ ls -al /etc/rc.d/rc3.d/*pop*

and see if you've got a response similar to this (from one of my systems):
Code:
lrwxrwxrwx    1 root     root           22 Aug 28  2003 S80da-popb4smtp -> ../init.d/da-popb4smtp
If you do, then you're okay. If not, then do you have one beginning with "K" instead of "S"? If so delete it.

Then do this:

$ ls -al /etc/rc.d/init.d/*pop*

and make sure you've got a copy of da-popb4smtp.

Then create a link:
Code:
# cd /etc/rc.d/rc3.d/
# ln -s ../init.d/da-popb4smtp S80da-popb4smtp

Jeff
 
I am also recieving this error. I had just used the HOWTO tutorial on setting up MailScanner with Exim and now recieving the error when trying to send. I have tried service da-popb4smtp start and it did not fix the error.

EDIT:
I restarted the server and the error stopped. I had stopped mailscanner, restarted exim, then started mailscanner again and now the error is back. Incoming emails doesn't go thru either. I then shutdown mailscanner and restarted exim and then it was fixed again. Any ideas, help is appreciated!


Thanks in advance
 
Last edited:
Hello,

If anyone is getting this error recently (Jan 2006) follow this guide:
http://help.directadmin.com/item.php?id=51

It will create the missing blacklist/whitelist files.

I've already fixed the issue in the setup.sh file for new installs, but if your install is about a week or 2 old, you may need to run the above link.

John
 
Brian said:
I can recieve but when i try and send i get this message at the top of squirrelmail screen

ERROR:
Service not available, closing channel
Server replied: 421 Unexpected failure, please try later

Log showing

2004-02-05 12:05:45 failed to open /etc/virtual/pophosts for linear search: No such file or directory

Any ideas?

Hi Ron Bell here, i had the same problem, ( this was on a 2 day old install ) the guys at directadmin came the rescue and gave me this solution,

"Hello,

Check your /var/log/exim/mainlog

tail /var/log/exim/mainlog

if you see a missing file error, run this:
http://help.directadmin.com/item.php?id=51

Thank you,

John"

And it worked ! - thanks...
 
Hi all
I am facing the same problem, I look over the mentioned:
the guys at directadmin came the rescue and gave me this solution,

"Hello,

Check your /var/log/exim/mainlog

tail /var/log/exim/mainlog
and I found entries like this:
Code:
2009-02-17 22:16:28 1LZVQi-0000wB-38 Failed to create spool file /var/spool/exim/input//1LZVQi-0000wB-38-D: Permission denied


what is wrong and how to solve it?
Waiting patiently for reply!
 
Code:
chown -R mail:mail /var/spool/exim
caused by a previous version of exim being installed, before DA.

John
 
Back
Top