HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Advice Please - Virtual Users And Domains With Postfix, Courier, MySQL, SQMail Ubuntu (http://www.howtoforge.com/forums/showthread.php?t=30432)

TomT 19th January 2009 00:21

Advice Please - Virtual Users And Domains With Postfix, Courier, MySQL, SQMail Ubuntu
 
Hi

Currently my Mail Server is Mercury32 on a Windows 2003 Server, with ClamAv, SpamHalter, Content and Transaction Filtering.

I've followed this HowTo :
http://www.howtoforge.com/virtual-us...ail-ubuntu8.10

and now have Postfix, Courier, MySQL, SquirrelMail, SMTP-AUTH, TLS , Quota, Amavisd, SpamAssassin and ClamAV installed.

All went quite well apart from 2 typo's from me :rolleyes:
I've installed this in a virtual Ubuntu 8.10 desktop edition.

I'm currently waiting for DNS entries to update on an old domain I have to test this properly, but things are looking OK at the moment.

Seems to be working well, but I have a couple of questions..

1. How do I tell if ClamAV is up to date ? How do I get FreshClam to update daily.

2. Can I add more DNSBL entries to either PostFix or SpamAssassin ?

3. Is it possible to block hosts who don't have properly formed domain name in the ehlo/helo ? But have a couple of exceptions (for family) ?

4. Is there any way to have the system move 'spam' or potential spam to another user for checking through later ?

5. Any way to monitor all the logs in a simpler way ? using System Log shows lots of info, but most of it is mixed in with other entries.

Thanks :)

falko 19th January 2009 14:38

Quote:

Originally Posted by TomT (Post 165194)
1. How do I tell if ClamAV is up to date ? How do I get FreshClam to update daily.

AFAIK freshclam is updating daily. I think you can configure this in freshclam.conf.

Quote:

Originally Posted by TomT (Post 165194)
2. Can I add more DNSBL entries to either PostFix or SpamAssassin ?

3. Is it possible to block hosts who don't have properly formed domain name in the ehlo/helo ? But have a couple of exceptions (for family) ?

Take a look here: http://www.howtoforge.com/block_spam..._level_postfix
I'm not sure if exceptions are possible.

Quote:

Originally Posted by TomT (Post 165194)
4. Is there any way to have the system move 'spam' or potential spam to another user for checking through later ?

You can specify a quarantine user in the amavisd configuration.

Quote:

Originally Posted by TomT (Post 165194)
5. Any way to monitor all the logs in a simpler way ? using System Log shows lots of info, but most of it is mixed in with other entries.

The mail logs are in /var/log/mail.log.

TomT 19th January 2009 15:28

Thanks for the reply.

Do you know where the default locations for clam.conf / freshclam.conf are ??

Also where amavisd conf is ?

Thanks again.

TomT 20th January 2009 01:45

I've found the conf files thanks.

Quick question is this setup using clamav or clamd ?

How easy would it be to make it use clamd ?

I've installed SafeSquid and that can use clamd as well.
Thanks

falko 20th January 2009 21:14

It's using clamd. :)

TomT 20th January 2009 21:27

Ahh.. :confused:#

How can I tell what port it is running on ?

Also is there anyway to get more logging output from amavis-new or clamd ?

Whilst I'm testing this it would be nice to see a lot more detail on anything that has been scanned and/or blocked.

Just need to work out how to add the exceptions to Postfix.. Hopefully that can be done.

Thanks

falko 21st January 2009 14:27

I'm not sure if you can put amavisd and/or clamd in debugging mode. If it is possible, there should be something mentioned about it in the configuration files.

TomT 21st January 2009 16:13

Thanks for the reply.

How do I check clamd is running ?
doing netstat -tap doesn't show any ports in use by clamd !!

falko 22nd January 2009 15:22

Try
Code:

ps aux


All times are GMT +2. The time now is 15:44.

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