LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-14-2005, 11:33 AM   #1
clickster
LQ Newbie
 
Registered: Dec 2004
Posts: 22

Rep: Reputation: 15
Using BCC in Postfix


I know there is a BCC line that forwards EVERYTHING that comes across a mail server to another address, but I just it to forward all mail to a specific user (there is only one user that I need this on) to another address that's not local.
Is there a way to do this? I am running Postfix on an FC3 box, if that helps with versioning, etc.
 
Old 06-14-2005, 12:42 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
BCC is nothing to do with your situation whatsoever. a BCC (Blind Carbon Copy) is just a way to send a standard email to lots of people at once, without letting any one recipient know who else got it. like when you send out a mass job rejection letter.

what you want to do is forward all mail sent too one local user to a remote address? just use a .forward file in their user directory. if you wish to pull it back to a central core level, use the virtual db map to send email that way, e.g. "virtual_alias_maps = hash:/etc/postfix/virtual" in your main.cf. see "man virtual" or the default virtual file for more details. also you could use /etc/aliases.
 
Old 06-14-2005, 01:14 PM   #3
clickster
LQ Newbie
 
Registered: Dec 2004
Posts: 22

Original Poster
Rep: Reputation: 15
I made a mistake when I wrote my original issue. I should have said "forward a copy" of each e-mail.
I want a copy of the e-mail to be placed in the user's mailbox and another copy to be forwarded on. Sorry about that.
 
Old 06-14-2005, 02:41 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
this is not what postfix is for. i would suggest running procmail either as a direct transport for postfix or a standard filter per user. if a given user has a .procmailrc in their home dir when postfix delivers mail to their mailbox, procmail will take over and act accordingly.
 
  


Reply



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
please help with Postfix+courier+forward+bcc? shadowsa SUSE / openSUSE 2 08-15-2005 10:20 PM
KMail and BCC aikempshall Slackware 2 04-17-2005 03:07 AM
fetchmail bcc parsing teanine Linux - Newbie 0 12-11-2004 12:18 AM
the limit of Bcc number in sendmail htm Linux - Software 0 04-08-2004 10:34 PM
postfix + procmail + BCc: not recieving BCc sebastianjustin Linux - Networking 0 08-26-2003 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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