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

Discussion in 'HOWTO-Related Questions' started by TomT, Jan 18, 2009.

  1. TomT

    TomT New Member

    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 :)
     
  2. falko

    falko Super Moderator Howtoforge Staff

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

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

    You can specify a quarantine user in the amavisd configuration.

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

    TomT New Member

    Thanks for the reply.

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

    Also where amavisd conf is ?

    Thanks again.
     
  4. TomT

    TomT New Member

    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
     
  5. falko

    falko Super Moderator Howtoforge Staff

    It's using clamd. :)
     
  6. TomT

    TomT New Member

    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
     
  7. falko

    falko Super Moderator Howtoforge Staff

    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.
     
  8. TomT

    TomT New Member

    Thanks for the reply.

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

    falko Super Moderator Howtoforge Staff

    Try
    Code:
    ps aux
     

Share This Page