On Friday 24 December 2004 09:55, matice@nic.fi wrote:
Hello
is there a howto out there or some sort of instructions or tips that you could provide that could explain how to convert the default settings of the suse 9.1 and 9.2 systems to use MailDir instead of MBOX.
i need to setup my system for multiple domains and include anti-spam/virus features but they appearently require the usage of MailDir instead of MBox. No, the antivirus/spam scanning happens before the mail gets put in a mailbox, so the mailbox format is irrelevant. Check out the YaST2 module for mail,
One of two ways: 1. In /etc/postfix/main.cf (you are using postfix, aren't you?) add/edit the following line to look like: home_mailbox = Maildir/ The forwardslash at the end is important. 2. Let postfix hand the mail to procmail, and setup procmail to dump it in Maildirs. This gives you the advantage of being able to setup filters and all sort of funky sorting through procmail. In /etc/postfix/main.cf, do: mailbox_command = /usr/bin/procmail -a "$EXTENSION" and then, in /etc/procmailrc, do: DEFAULT=$HOME/Maildir/ LOGFILE=/var/log/procmail.log VERBOSE=on there's a switch to enable scanning mail with Amavis. Enable that, install Clam and Antivir (Both catch virusses the the other one don't, in my experience), install spamassassin. Then, I would suggest getting the default /etc/amavisd.conf file from SUSE 9.1, as it is more complete than the default one from 9.2 (anybody know why?). You can edit that to your liking. -- Kind regards Hans du Plooy Newington Consulting Services hansdp at newingtoncs dot co dot za