Hi
I have decided to move away from my hosting plan at ISP, and have my own server
host my emails, website, etc. I have a Fix IP, so I went ahead and installed
all thats needed for Exim4, and ClamAV antivirus.
I am having some trouble. I am able to connect to my Mailbox through Courier
IMAP from a distant locations, but when I try to send, it never leaves my
inbox, it complains both in Outlook and in the Exim4 logs under /var/log/exim4/
This is what I get in Outlook:
An unknown error has occurred. Subject 'Test', Account: Domainname, Server:
Servername, Protocol: SMTP, Server Response: '451 Temporary local problem -
please try later', Port: 25, Secure(SSL): No, Server Error: 451, Error Number:
0x800CCC6A
And this is from the exim4 log:
2006-11-28 21:56:23 1GpA07-0001CS-Cq malware acl condition: clamd: unable to
connect to UNIX socket /var/run/clamav/clamd.ctl (No such file or directory)
2006-11-28 21:56:23 1GpA07-0001CS-Cq H=(HostnameOfPC-Sending)
[IP-of-Sending-PC] F=<ORIGINATING-EMAIL-ADDRESS <mailto:[EMAIL PROTECTED]> >
temporarily rejected after DATA
And when I send an email to my server, I get the following error on exim4:
2006-11-28 22:00:04 1GpA3g-0001Cf-BA malware acl condition: clamd: unable to
connect to UNIX socket /var/run/clamav/clamd.ctl (No such file or directory)
2006-11-28 22:00:04 1GpA3g-0001Cf-BA H=(Sending-Email-Server)
[IP-Of-Sending-PC] F=<Senders Email Address> temporarily rejected after DATA
This is my Exim4's config file (update-exim4.conf.conf)
dc_eximconfig_configtype='internet'
dc_other_hostnames=HOSTNAME=FQDN
dc_localdelivery='maildir_home'
dc_local_interfaces='192.168.0.2'
dc_readhost=''
dc_relay_domains=FQDN
dc_minimaldns='false'
dc_relay_nets='192.168.0.0/24'
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname=''
dc_mailname_in_oh='true'
And here is the config for ClamAV, as I can see the errors originate with some
complaints regarding ClamAV:
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket
User clamav
AllowSupplementaryGroups
ScanMail
ScanArchive
ArchiveMaxRecursion 5
ArchiveMaxFiles 1000
ArchiveMaxFileSize 10M
ArchiveMaxCompressionRatio 250
ReadTimeout 180
MaxThreads 12
MaxConnectionQueueLength 15
LogFile /var/log/clamav/clamav.log
LogTime
LogFileMaxSize 0
PidFile /var/run/clamav/clamd.pid
DatabaseDirectory /var/lib/clamav
SelfCheck 3600
ScanOLE2
ScanPE
DetectBrokenExecutables
ScanHTML
ArchiveBlockMax
And this is part of sa-exim.conf that I configured:
# Exim configuration string to run before running SA against the message
# This decides whether SA gets run against the message or not. This
# default will not reject messages if the message had SA headers but
# they weren't added by us.
SAEximRunCond: ${if and {{def:sender_host_address} {!eq {$sender_host_address}{1
27.0.0.1}} {!eq {$h_X-SA-Do-Not-Run:}{Yes}} } {1}{0}}
# Remove or comment out the following line to enable sa-exim
# SAEximRunCond: 1
All these came from a very nice site I found on the internet based on which I
set up the system:
http://koivi.com/exim4-config/
When I send an email from the Console using:
echo | mail -s "Hello" [EMAIL PROTECTED]
I get a successful send, and the following shows up in the Exim4 log:
2006-11-28 22:07:42 1GpAB4-0001Dl-P7 SA: Debug: SAEximRunCond expand returned:
'0'
2006-11-28 22:07:42 1GpAB4-0001Dl-P7 SA: Action: Not running SA because
SAEximRunCond expanded to false (Message-Id: 1GpAB4-0001Dl-P7). From <MYEMAIL
<mailto:[EMAIL PROTECTED]> > (local) for RECEIVERSEMAIL <mailto:[EMAIL
PROTECTED]>
2006-11-28 22:07:42 1GpAB4-0001Dl-P7 <= MYEMAIL <mailto:[EMAIL PROTECTED]>
U=bfrank P=local S=531
2006-11-28 22:07:48 1GpAB4-0001Dl-P7 failed to open database lock file
/var/spool/exim4/db/retry.lockfile: Permission denied (euid=102 egid=102)
2006-11-28 22:07:49 1GpAB4-0001Dl-P7 failed to open database lock file
/var/spool/exim4/db/wait-remote_smtp.lockfile: Permission denied (euid=102
egid=102)
2006-11-28 22:07:49 1GpAB4-0001Dl-P7 => RECEIVERSEMAIL <mailto:[EMAIL
PROTECTED]> R=dnslookup T=remote_smtp H=RECEIVERSMAILSERVER [RECEIVERSIP]
2006-11-28 22:07:49 1GpAB4-0001Dl-P7 Completed
Is there anything obvious I am doing wrong? I am a beginner, so please dont
beat me up if its ridiculous :)
Thanks
Ben
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/