Hi, At home I have a mailserver running. Right now, however, my internet-connection is broken. I don't know when it will be fixed. How could I have a backup-server until the connection is restored ? I added my domains in my mailserver at work, but I would need to add all users, which is not possible at the moment as I don't have the details here at work. Is it possible to have the mail-server just store the mails and then forward them when the connection is restored ? Thanks for suggestions, Koenraad Lelong. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 29 Oct 2010 13:58:13 +0530, Koenraad Lelong
Hi,
At home I have a mailserver running. Right now, however, my internet-connection is broken. I don't know when it will be fixed. How could I have a backup-server until the connection is restored ? I added my domains in my mailserver at work, but I would need to add all users, which is not possible at the moment as I don't have the details here at work. Is it possible to have the mail-server just store the mails and then forward them when the connection is restored ?
depends on your mail server setup. i know this is possible when using sendmail or postfix; i've seen such configurations. i'm afraid there isn't an easily explainable recipe: "click on this, type that command, ...". you'll have to get into your mail server's configuration and figure out what you want to do. there's also a yast module for mail server configuration, but when i tried using that earlier, i've always had to re-do everything manually afterwards. perhaps it works better now, haven't tried it in a long time. if you're using postfix, which is the default in openSUSE, take a look at this link: http://www.postfix.org/BASIC_CONFIGURATION_README.html -- phani. [sorry for the separate reply to koenraad: accident...] -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Koenraad Lelong wrote:
At home I have a mailserver running. Right now, however, my internet-connection is broken. I don't know when it will be fixed. How could I have a backup-server until the connection is restored ? I added my domains in my mailserver at work, but I would need to add all users, which is not possible at the moment as I don't have the details here at work. Is it possible to have the mail-server just store the mails and then forward them when the connection is restored ?
Yes, that's what a typical mailserver backup does. However, the mails will likely be retried anyway when the sender can't deliver them to you. -- Per Jessen, Zürich (8.6°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Per Jessen schreef:
Koenraad Lelong wrote:
At home I have a mailserver running. Right now, however, my internet-connection is broken. I don't know when it will be fixed. How could I have a backup-server until the connection is restored ? I added my domains in my mailserver at work, but I would need to add all users, which is not possible at the moment as I don't have the details here at work. Is it possible to have the mail-server just store the mails and then forward them when the connection is restored ?
Yes, that's what a typical mailserver backup does. However, the mails will likely be retried anyway when the sender can't deliver them to you.
Hi Per, I know that mails will be retried, but when it's my VDSL-modem that's broken, I have no idea when I can get a replacement. Well, it's only my home-network, maybe I should wait and see. -- Met vriendelijke groeten, Koenraad Lelong -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 10/29/2010 05:47 AM, Koenraad Lelong wrote:
Per Jessen schreef:
Koenraad Lelong wrote:
At home I have a mailserver running. Right now, however, my internet-connection is broken. I don't know when it will be fixed. How could I have a backup-server until the connection is restored ? I added my domains in my mailserver at work, but I would need to add all users, which is not possible at the moment as I don't have the details here at work. Is it possible to have the mail-server just store the mails and then forward them when the connection is restored ?
Yes, that's what a typical mailserver backup does. However, the mails will likely be retried anyway when the sender can't deliver them to you.
Hi Per,
I know that mails will be retried, but when it's my VDSL-modem that's broken, I have no idea when I can get a replacement. Well, it's only my home-network, maybe I should wait and see.
Koenraad, If you have another box at another IP that you want to configure as a 'backup mail host', the setup is relatively simple. I did a howto on it in the 11.0 days that is still fine. If you are interested, see: http://www.3111skyline.com/linux/openSuSE-server.php#mail under the heading: How do I configure an off-site backup mail host? It works just a Per described. If your main mail host is down/off-line, your mail is delivered to your backup host, held, then delivered to the primary mail host once it comes back on line. Without a backup, if your primary is off-line for more that 24 hours, most (no all) mail host will give up trying to deliver mail and just return an error to the sender. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin wrote:
It works just a Per described. If your main mail host is down/off-line, your mail is delivered to your backup host, held, then delivered to the primary mail host once it comes back on line.
Without a backup, if your primary is off-line for more that 24 hours, most (no all) mail host will give up trying to deliver mail and just return an error to the sender.
Postfix's default is five days, I believe. I think that might be more typical than the 24hours. A backup mail server is quite easily set up - from memory: with postfix you take the vanilla opensuse config and add "permit_mx_backup" to "smtpd_recipient_restrictions" and change "inet_interfaces" to "all". Then you add your new backup server as an MX to your domain. [not tested, like to be incomplete]. -- Per Jessen, Zürich (8.9°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2010-10-30 at 10:03 +0200, Per Jessen wrote:
Postfix's default is five days, I believe. I think that might be more typical than the 24hours.
This mail list is configured for one day, IIRC. My ISP has 3 days. - -- Cheers, Carlos E. R. (from 11.2 x86_64 "Emerald" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAkzMDRkACgkQtTMYHG2NR9UDkACeIIxh72JiqO5vb4A3bv8ONoQw XPMAn2JXhr8fral9d13S7vpiAaWY0xud =a2+c -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Op 30-10-10 10:03, Per Jessen schreef:
David C. Rankin wrote:
It works just a Per described. If your main mail host is down/off-line, your mail is delivered to your backup host, held, then delivered to the primary mail host once it comes back on line.
Without a backup, if your primary is off-line for more that 24 hours, most (no all) mail host will give up trying to deliver mail and just return an error to the sender.
Postfix's default is five days, I believe. I think that might be more typical than the 24hours.
A backup mail server is quite easily set up - from memory: with postfix you take the vanilla opensuse config and add "permit_mx_backup" to "smtpd_recipient_restrictions" and change "inet_interfaces" to "all". Then you add your new backup server as an MX to your domain. [not tested, like to be incomplete].
Thanks guys, The problem is gone. Fortunately, it wasn't my modem but the infrastructure from the line-supplier. I had phoned to my ISP, who tried to test the line, but couldn't. They said to check my home-installation. There hadn't been any change, so I called the phone company. When I gave my phone number I was told there were serious problems in the whole area. A few hours later all was OK again, all in all about 16 hours outage. My ISP hadn't a clue about the real problem ! But, I'm going to make me a backup mail-server. I did study postfix's config but was puzzled. Is permit_mx_backup sufficient or do I have to specify relay_domains ? Again, thanks for your help, Koenraad Lelong. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Koenraad Lelong wrote:
But, I'm going to make me a backup mail-server. I did study postfix's config but was puzzled. Is permit_mx_backup sufficient or do I have to specify relay_domains ?
I'm pretty certain permit_mx_backup is sufficient, but just try it and see what happens. You can always test it with telnet. -- Per Jessen, Zürich (11.1°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Koenraad Lelong wrote:
Hi,
At home I have a mailserver running. Right now, however, my internet-connection is broken. I don't know when it will be fixed. How could I have a backup-server until the connection is restored ? I added my domains in my mailserver at work, but I would need to add all users, which is not possible at the moment as I don't have the details here at work. Is it possible to have the mail-server just store the mails and then forward them when the connection is restored ?
Thanks for suggestions,
Koenraad Lelong. I do that with fetchmail and an IMAP server. But why bother? That mail will still be there when your internet connection is restored.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 29 Oct 2010 19:35:32 +0530, James Knott
I do that with fetchmail and an IMAP server. But why bother? That mail will still be there when your internet connection is restored.
i think the idea is that you keep using your email as before--except you won't receive any from outside while the connection is down, of course. but you can keep sending new mails & replying to old ones w/o thinking about the ISP state. once it's up again, all the qued stuff gets sent out. but this makes more sense if your internet connection is regularly down, or often. if it's a once-in-a-long-time occurence, it's probably wasted effort to set up an intermittent mail server, or whatever that's called. it's not exactly easy. -- phani. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Carlos E. R.
-
David C. Rankin
-
James Knott
-
Koenraad Lelong
-
Per Jessen
-
phanisvara das