Andrew Hodgson wrote:
>
> Hi,
>
> First of all I am using 5.6, and even if that was a glitch, I
> can't see after reading the man pages how that would produce
> the right command for fetchmail. The command should be
> (simply)
> /usr/bin/fetchmail --protocol ETRN --fetchdomains yourdomain
> etrnhost.domain.com.
"/usr/bin/fetchmail --syslog $verbosity --protocol ETRN --smtphost '\@$DomainName' $SecondaryMailServer > /dev/null 2>&1" is what that script will produce in the config file (with $verbosity, '\@$DomainName' and $SecondaryMailServer pulling their respective values from the configuration databse). Looks like the syntax may have changed a bit from 5.5 (smtphost vs. fetchdomains), but other than that the only difference is the --syslog.
> How do I alter this template, do I need to copy it back to
> the custom templates directory:
> /etc/e-smith/templates-custom/etc/fetchmail/50etrn? Also, is
> there a command to make the system see the new template? If
> there is a web page on customising templates I would be
> grateful, although I have made the relevant customisation
> already.
http://www.e-smith.org/custom/, linked from the front page of e-smith.org.
> Also, another thing I don't like is that it assumes that the
> virtual domains are going to be picked up by etrn also, which
> may not be the case.
Edit it out of your custom template then. That's what it's there for. =)