How do I setup mailertable functionality under Exim?
this is the proposed sendmail mailertable setup from Citadel Docs....
# not local -- try mailer table lookup
R$* <@ $+ > $* $: < $2 > $1 < @ $2 > $3 extract host name
R< $+ . > $* $: < $1 > $2 strip trailing dot
R< $+ > $* $: < $(mailertable $1 $) > $2 lookup
R< $~[ : $* > $* $>95 < $1 : $2 > $3 check -- resolved?
R< $+ > $* $: $>90 <$1> $2 try domain
This entry should look similar to yours, and should NOT be commented out. Be
sure that it's uncommented.
Add the entry for citadel to be a local mailer:
Search for Mlocal, in sendmail.cf. Add the following after the Mprog
section:
Mcitadel, P=/usr/local/citadel/citmail, F=lsDFMoqeu9S, S=10/30,
R=20/40,
D=$z:/, T=X-Unix, U=bbs,
A=/usr/local/citadel/citmail $u
Notice /usr/local/citadel is the path to Pixel's citadel home directory.
Replace this with your citadel's home dir.
Set up the mailertable itself: In the Kmailertable line above there was a
path to your mailertable. In this case it's /etc/mail/mailertable.db. For
this example that's the file we'll use. cd /etc/mail and edit mailertable.
(don't worry if there's no file there called mailertable. Simply create a
new one.) This is the mailertable for pixel:
bbs.pixel.citadel.org citadel:localhost
Please note that the whitespaces are tabs. You need one after bbs.mysite.org
and citadel:localhost.