[vchkpw] routing of outgoing messages

2003-07-29 Thread Rudi Ahlers
Hi again

I hope someone can shed some light on this topic. I have an ISDN dailup
connection, with a FBDS + qmail + vpopmail + mysql box on my LAN. When I
send emails to local users, all is fine. But, when I send email to
www.webmail.co.za, I get the following message:

Knocky qmail: 1059263981.990167 delivery 7: deferral:
Connected_to_196.35.40.11_but_greeting_failed./Remote_ho
st_said:_553_Your_IP_address_196.22.188.100_is_blackholed_by_dnsbl.njabl.org
._/

My internal LAN is on the 192.168.0.0 IP range, and I send email to my
server (192.168.0.250), which then directly sends it out on the net.
Is there a way to deliver local mail locally, and all other mail to my
upstream ISP?
As per the FAQ, I have to add my upstream mail server address, and then
disable local delivery (hash it out in /etc/inetd), but then it doesn't run
at all.

Any ideas?



Kind Regards
Rudi Ahlers
Océ Software Support
+27 (11) 661-9000

The basic difference between an ordinary man and a warrior is that a
warrior takes everything as a challenge while an ordinary man takes
everything either as a blessing or a curse.






Re: [vchkpw] routing of outgoing messages

2003-07-29 Thread Peter Palmreuther
Hi Rudi,

On Tue, 29 Jul 2003 09:44:51 +0200 Rudi Ahlers wrote:

 Is there a way to deliver local mail locally, and all other mail to my
 upstream ISP?

,--- [ man qmail-remote ]
| smtproutes
|  Artificial SMTP routes.
|  [...] smtproutes may include wildcards:
|
| .af.mil:
| :heaven.af.mil
|
|  Here any address ending with .af.mil (but not af.mil itself) is
|  routed by its MX records; any other address is  artificially  routed to
|  heaven.af.mil.
`---

Everything not in 'locals' and 'virtualdomains' will be looked up in
'smtproutes' for special remote delivery instructions.

So simply put

:my.isps.smtp.server.net

in /var/qmail/control/smtproutes and you should be done.
-- 
Ciao,
 Pit