Prev Previous Post   Next Post Next
Old 14th July 2007, 21:31
dazblade dazblade is offline
Junior Member
Join Date: Jul 2007
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
Default Exim MTA

I am currently using the excellent article "The Perfect Server - Fedora 7" to set up my Fedora 7 desktop as a server.

I am using exim as my MTA. Here is a test I just ran:
[root@HostBlade ~]# telnet localhost 25
Connected to localhost.
Escape character is '^]'.
220 ESMTP Exim 4.66 Sat, 14 Jul 2007 18:51:28 +0100
helo test
250 Hello localhost []
mail from: <>
250 OK
rcpt to: <>
250 Accepted
354 Enter message, ending with "." on a line by itself
Subject: a test mail


451 Temporary local problem - please try later
So I check Exim main.log:
[root@HostBlade ~]# tail -2 /var/log/exim/main.log
2007-07-14 18:53:42 1I9lnK-0004g9-Qd malware acl condition: clamd: unable to connect to UNIX socket /var/run/clamd.exim/clamd.sock (No such file or directory)
2007-07-14 18:53:42 1I9lnK-0004g9-Qd H=localhost (test) [] F=<> temporarily rejected after DATA
With regards to the "/var/run/clamd.exim/clamd.sock (No such file or directory)" part, if I actually create the file clamd.sock then the error changes to "unable to connect to UNIX socket /var/run/clamd.exim/clamd.sock (Permission denied)" and additonally the Clamd Log will state that "clamd.sock already exists, please remove it" - which is the reason I removed it to do the above test. I seem to be caught in some kind of paradox here, lol.

Additonally, I created a user called clamexim and set User clamexim in the clamd.conf file. Also, to overcome the permission denied with clamd.sock I CHOWNed it to clamexim.exim and I think the permissions where set to 711 so I have the following users in /etc/passwd
clamav:x:498:497:Clamav database update user:/var/lib/clamav:/sbin/nologin
clamexim:x:503:93:Clam Antivirus Scanner:/home/clamexim:/bin/bash
All help greatly appreciated.
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
Exim Arricc Tips/Tricks/Mods 3 28th November 2006 23:22
Change MTA from Postfix to Sendmail in ISPConfig denmaus Installation/Configuration 8 10th July 2006 14:01
MTA Postfix, Courier, etc signature16 Server Operation 2 1st July 2006 13:35
Help understanding how mail server should be setup micko_escalade Server Operation 51 12th February 2006 08:25

All times are GMT +2. The time now is 03:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.