Go Back   Technology Questions > Software Questions > Operating System Questions > Linux

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 06-08-2008, 02:00 PM
Alexander Joelly
Tablet PC Guest
 
Posts: n/a
duplicate mails on server

hello,

is it possible on sendmail to duplicate all incoming mails and forward
it to two different additional mail-servers?

thx,
alex
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 06-08-2008, 02:00 PM
Xploder HD Movie Player for PS3. Manage, convert and transfer media files between the PC and PS3.
  #2 (permalink)  
Old 06-08-2008, 03:10 PM
Steve Ackman
Tablet PC Guest
 
Posts: n/a
Re: duplicate mails on server

In <85766$484c5363$d5e52b02$4323@news.inode.at>, on Sun, 08 Jun 2008
23:47:15 +0200, Alexander Joelly, alex@joelly.net wrote:

> is it possible on sendmail to duplicate all incoming mails and forward
> it to two different additional mail-servers?


Yes.

If you read the doc for sendmail,
$ locate sendmail/cf/README
it mentions using virtusertable, though that seems to
be a secondary recommendation after procmail. It
even gives an example procmail rule to do... not exactly
the same thing, but similar:

a common question is "how do I forward all mail for a given
domain to a single person?". If you have this mailer
defined, you could set up a mailertable reading:

host.com procmail:/etc/procmailrcs/host.com

with the file /etc/procmailrcs/host.com reading:

:0 # forward mail for host.com
! -oi -f $1 person@other.host

A quick perusal through the procmail docs should
have you creating duplicate e-mails in no time.

$ man procmail
$ man procmailex
$ man procmailrc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate shortcuts or duplicate folder appear in the start menu Roque Windows XP 7 04-27-2008 06:11 AM
E-mails Dajan Internet Explorer 1 03-02-2008 05:00 PM
get mails hno Windows XP 1 08-14-2007 03:10 AM
Imap Server (not exchange) and wm5 device. Deleted e-mails on device are not deleted on server MaxFontana Pocket PC General 0 06-25-2007 04:30 AM
How to remove the duplicate mails in OE6? Trish Windows XP 6 03-02-2007 08:45 PM


All times are GMT -8. The time now is 02:47 PM.


2003 - 2008 All Rights Reserved. Technology Questions

SEO by vBSEO 3.1.0