Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th January 2009, 23:21
TomT TomT is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
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
Reply With Quote
Sponsored Links
  #2  
Old 19th January 2009, 13:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by TomT View Post
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 View Post
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 View Post
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 View Post
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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 19th January 2009, 14:28
TomT TomT is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply.

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

Also where amavisd conf is ?

Thanks again.
Reply With Quote
  #4  
Old 20th January 2009, 00:45
TomT TomT is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #5  
Old 20th January 2009, 20:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

It's using clamd.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 20th January 2009, 20:27
TomT TomT is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ahh.. #

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
Reply With Quote
  #7  
Old 21st January 2009, 13:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 21st January 2009, 15:13
TomT TomT is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply.

How do I check clamd is running ?
doing netstat -tap doesn't show any ports in use by clamd !!
Reply With Quote
  #9  
Old 22nd January 2009, 14:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Try
Code:
ps aux
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

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
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04 superman HOWTO-Related Questions 3 23rd October 2008 09:19
Virtual Users And Domains With Postfix, Courier, MySQL...Ubuntu 8.04 glennv HOWTO-Related Questions 5 14th June 2008 11:54
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail Ubuntu 8.04 paulodani HOWTO-Related Questions 7 4th June 2008 00:46
fetchmail Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 7.10) c0mputernick HOWTO-Related Questions 4 31st January 2008 15:28
Virtual Users And Domains With Postfix, Courier And MySQL - "apt-get" and Courier burritonator HOWTO-Related Questions 3 15th March 2006 20:11


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


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