May 30, 2005

 Creating Mailing Lists in Exim

You can create a mailing list in Exim that is aliased to a group name. If users send to that particular group name, all the members of that group will recieve an email. Should users reply to this email, it will be sent to all the users in that group as well.

This can be easily done by doing the following:

- create the directory: /usr/local/atmail/mailserver/lists
- in that directory, create a file under the group name that you want (i.e., foo-group), and have it contain email-addresses in the following format:

user1@domain.com
user2@domain.com
user3@domain.com

- add the following line in /usr/local/atmail/mailserver/configure, under the dnslookup router:

lists:
 driver = redirect
 domains = groupdomain.com
 more = false
 file = /usr/local/atmail/mailserver/lists/$local_part
 skip_syntax_errors
 forbid_pipe
 forbid_file

- where groupdomain.com is the domain the groupname will be in.
- restart the @Mail services:

% /etc/init.d/atmailserver restart

This should then have Exim send emails to all the users in /usr/local/atmail/mailserver/lists/foo-group if the user foo-group@domain.com is emailed. Should you want to add more users to the group, just edit the /usr/local/atmail/mailserver/lists/foo-group file.


Filed under: Exim — John Contad @ 7:49 am

 

May 23, 2005

 Splitting the Exim Spool

Sometimes, your Exim spool directory can contain more than a thousand files - something that can degrade the Linux filesystem's performance greatly.

This can be remedied easily by adding the following to your /usr/local/atmail/mailserver/configure file:

split_spool_directory

Basically, this setting creates 62 subdirectories for your Exim spool - prefixed by uppercase and lowercase alphanumeric characters and digits. The spool contents are distributed according to the sixth letter of their message ID. For example, the message:

1DZum6-0000KE-Jj-D 

Will get moved to the input/6 directory.

Note though, that this is only recommended for large installations. Small installations with low-volume emails will suffer a minimal performance hit when this is activated.


Filed under: Exim — John Contad @ 3:51 am

 

May 17, 2005

 Auto-updating SpamAssassin Rules

A nifty script called "Rules Du Jour" can be used to automatically update your SpamAssassin rulesets. This automatically downloads newer rulesets if they are available, then lints SpamAssassin so it can be used properly.Installing this script is pretty easy. Just run through the following steps:

(more...)


Filed under: Anti-Virus — info @ 6:52 am

 

 “RPC: Program not registered” Errors o

When mounting via NFS on a FreeBSD machine, and you get the following error:

nfsd: RPCPROG_NFS: RPC: Program not registered

This basically hints at some misconfiguration issues with your /etc/exports file. FreeBSD has a different export configuration schema than vanilla Linux distributions, and could cause some problems if the two were interchanged.

(more...)


Filed under: Applications — info @ 6:16 am