|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: backup system: local delivery and relay at the same time
From: Alain Spineux (aspineux
gmail.com)
Date: Wed Jul 19 2006 - 20:42:23 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This is not a solution, they are no ways for the users to get their emails!
All the emails, for different domains, for different users, are going to the
same mailbox!
And split the mails in different folders is not a solution.
procmail know nothing about aliases, and BCC (BCC is not in the header,
because of the BLIND in BCC :-). And then how to secure all the user access
to its own folder.
This must be done at SMTP level not at delivery.
I already used this kind of script (except I was splitting using the domain
and not the date).
The smtp-tee solution I spoke about in a previous post is simple and
reliable.
Best regards
On 7/19/06, Edward R. Bailey <ed
commercescience.com> wrote:
>
> On 7/18/06, Jorey Bump <list
joreybump.com> wrote:
>
> > Jorey Bump wrote:
> > Alain Spineux wrote:
> >
> >> I would like to setup my secondary MX as a full email backup server.
> >>
> > Don't do this. There is a reason (actually many) why mail transport is
> > separated from mail access. Look at solutions to replicate your mail
> > store instead, or you will create a huge unfathomable mess for your
> users.
> >
> > Ugggh... And how do you expect to reconcile all of this when your
> > primary comes back up? A secondary MX is intended to be a backup for
> > SMTP, not POP/IMAP. Keep the concepts cleanly divided, even if you
> > implement them on the same machine.
>
> Alain,
>
> I think what everyone is trying to tell you is to keep things simple to
> avoid bigger problems in the future. Simplicty is the only path to some
> measure of peace as an email admin:) I might be able to offer a suggestion
> that will work for you. Though I have to agree with the others that It
> really does sound like you want the automatic failover that a cluster would
> provide.
>
> use postfix's always_bcc function to send a copy of every email to an
> account on another server and use the following procmail script to organize
> that mail
>
> MAILDIR=$HOME/Mail
>
> MONTHFOLDER=`date +%B-%Y`
> DAY=`date +%d-%b-%Y`
> MONTH=`date +B`
>
> :0 Wic
> * ? test ! -d $MONTHFOLDER
> | mkdir $MONTHFOLDER
>
> :0hc:
> ${MONTHFOLDER}/summary-${MONTHFOLDER}
>
> :0:
> ${MONTHFOLDER}/${DAY}
>
> This script will organize mail into one mailbox for every day and place
> each days worth of mail in a folder labeled with the month so that if you
> need to you can get a copy of every email that has passed through your
> system without the complications you are describing.
>
> Let me know if you have any questions
>
> Ed Bailey
>
>
--
--
Alain Spineux
aspineux gmail com
May the sources be with you
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]