![]() Marketplace:
|
EximThe default email server for Debian is exim. This can be set up in one of several ways, depending on how you will access your email. The exim configurator will list the options. The newer exim4 will become the default at some time and its configuration is somewhat simpler. To configure it:
For a machine connected to the Internet, receiving email via fetchmail, for example, and using a remote SMTP server to send email, the setup might be:
The file /etc/exim4/update-exim4.conf.conf contains the simple configuration information which is used to generate the more complex exim4 configuration files. Assuming you choose not to split the configuration file, the configuration file for manual editing is /etc/exim4/exim4.conf.template.
If you use Maildir formats that you want your local email to deliver
to you can change:
The file /etc/email-addresses can be used to generate a From: address for each user (so that the From address will not be the default of the user@host).
You can have exim4
rewrite email addresses by adding
something like the following two lines after the begin
rewrite:
Use exim -Mvh
If you have a bunch of frozen messages you want to remove, the
following command will do it:
Exim will not bounce emails if the original message looks like a
bounce. Instead the message is frozen, awaiting the SysAdmin's
attention. To bounce the message with a message to the original user,
and thereby removing it from the queue, use -Mg Some other tricks for managing the exim mail queue with exiqgrep include:
You can check other information with exinext, for example
to see when exim will try sending to gte.net again (assuming there is
an email in the queue for a user at gte.net:
(These examples thanks to Lanny Godsey.) Exim places its email in /var/spool/exim4/, each message has a common prefix with three files corresponding to the mail body, mail header, and exim data.
|
Marketplace: |
|||||||||||
| Facts: " Will journalling become prevalent in the Unix world at large? Probably not. After all, it's nonstandard. " | |||||||||||||
Tuesday 6 January 2009 12:50:30 1231246230