> I just tried using exim as an unpriviledges, non-daemon MTA, and it
> seemed to work. (I need this to set up an automated testsuite for an
> email transmogrifier.) I have an alternate configuration file that I
> ask exim to use with "-C $HOME/blah/exim.conf". It tells exim to listen
> on port 8025, but since I never tell exim to start as a daemon (-bd),
> I'm not sure if it ever really listens.
>
> With that configuration file, I can still use exim with the
> sendmail-esque interface. Might still need to wrap it with a shell
> script to inject the "-C blah/exim.conf". Then, to do the actual
> delivery, you could run "$HOME/bin/exim -q" every N minutes, from your
> crontab.
>
> The important changes to exim.conf seem to be:
> --- conf/exim/exim.conf.in 2007-11-16 11:34:53.000000000 +0200
> +++ conf/exim/exim.conf.desktop.in 2007-11-16 11:35:07.000000000 +0200
> log_selector = +sender_on_delivery +smtp_confirmation
> message_size_limit = 32M
> preserve_message_logs = false
> +exim_user = @userid@
> +exim_group = @groupid@
> +log_file_path = @localstatedir@/log/exim_%s
> +spool_directory = @spooldir@/exim
> +daemon_smtp_port = 8025
>
> begin acl
Thanks a heap for this. I'm still leaning towards this option, unless someone
comes up with a good solid reputable smtp binary.
> I don't know how you would arrange for failure notification.
Does someone else have some ideas on this? I notice in the manual there is stuff
about retry rules or something, but I'm not sure how it all works. Is it possible
to get failure notices sent to a local file or something? Can messages be left in
a queue or saved to files for easy retry if desired? Presumably default 4-hourly
or whatever retries need to be turned off and some other kind requested instead.
Cheers,
Ben.
Send instant messages to your online friends
http://au.messenger.yahoo.com