I have been trying to use fetchmail's "interface" to control what
configuration for a given host is used. So that I can use different
limits when running over ppp (usually 9.6Kb/s) and when on faster
networks(10/100Mb/s).
so far all I have accomplished is a:
Mar 2 13:06:15 trylle fetchmail[8842]: Unknown login or authentication error
on larsbj(_at_)domain
Mar 2 13:06:15 trylle fetchmail[8842]: socket error while fetching from domain
the config looks like this:
poll some.host with proto IMAP auth ssh:
plugin "ssh %h /usr/sbin/imapd";
user 'larsbj' there is larsbj here options warnings 3600
antispam 571 550 501 554
(this works.)
If I add interface:
poll some.host with proto IMAP auth ssh interface ppp0/0.0.0.0/0.0.0.0:
plugin "ssh %h /usr/sbin/imapd";
user 'larsbj' there is larsbj here options warnings 3600
antispam 571 550 501 554
it stops working with the above message.
Tia,
Lgb