LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-10-2009, 01:34 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
Is there a way to store a copy of all emails SENT through exim?


Is there a way to store a copy of all emails SENT through exim?

TIA
 
Old 12-10-2009, 02:54 PM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by abefroman View Post
Is there a way to store a copy of all emails SENT through exim?

TIA
yes, here is one


http://www.devco.net/archives/2006/0...using_exim.php
 
Old 12-10-2009, 03:59 PM   #3
jkzfixme
Member
 
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu, Solaris, Android
Posts: 329
Blog Entries: 21

Rep: Reputation: 52
The most straightforward way is to set up a system filter, and include a command such as:

unseen deliver mailbox@whatever.domain

This sends a copy of every message to mailbox@whatever.domain (unless the message already has that recipient - Exim never does duplicate deliveries).

To save only ``outgoing'' messages, you need to come up with a definition of what ``outgoing'' means. Typically, this might be a check on the sender address and/or on the originating host. Here is an example:

if $sender_address_domain is mydomain.com and
${mask:$sender_host_address/24} is 192.168.324.0/24
then
unseen deliver mailbox@whatever.domain
endif
 
  


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
Need to stop bounce back emails with exim. matt1982 Linux - Server 2 01-10-2010 02:45 PM
Exim 4.X to send more 100000 or more emails per hour kingkashif Linux - Server 9 09-18-2009 09:10 AM
Exim: forward sent emails to Gmail mrtwice Linux - Software 0 09-08-2007 04:17 PM
Store Emails in MySQL DB ramez Linux - General 1 11-10-2006 10:41 PM
store emails on database (postfix) eduac Linux - General 1 07-30-2006 02:31 AM

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

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