>       - I've got 2 qmail servers, one co-located and one 
> internal to my company, with dial-up connection.
>       - Both think they are *.scim.net MX
>       - Upon dial-up connection, the internal server uses fetchmail to
> download mail for local users and I send an ALRM signal to 
> qmail-send. 
... 
>       what I want it to do is:
>       - route all the 'remote' mail to the online server.
>       - the remote server should RELAY those mail, but ... 
> only from me (don't really want to be an open relay). But
> hey! I'm on a dial-up acc -> dynamic ip ... 
> 
>       I really think it *should* be possible to 'route' all my traffic
> through the co-located server, but can I keep it from being an open
> relay? 

        On internal.scim.net, your smtproutes should contain the following:

:external.scim.net

        That way, all domains not local will be forwarded to
external.scim.net for relay.  external.scim.net must allow selective
relaying; if you're using tcpserver, then add the IP address of
internal.scim.net followed by ':allow,RELAYCLIENT=""' into /etc/tcp.smtp and
type 'tcprules /etc/tcp.smtp.cdb /tmp/tcp.tmp < /etc/tcp.smtp'  (This is
paraphrasing Michael Samuel's detailed "How to selective relay" instructions
at http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html, which
seems to be not responding right now.


-- 
        gowen -- Greg Owen -- [EMAIL PROTECTED]

Reply via email to