Exim receiving problem - error 550

Associate
Joined
27 Apr 2004
Posts
2,377
I've finally got around to setting up a mail server on my Debian Etch box today, using this as my guide: http://koivi.com/exim4-config/

I can connect through Outlook via IMAP fine to check for new mail, so Courier is working fine. However I've got one "minor" problem in that Exim isn't allowing any incoming mail! I sent a test message from my G-Mail account and got this delivery failure message:
PERM_FAILURE: SMTP Error (state 9): 550 relay not permitted
Any ideas how I can fix this?

Thanks, null :)
 
Nope, 250 accepted. I think I might have unknowingly fixed the original problem at some point earlier before starting this thread, but mail is still not getting through; presumably it's accepted by Exim but then getting lost somewhere in the system.

220 server.mydomain.tld ESMTP Exim 4.63 Sun, 15 Oct 2006 18:47:12 +0100
mail from:<[email protected]>
250 OK
rcpt to:<[email protected]>
250 Accepted
I also tried this on the server:
exim4 -v [email protected]
From: [email protected]
To: [email protected]
Subject: Testing exim

Testing exim
.
And the above message appeared in my inbox, checked from Outlook via IMAP. Not sure what use that is but thought I'd mention it.

Thanks for the help, null :)
 
2006-10-15 20:54:59 1GZC4Z-0005Ox-4L malware acl condition: clamd: unable to connect to UNIX socket /var/run/clamav/clamd.ctl (Connection refused)
2006-10-15 20:54:59 1GZC4Z-0005Ox-4L H=nf-out-0910.google.com [64.233.182.191] F=<[email protected]> temporarily rejected after DATA
2006-10-15 20:55:11 1GZC4l-0005T4-Mv malware acl condition: clamd: unable to connect to UNIX socket /var/run/clamav/clamd.ctl (Connection refused)
2006-10-15 20:55:11 1GZC4l-0005T4-Mv H=nf-out-0910.google.com [64.233.182.184] F=<[email protected]> temporarily rejected after DATA
Thanks again, null :)
 
Yes it's installed, and all set up as described by the guide, however, it seems it doesn't want to run properly - calling /etc/init.d/clamav-daemon restart returns this:
Stopping ClamAV daemon: clamd/etc/init.d/clamav-daemon: line 75: kill: (-29261) - No such process
failed!
Starting ClamAV daemon: clamd.
If I then try restarting it again, immediately after, it returns the same.

Thanks for the help, null :)
 
Got this which looks like something to do with Clam:
clamav 29100 0.0 0.5 5420 1356 ? Ss 14:08 0:00 /usr/bin/freshclam -p /var/run/clamav/freshclam.pid -d --quiet
That right or not?

Thanks, null :)

edit: Looked at /var/log/clamav/clamav.log and these are the last few lines:

Sun Oct 15 22:27:55 2006 -> +++ Started at Sun Oct 15 22:27:55 2006
Sun Oct 15 22:27:55 2006 -> clamd daemon 0.88.4 (OS: linux-gnu, ARCH: i386, CPU: i486)
Sun Oct 15 22:27:55 2006 -> Log file size limit disabled.
Sun Oct 15 22:27:55 2006 -> Running as user clamav (UID 106, GID 107)
Sun Oct 15 22:27:55 2006 -> Reading databases from /var/lib/clamav
Sun Oct 15 22:27:58 2006 -> Protecting against 73019 viruses.
Sun Oct 15 22:27:58 2006 -> WARNING: Socket file /var/run/clamav/clamd.ctl exists. Unclean shutdown? Removing...
Sun Oct 15 22:27:58 2006 -> ERROR: Socket file /var/run/clamav/clamd.ctl could not be removed: Permission denied
Sun Oct 15 22:28:24 2006 -> +++ Started at Sun Oct 15 22:28:24 2006
Sun Oct 15 22:28:24 2006 -> clamd daemon 0.88.4 (OS: linux-gnu, ARCH: i386, CPU: i486)
Sun Oct 15 22:28:24 2006 -> Log file size limit disabled.
Sun Oct 15 22:28:24 2006 -> Running as user clamav (UID 106, GID 107)
Sun Oct 15 22:28:24 2006 -> Reading databases from /var/lib/clamav
Sun Oct 15 22:28:26 2006 -> Protecting against 73019 viruses.
Sun Oct 15 22:28:26 2006 -> WARNING: Socket file /var/run/clamav/clamd.ctl exists. Unclean shutdown? Removing...
Sun Oct 15 22:28:26 2006 -> ERROR: Socket file /var/run/clamav/clamd.ctl could not be removed: Permission denied
 
Last edited:
I tried that but it didn't work so I just nuked the entire setup (i.e. removed config files aswell as removing the packages) and started again from scratch; it seems to be working now - the only other change is that my MX records now point to venus.piggott.me.uk instead of piggott.me.uk.

Thanks for all the help Garp :D

null :)
 
Back
Top Bottom