Prev Previous Post   Next Post Next
  #1  
Old 14th July 2007, 20: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:
Code:
[root@HostBlade ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 HostBlade.example.com ESMTP Exim 4.66 Sat, 14 Jul 2007 18:51:28 +0100
helo test
250 HostBlade.example.com Hello localhost [127.0.0.1]
mail from: <nobody@howhere.com>
250 OK
rcpt to: <postmaster@example.com>
250 Accepted
data
354 Enter message, ending with "." on a line by itself
From: nobody@howhere.com
To: postmaster@example.com
Subject: a test mail

testing

.
451 Temporary local problem - please try later
So I check Exim main.log:
Code:
[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) [127.0.0.1] F=<nobody@howhere.com> 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
Code:
exim:x:93:93::/var/spool/exim:/sbin/nologin
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
 

Bookmarks

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 12:20
Exim Arricc Tips/Tricks/Mods 3 28th November 2006 22:22
Change MTA from Postfix to Sendmail in ISPConfig denmaus Installation/Configuration 8 10th July 2006 13:01
MTA Postfix, Courier, etc signature16 Server Operation 2 1st July 2006 12:35
Help understanding how mail server should be setup micko_escalade Server Operation 51 12th February 2006 07:25


All times are GMT +2. The time now is 19:59.


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