I believe putting the following in /var/qmail/control/smtproutes should
do the magic.

:your.isp.relay.server


>From man qmail-remote
<--------
       smtproutes
            Artificial SMTP routes.   Each  route  has  the  form
            domain:relay,  without  any  extra spaces.  If domain
            matches host, qmail-remote will connect to relay,  as
            if  host  had  relay  as  its only MX.  (It will also
            avoid doing any CNAME lookups on  recip.)   host  may
            include  a  colon and a port number to use instead of
            the normal SMTP port, 25:

               inside.af.mil:firewall.af.mil:26

            relay may be empty; this tells qmail-remote  to  look
            up MX records as usual.  smtproutes may include wild­
            cards:

               .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.

            The qmail system does not protect you if  you  create
            an  artificial  mail loop between machines.  However,
            you are always safe using smtproutes if  you  do  not
            accept mail from the network.
-------->

----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to