On Thu, Jan 17, 2002 at 10:00:29AM +0100, Phil Pennock wrote:
> On 2002-01-17 at 04:42 +0300, Alexey Promokhov wrote:
> > My ISP have a buggy smtp, so I want to use relay of my hosting
> > provider as smarthost. But they are require me to authentificate at
> > their POP server before relaying. Is there a way to do it with exim?
> > Or maybe I can run some external program (fetchmail, for example)
> > before delivering with smtp transport?
> A good place to look for information, after the Specification, is the
> FAQ.
I believe that you've got this guy wrong, Phil. If I'm right, I can't see
the question he *is* asking in the FAQ. What he seems to be asking is:
How do I invoke a program before attempting to do any SMTP deliveries to
my smarthost, as my *upstream* does POP-before-SMTP?
I guess you could do it with some kind of clever driver, or hacking at
the smtp transport (a quick scan of the options for the smtp transport
doesn't show anything useful)
One other thing you could do is to do everything in queue-only mode, and
then instead of running sendmail -q<time> you force a queue-run from
something like cron, (perhaps predicated on the existence of your a file
created when the link comes up). If you do this, then you can make sure
that fetchmail is invoked first by cron.
Alternatively, complain to your provider, who should have their own dialup
pool in the list of addresses allowed to relay.
MBM
--
Matthew Byng-Maddick <mbm@???> http://colondot.net/