RE: [vchkpw] smtproute
Another option as well, depending on what you're doing, is to setup serialmail. It's a little daunting if you're not familiar with it but I have been using it for years and it works great for just this kind of thing. We act as a backup MX record for many of our clients and we use serialmail to cache mail for them when their server stops answering. If it's something you are interested in please email me privately and I would be more than happy to give you my scripts setting it up; not because they're private but I just don't feel that the vpopmail list really cares about serialmail and autoturn. -Clayton -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 12:04 PM To: vchkpw@inter7.com Subject: Re: [vchkpw] smtproute Thanks Tom. It worked. As soon as I removed yyy.com from virtualdomains mail started going directly to the live yyy.com server. Again thanks everyone for all your help. Andrew On May 25, 2006, at 9:20 AM, [EMAIL PROTECTED] wrote: i have an RHEL-Qmail-Vpopmail-Installation with 2 virtural domains (xxx.com and yyy.com). Domain xxx.com is in daily use. yyy.com is only there for fallback if the real yyy.com mailserver dies. Reiterating what others have said... If your server is just a backup MX server for yyy.com, it should only appear in rcpthosts or morercpthosts. If there's another server with a lower MX number, your server will queue the mail and try to deliver it to yyy.com. If your server is really a backup server in case the real server is destroyed (vs. just falling off the net for a few hours), then you'll have to remove yyy.com from /var/qmail/control/virtualdomains. You can then keep the ~vpopmail/domains/yyy.com directory in-tact, possibly updating it from the main server via rsync. When the old server kicks the bucket, add yyy.com back into virtualdomains, update the DNS records so you're now the primary DNS server, and you're off and running. -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/ --
Re: [vchkpw] smtproute
[EMAIL PROTECTED] wrote: Hello, i have an RHEL-Qmail-Vpopmail-Installation with 2 virtural domains (xxx.com and yyy.com). Domain xxx.com is in daily use. yyy.com is only there for fallback if the real yyy.com mailserver dies. My problem is that if a user from xxx.com sends a mail to a user at yyy.com it gets delievered locally, it never goes out to the real yyy.com mailserver. I tried to set smtproutes but discovered that it won't work because local-delivery happens before smtproutes is used. How can I send mails to the REAL yyy.com-Mailserver. Is there a way to disable the yyy.com-Domain temporarily, or a .qmail-trick I haven't found so far? Hi, yyy.com shouldn't be a virtual domain on the server. It should just have entries in [more]rcpthosts and smtproutes. You may not even need smtproutes if yyy.com's lowest MX is set to the real server. Regards, Rick
Re: [vchkpw] smtproute
Just remove yyy.com from the virtual domains file? And add it back if I need to use it? Andrew [EMAIL PROTECTED] wrote: Hello, i have an RHEL-Qmail-Vpopmail-Installation with 2 virtural domains (xxx.com and yyy.com). Domain xxx.com is in daily use. yyy.com is only there for fallback if the real yyy.com mailserver dies. My problem is that if a user from xxx.com sends a mail to a user at yyy.com it gets delievered locally, it never goes out to the real yyy.com mailserver. I tried to set smtproutes but discovered that it won't work because local-delivery happens before smtproutes is used. How can I send mails to the REAL yyy.com-Mailserver. Is there a way to disable the yyy.com-Domain temporarily, or a .qmail-trick I haven't found so far? Hi, yyy.com shouldn't be a virtual domain on the server. It should just have entries in [more]rcpthosts and smtproutes. You may not even need smtproutes if yyy.com's lowest MX is set to the real server. Regards, Rick
Re: [vchkpw] smtproute
On Thursday 25 May 2006 09:56, [EMAIL PROTECTED] wrote: Just remove yyy.com from the virtual domains file? And add it back if I need to use it? you don't host yyy.com it seems (we can't tell because you're using fake information) so why would you put it in virtualdomains? -Jeremy -- Jeremy Kitchen ++ [EMAIL PROTECTED] http://ipaction.org/ -- defend your rights to fair use pgpBDwx4RI4pr.pgp Description: PGP signature
Re: [vchkpw] smtproute
On May 25, 2006, at 9:20 AM, [EMAIL PROTECTED] wrote: i have an RHEL-Qmail-Vpopmail-Installation with 2 virtural domains (xxx.com and yyy.com). Domain xxx.com is in daily use. yyy.com is only there for fallback if the real yyy.com mailserver dies. Reiterating what others have said... If your server is just a backup MX server for yyy.com, it should only appear in rcpthosts or morercpthosts. If there's another server with a lower MX number, your server will queue the mail and try to deliver it to yyy.com. If your server is really a backup server in case the real server is destroyed (vs. just falling off the net for a few hours), then you'll have to remove yyy.com from /var/qmail/control/virtualdomains. You can then keep the ~vpopmail/domains/yyy.com directory in-tact, possibly updating it from the main server via rsync. When the old server kicks the bucket, add yyy.com back into virtualdomains, update the DNS records so you're now the primary DNS server, and you're off and running. -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/
Re: [vchkpw] smtproute
Thanks Tom. It worked. As soon as I removed yyy.com from virtualdomains mail started going directly to the live yyy.com server. Again thanks everyone for all your help. Andrew On May 25, 2006, at 9:20 AM, [EMAIL PROTECTED] wrote: i have an RHEL-Qmail-Vpopmail-Installation with 2 virtural domains (xxx.com and yyy.com). Domain xxx.com is in daily use. yyy.com is only there for fallback if the real yyy.com mailserver dies. Reiterating what others have said... If your server is just a backup MX server for yyy.com, it should only appear in rcpthosts or morercpthosts. If there's another server with a lower MX number, your server will queue the mail and try to deliver it to yyy.com. If your server is really a backup server in case the real server is destroyed (vs. just falling off the net for a few hours), then you'll have to remove yyy.com from /var/qmail/control/virtualdomains. You can then keep the ~vpopmail/domains/yyy.com directory in-tact, possibly updating it from the main server via rsync. When the old server kicks the bucket, add yyy.com back into virtualdomains, update the DNS records so you're now the primary DNS server, and you're off and running. -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/
Re: [vchkpw] smtproute
On Wednesday 06 October 2004 02:09 pm, Itamar Reis Peixoto wrote: how to use smtproute ? your question has nothing to do with vpopmail. Please take it to the qmail list. -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc pgpRW4GVufDTF.pgp Description: PGP signature