Carl wrote:

>> @bypass_spam_checks_maps  = (1);  # uncomment to DISABLE anti-spam code

> OK, so that doesn't influence amavis' internal spamchecks, and is only
> related to SA?

Amavisd-new has no internal "spam" checks so this will disable "spam"
checking. It will still allow the other three types of checks to be
performed: virus, banned files and bad header checks. While I believe
there is code to call programs other than SA for spam checking I would
not be able to provide a working example. Sorry, maybe someone else
might.

>> Is your server going to relay mail to other servers or is it going to
>> store mail locally? If local, how many mailboxes are you talking about?

> 14 users in total, all locally.

If you are using Unix accounts, then read the section "minimal Postfix
configuration": http://www200.pair.com/mecham/spam/fc5-maia.html
This sets up Postfix for mbox delivery to /var/mail/ for one domain.
If you would instead like to use maildir then you could add:
home_mailbox = Maildir/
(which one you use depends on your pop3/IMAP software). This is just a
starting point however. Postfix anti-UCE controls should really be
studied and understood before you apply them. Here is a start:

smtpd_helo_required = yes

smtpd_sender_restrictions =
  check_sender_access hash:/etc/postfix/sender_access,
  reject_non_fqdn_sender,
  reject_unknown_sender_domain

smtpd_recipient_restrictions =
  permit_mynetworks,
  reject_unauth_destination

smtpd_data_restrictions = reject_unauth_pipelining

If you want to use virtual_mailbox_domains instead of simple unix
accounts then things would get considerably more complex.
http://www.postfix.org/VIRTUAL_README.html

>> Well, it works fine if postfix uses postfix, amavisd-new uses amavis (or
>> vscan), clamd uses clamav (for example). In other words each program has
>> a unique user assigned to it.

> Unfortunately I found out it did not work fine, clam needed amavis, amavis
> needed clam, I needed to at least change group permissions on some folders,
> and not knowing why is a pain for me.

The degree of difficulty setting up clamd is somewhat dependent on the
packages (the Fedora package for example drove me absolutely nuts).
There was a hugh flaming thread on the ClamAV list over that package.
I have used the DAG packages in the past and found them to be quite
logical. The howto I referenced above shows how I prefer to install
clamd on a Fedora system - from source. It also gives some config
samples (but they are quite customized for my install).

Gary V


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to