Sending email from Backupsystem deliverd to DB on Backupsystem
Alain Spineux
aspineux at gmail.com
Mon Oct 22 10:03:07 EDT 2007
On 10/22/07, stitch at power.ms <stitch at power.ms> wrote:
> H Alain and other!
>
> Our primary mailserver is running.
>
> It is a Virtualized System.
> OS: Fedora Core 6 Base
> with Postfix, cyrus, mySQL, and other
>
> I am on the second. System and sending a email from root to xyz at ourdomain.de
>
> This email will be deliverd to the secondary System and not ( as prefferd) to the main system.
If your secondary is also configured as final destination
(mydestination in /etc/postfix/main.cf ) then postfix will try the
delivery to itself (the secondary), this is correct.
The simple solution is to shutdown postfix on your secondary to be sure you will
not have to deal with synchronization in the other way (from secondary
to primary).
And start postfix when switching to secondary
>
> I've read something about the main.cf (on secondary) to change "local transport"entry from cyrus to anything other, but i am confused about this.
You means
local_transport = lmtp:unix:/var/lib/imap/socket/lmtp
This is the best way to make delivery, on secondary, but on primary too.
If your imap's synchronization is working, your main problem now is
about configuring postfix.
Regards.
>
> On 10/22/07, stitch at power.ms <stitch at power.ms> wrote:
> > Hi All!
> >
> > I've setup a cyrus mailbackup. MySQL-Synchronization is running.
> >
> > This System cant send any email like
> >
> > mail test at domain.de to the pirmary mailserver
>
> A backupsysteme can be just a program archiving emails on tape every night :-)
> I guess you are speaking about a MX backup, but do you have any email
> synchronization between both system ? What do you expect from it ?
>
> The Backup is a server eqaul to the primarysystem , with SQL-Replication and Mailbox.db transfer from MAIL1 to MAIL2 via LVM Snapshot and SCP.
> This Backup(mail2) will be reconfigured from Slave to master by admins if mail1 is down.
>
>
> >
> >
> >
> > I changed my.cnf , imapd.conf, resolv.conf, /etc/hosts...
> >
> > In the Mail log of the backupsystem following:
> > 12:31:01 mail2 lmtpunix[15113]: duplicate_check: <20071022103101.32DC9B4889 at mail2.xxxx.de> novatec-gmbh.de!user.xxxx 0
> > Oct 22 12:31:01 mail2 lmtpunix[15113]: duplicate_check: <20071022103101.32DC9B4889 at mail2.xxxxh.de> novatec-gmbh.de!user.xxxx 0
> > Oct 22 12:31:01 mail2 lmtpunix[15113]: mystore: starting txn 2147484688
> > Oct 22 12:31:01 mail2 lmtpunix[15113]: mystore: committing txn 2147484688
> > Oct 22 12:31:01 mail2 lmtpunix[15113]: duplicate_mark: <20071022103101.32DC9B4889 at mail2.xxxxxxde> novatec-gmbh.de!user.xxxxx 1193049061 3217153220
> > Oct 22 12:31:01 mail2 lmtpunix[15113]: Delivered: <20071022103101.32DC9B4889 at mail2.xxxxxxxxxx.de> to mailbox: novatec-gmbh.de!user.xxxxx
> >
> > Mails from the backupsystem will be deliverd to the mailbox of the backupsystem ?
> > How do i change this ?
>
> You dont give to much info about how this append ? Was your main mail
> system running ?
> Who sent this email, and from which server and what did you expect.
>
> Regards.
>
> >
> >
> > Thanks
> > ----
> > Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
> >
>
>
> --
> Alain Spineux
> aspineux gmail com
> May the sources be with you
>
>
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
--
Alain Spineux
aspineux gmail com
May the sources be with you
More information about the Info-cyrus
mailing list