De Petter Mattheas: > Hello > > We are busy with a POC building a new vessel mail system for are fleet at sea > . > In our office we have now to postfix servers running behind a F5 that has > failover when primary mail server goes down the second one takes over. > > So far so good, we test this and everything is oke. > > Now I want to know if it's possible to transfer mail files that are qued on > server A to server B to get send when A goes down. > > > I would like to do this as follows > > Create two folders on a nfs share > > Server A writes his mails to folder A > Server B writes his mails to folder B > > When server A crashes we copy/transfer over the mailq from folder A to Folder > B > > Question is will Server B send the mails that are copied from A ? > > Will this work ?
If you copy files, will there be duplicate deliveries when the A server comes back up? Consider moving files instead. You can't copy or move queue files while Postfix A or B is running. After copying/moving queue files, run the "postsuper" command on Postfix 'B' until it stops logging that it is renaming files. Wietse