- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Creating a Bcc: for each outbound sendmail message
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 07:41 AM
тАО05-23-2005 07:41 AM
Creating a Bcc: for each outbound sendmail message
Is there a way to have sendmail automatically Cc: or Bcc: all outgoing messages to a separate e-mail account?
In other words, whenever a message to joe.blow@this.domain.net goes out, I want sendmail to CC:/Bcc: the message to big.brother@corp.net.
I'm running sendmail 8.11 in a RHEL 2.1AS environment.
I'd prefer not using a 3rd party tool (like milter). We already have enough 3rd party apps to manage :)
If anyone knows of a macro or ruleset that I can create to do this, I would be most appreciative!
Thanks in advance for your time and assitance,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 08:07 AM
тАО05-23-2005 08:07 AM
Re: Creating a Bcc: for each outbound sendmail message
mail rg@someaddress.com -b gr@someotheraddress.com
The -b option tells it to go bcc.
(man sendmail)
If you are using some mail client, there will be some tools option you can modify
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 08:26 AM
тАО05-23-2005 08:26 AM
Re: Creating a Bcc: for each outbound sendmail message
Thanks for the idea, but I would like sendmail to do this automatically, without any user intervention or mail client configuration.
We're wanting this to automatically send a copy of the outbound e-mail from the originating server to an "archive account" on a separate mail server for historical purposes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 12:06 PM
тАО05-23-2005 12:06 PM
Re: Creating a Bcc: for each outbound sendmail message
Hehe, You're in the US, here in Germany that setup would be a very straight way to the court ;)
unfortunately I still don't find my way through sendmail.cf, but I'd recommend You to have a try at news://comp.mail.sendmail
florian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2005 01:21 AM
тАО05-24-2005 01:21 AM
Re: Creating a Bcc: for each outbound sendmail message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2005 02:17 AM
тАО05-24-2005 02:17 AM
Re: Creating a Bcc: for each outbound sendmail message
I've been researching this since yesterday, and it appears the only "efficient" way to do this is with a 3rd part application (like milter or similar) or to run postfix in conjunction with sendmail.
The best overall option seems to be configuring the SMTP gateway to automatically copy all mail it receives from these 2 Linux hosts to an archive folder as it forwards the message to its destination address.
Thanks again for your thoughts and ideas! That's what makes the ITRC forums so great :)
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2005 03:13 AM
тАО05-24-2005 03:13 AM
Re: Creating a Bcc: for each outbound sendmail message
BUt if you just want to alter the envelope.. well, yea, horrible sendmail rules..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2005 12:41 AM
тАО05-25-2005 12:41 AM
Re: Creating a Bcc: for each outbound sendmail message
Given the large number of outbound e-mail addresses that will be processed and the frequency of those addresses changing, using a virtual users table will present a similar problem to using aliases.
It's really starting to sound like the best solution (read: least complicated) is to have our Notes admins configure the SMTP gateway to copy all mail originating from these 2 servers to an archive folder and then forward the mail to its final destination. I don't want to end up breaking sendmail by messing with the rules and hosing everything up.
If there are any sendmail "super-gurus" out there, they may know of a rule or macro that could do this....
If the user count/change frequency wasn't so great, that's the way I'd probably go.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2005 01:14 AM
тАО05-25-2005 01:14 AM
Re: Creating a Bcc: for each outbound sendmail message
It's something I'm sure has been done before..
Don't forget that the virtual-user-table takes wildcards.. %1 etc...