LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-25-2004, 02:37 PM   #1
dlublink
Member
 
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 330

Rep: Reputation: 30
Forward All Postfix messages and deliver them


Hey All!

I have a funny sort of postfix related question.

How would I get postfix to, in addition to dropping messages into cyrus, also make a copy of every message and forward it to a particular account.

So say for example my domain is mydomain.com and I have user1 and user2 and an address anothername@anotherdomain.com.

I send a message to user1@mydomain.com, it drops it into user1 cyrus account but in addition to that forwards a copy to anothername@anotherdomain.com.


Thanks,

David




btw, I have 4 gmail invites. Give me a good answer and you can have a GMail account
 
Old 12-27-2004, 10:34 PM   #2
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
0) create account "bigbrother"
1) add a line: "always_bcc = bigbrother" to "/etc/postfix/main.cf "
2) "postfix reload" to activate configuation change

and user "bigbrother" gets a copy of all incoming mails
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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: forward messages to root mozilla Linux - Networking 3 06-23-2005 08:11 AM
postfix/procmail doesn't deliver emails! eisman Ubuntu 1 05-18-2005 09:21 AM
POSTFIX holding mail in qeue, won't deliver, connection refused bentman78 Linux - Software 2 10-27-2004 07:11 AM
Deliver system messages to more than one email account mazzo Linux - Newbie 0 08-13-2004 10:06 AM
Sendmail don't want deliver messages ruddy Linux - Software 0 01-14-2004 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:42 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