Re: having trouble getting mail
Charlie Summers <[email protected]> Tue, 02 Mar 2004 14:00:25 -0500
| Newsgroups | gmane.mail.smartlist.user |
|---|---|
| Message-ID | <v03130318bc6a8873bee4@[192.168.123.10]> |
At 1:20 PM -0500 3/2/04, Santiago Vila is rumored to have typed:
> Apparently the domain is the only variable that may not be set in
> rc.custom, I have yet to investigate why.
Of course it can. But you need to then re-set _other_ variables, since
they are based on its value, in something of a cascading fashion:
# rc.custom changes for different domain
domain=mynewdomain.tld
listmaster=listmaster@$domain # I cheat and hard-code this per-list
listaddr=$list@$domain
listreq=$list-request@$domain
listdist=$list-dist@$domain
sendmailOPT="-oem -odb -oi -om -f$listreq"
# end rc.custom changes for different domain
I do this routinely, running many domains out of one SmartLinst install. I
actually added (in commented fashion) the above to the top of
~/.etc/rc.custom, so newly-created lists have the data already included
should I need it.
Charlie