Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Dedicated server which i am using as a web and email server.
ATM I have a mail server using EXIm4 with courier. As my ISP wont allow me to send email from other domains I want to set up my server as an smtp server.
I dont know where to start though. anyone have any guides to doing this or any pointers how to start.
Problem is though that if I set clamav up to use root as the user emails get through. if i use the clamav user I get the follow messages in the panic log
2008-05-22 08:09:09 1Jz4vF-0004TT-Lp malware acl condition: clamd: unable to connect to UNIX socket /var/run/clamav/clamd.ctl (No such file or directory)
and the mainlog says
2008-05-22 08:09:09 1Jz4vF-0004TT-Lp malware acl condition: clamd: unable to connect to UNIX socket /var/run/clamav/clamd.ctl (No such file or directory)
2008-05-22 08:09:09 1Jz4vF-0004TT-Lp H=5ad1f586.bb.sky.com ([###.###.###.###]) [###.###.###.###] F=<email@address.com> temporarily rejected after DATA
nd the clamav log has this
Thu May 22 08:08:19 2008 -> Loaded 296390 signatures.
Thu May 22 08:08:19 2008 -> ERROR: Socket file /var/run/clamav/clamd.ctl could not be bound: Permission denied
I have set Clamav to be a member of the debian-exim group which has permissions on the var/run/clamav folder.
When i check as well clamd isnt running even when I try and start it:S but again if its set to user root it will connect :s
try a quick reboot. That might clear up the group permissions. Also check under the folder. Just because clamav is a member of debian-exim and has permissions to /var/run/clamav doesn't necessarily mean that the permission has replicated below that. So root , root my still have permissions to clamav.ctl
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.