Re: using exim for simple mail delivery
David wrote:
> There is support for multiple user mailboxes controlled by prefixes or
> suffixes on the user name, either via the filter mechanism or through
i> multiple .forward files.
Exim (or at least 3.35) can distribute mail to different mailboxes. If
I understand some of the posters in this thread, they have stated that
you cannot, but this is what I'm doing. You will find this info in the
file "filter.txt.gz" in /usr/share/doc/exim. It could well be that
using exim for a single-user account is overkill, but it works.
I've got exim_3.12 installed and on the first glimpse - this version
seems to have
at least in this case the same features.
Why would exim be a overkill for a single user account?
After reading some hours the documentary I have the impression
Mutt needs a MTA to at least manage the queing and send the mail out.
I can't quite follow Jens in his arguments. He says using a MTA for
a non-permanent internet connection would be overkill.
Pat has posted some very nice commentary in this thread and on the
first look this seems to be the configuration very many
debian users use too.
Your posting actually was exact what I asked for:
FWIW, here's my .forward file as a sample..
The first commented line _MUST_ be the present on the first line for it
to work (actually all that's needed are the string "Exim filter"
--------------- cut ----------------
# Exim filter <<== do not edit or remove this line!
# Forward debian files
## This could be done better by filtering on some mailinglist line, but
## I've not bothered to change it.. a few messages slip by that are not
## addressed to or cc'ed to the lists.#.debian.org
if $h_to contains lists.debian.org or $h_cc contains lists.debian.org
then
if $h_to contains debian-user or $h_cc contains debian-user then
save Muttmail/Debian/user
elif $h_to contains debian-firewall or $h_cc contains debian-firewall then
save Muttmail/Debian/firewall
elif $h_to contains debian-kde or $h_cc contains debian-kde then
save Muttmail/Debian/kde
elif $h_to contains debian-news or $h_cc contains debian-news then
save Muttmail/Debian/debian/news
elif $h_to contains debian-security or $h_cc contains debian-security then
save Muttmail/Debian/security
elif $h_to contains debian-announce or $h_cc contains debian-announce then
save Muttmail/Debian/announce
endif
finish
endif
if $sender_address: contains "exim-users-admin@exim.org"
then
save Muttmail/exim-users
endif
--------------- cut --------------------
....and I'm wondering why the users on this list recommended
using procmail? Actually - at which point should I start having a look
at procmail having in mind that exim has some MDA features?
Would someone kindly clarify?
Robert
Reply to: