On Wed, 17 Jan 2001, Dean Staff wrote:
>
> I setup my 4.1b3 box to accept mail for any of the other servers on
> my local network and then relay internally to them. I did this by
> editing the smtpd_check_rules template. (Peter, I did this instead of
> using the delegate mail server option on the web interface, because I
> needed local delivery too) And was very surprised at how easy it was
> to figure out. I take back all the nasty things I said about
> switching to obtuse-smtp. (OH wait, those comments were only muttered
> under my breath ;-) )
Boy do you breathe loudly :)
> The only reason I mention this is because I got lazy and rebooted
> after editing the template to make it take effect, but it didn't. I
> had to force a consol-save signal-event for the changes to take
> effect. Is this a bug? With 4.0.1 I was under the impression that
> rebooting forced all templates to be run.
How did you make the change? You should have created
/etc/e-smith/templates-custom/var/spool/smtpd/etc/smtpd_check_rules/
Then in that directory, created your rules with the appropriate file
names, eg
17local-rules-hacked-by-dean
and then run
/sbin/e-smith/expand-template /var/spool/smtpd/etc/smtpd_check_rules
Then the next time smtpd was started, it would have honoured your new
rules.
--
Regards
Peter
----------
Peter Samuel [EMAIL PROTECTED]
http://www.e-smith.org (development) http://www.e-smith.com (corporate)
Phone: +1 613 368 4398 Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada
"If you kill all your unhappy customers, you'll only have happy ones left"