LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-02-2007, 01:53 PM   #1
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Sending Duplicate Messages with Postfix


We have a system of three boxes that handle mail in different ways. The first is our MX record and handles all incoming mail from the outside. It forwards the mail to our production mail server (the one people have mailboxes on), and performs spam checking, etc. The last box is our new server we are putting into production this weekend (along with a migration from mbox to maildir).

The problem I haven't been able to solve is how to get a copy of the message sent from our MX to both of the destination servers. That way we can always revert to mbox if something begins to look like it's going wrong.

I thought about using transport maps to set our domain to forward from the gateway to both machines, but it doesn't seem transport maps were designed for this purpose. Aliases weren't much of a lead either, and using the bcc option would just plop all the mail in one account on the system (something we really don't want to have to deal with).

I'm just throwing this out there to hopefully get some suggestions or guidance, and thanks in advance to everyone who replies.

If you need more information to help out I'm more than willing to share. Just let me know.

Thanks,

Alunduil
 
Old 08-03-2007, 08:43 AM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
I don't think postfix will be much help with that. All postfix cares about is that it receives the message and that it can hand it off to the MDA (mail delivery agent), such as dovecot, cyrus, even procmail.

cyrus-imap uses perdition which allows you to do just that. I don't know if dovecot can do it. Basically your MDA will receive the message handed over from postfix then it will send it to two separate MDA's which will then save the message in the mbox or maildir format. perdition does this.
 
  


Reply

Tags
duplicate, gateway, mail, messages, postfix



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix: User messages are okay; but error messages themselves seem to be bouncing jgombos Linux - Server 3 03-03-2007 02:21 PM
qmail - eliminate duplicate mail messages - How to? maheshk78 Linux - General 1 10-22-2006 11:07 AM
duplicate messages in kmail... jsheffie Linux - Software 6 01-17-2006 04:03 PM
Deleting duplicate messages essdeeay Linux - General 1 11-20-2005 07:58 AM
postfix sending double messages sirjosi Linux - Networking 0 01-13-2004 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration