Christoph Hertel <[EMAIL PROTECTED]> wrote:
>
> I have a little computer here and dial up to a lot of different ISPs.
> The given IPs are on the MAPS DUL and my smtp-server (at the moment
> exim, maybe soon qmail) can't get rid of some of my mail (I don't use a
> smarthost).
If you're on dial-up, perhaps qmail (and other "real" MTAs) are not the
best solution. You may want to consider a relay-only MTA like
nullmailer.
> One solution would involve a script which changes the smarthost setting
> in the smtp-server-config everytime I dial up (the smarthost will be the
> smtp-server of the chosen ISP). This has a few drawbacks: convenience
> (ISPs are changed quite often) and no guarantee of success (with all the
> smtp-after-pop and other mysterious ISP-smtp-server settings).
ISP smart relays do not require SMTP-after-POP authentication from addresses
they control (their dialup pools, etc). If they did, 80% of their
customers would be unable to send mail properly, and they'd fix it right
quick.
The right solution here is always use your ISP's smarthost. That's what it's
for, and it will keep your mail from being marked as spam, refused, or outright
dropped on the floor by those servers which consult the DUL.
> The other solution would involve qmail (yeah, finally): From a friend I
> heard about 'smtp routes' being the solution (apologies to that friend,
> if I misunderstood, it wasn't the only topic). But as far as I
> understood the docs, it's something about an alternative to the DNS and
> using qmail without it.
If you decide to use qmail, then have a script which executes when you connect
to an ISP which does the following:
-`echo ":1.2.3.4" >/var/qmail/control/smtproutes
-start qmail
and another which automatically stops qmail when you disconnect from the ISP.
Replace 1.2.3.4 with the IP address of the ISP's smarthost. This will cause
all your remote deliveries to be relayed through the ISP's smarthost.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------