Re: [vchkpw] Fallback MTA and vpopmail

2003-07-03 Thread Peter Palmreuther
Hi Jasper,

On Thu, 3 Jul 2003 12:29:53 +0200 (CEST) Jasper Metselaar wrote:

 IN  MX  10  mail.domain-owner.com.
 IN  MX  100 mail.mymailserver.com.
 
 How should I setup the domain so that my server becomes a fallback and
 that it delivers the e-mail to the primary mailserver when it is available
 again (in case the primary mailserver is off-line)?
 Thanks for any suggestions!

- Remove the domain from 'virtualdomains' for it only being in
  'rcpthosts'.
- HUP qmail-send.
- DONE, if your server (mail.mymailserver.com) is able to figure out the
  MX record for 'domain-owner.com' as 'mail.domain-owner.com'.
  If not: 
  echo 'domain-owner.com:mail.domain-owner.com' \
   /var/qmail/control/smtproutes

P.S.: For future mails to this list you really should disable Reply-To.
  1.) It's superfluous. It contains the same address as From and
  therefore is absolutely useless.
  2.) It makes it impossible to easily reply to the list for those MUAs
  capable of List-Reply by evaluating 'List-Post' header.
  'Reply-To' takes, for obvious reasons, precedence over
  'List-Post'.
 Thank you.
-- 
Ciao,
 Pit



RE: [vchkpw] Fallback MTA and vpopmail

2003-07-03 Thread Clayton Weise
Another option, and although it may be a little over the top for this
particular situation, is AutoTURN.  It's part of the serialmail package put
out by DJB to work with qmail.  We use it here for mail caching and it works
great.

http://cr.yp.to/serialmail.html

-Original Message-
From: Jasper Metselaar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 03, 2003 3:30 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Fallback MTA and vpopmail


Hi,

I used to have a domain running with vpopmail, qmailadmin and vqadmin.
Now the owner of the domain asked to deliver his mail to another
mailserver and to configure my server as a fallback MTA for that domain.
E.g.
IN  MX  10  mail.domain-owner.com.
IN  MX  100 mail.mymailserver.com.

How should I setup the domain so that my server becomes a fallback and
that it delivers the e-mail to the primary mailserver when it is available
again (in case the primary mailserver is off-line)?
Thanks for any suggestions!

- Jasper








Re: [vchkpw] Fallback MTA and vpopmail

2003-07-03 Thread Tom Collins
On Thursday, July 3, 2003, at 03:29  AM, Jasper Metselaar wrote:
How should I setup the domain so that my server becomes a fallback and
that it delivers the e-mail to the primary mailserver when it is 
available
again (in case the primary mailserver is off-line)?
Thanks for any suggestions!
vdeldomain domain-owner.com
echo domain-owner.com  /var/qmail/control/rcpthosts
The first line removes the domain from your server.  The second line 
says that you'll accept the mail.  Since it's not in virtualdomains, 
qmail will relay it instead of keeping it.  Make sure that's a double 
angle-bracket () in the last line so it appends the domain to 
rcpthosts and doesn't replace rcpthosts with that line.

If DNS is set up correctly, your server will accept mail for 
domain-owner.com and try to send it on to the real server.

As mentioned by others, if DNS is wrong you can add an entry to 
smtproutes to route the mail to the correct server.

--
Tom Collins
[EMAIL PROTECTED]