11 messages in net.sourceforge.lists.courier-usersRE: [courier-users] Trap all incoming...
FromSent OnAttachments
Bowie BaileyJul 15, 2005 7:24 am 
Sam VarshavchikJul 15, 2005 3:50 pm 
Bowie BaileyJul 18, 2005 8:55 am 
Jay LeeJul 18, 2005 9:06 am 
Bowie BaileyJul 18, 2005 9:29 am 
David GomillionJul 18, 2005 9:45 am 
Jerry AmundsonJul 18, 2005 10:36 am 
Bowie BaileyJul 18, 2005 11:59 am 
Bowie BaileyJul 18, 2005 12:07 pm 
Jerry AmundsonJul 18, 2005 2:52 pm 
Flavio StanchinaJul 21, 2005 8:31 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [courier-users] Trap all incoming emailActions...
From:Bowie Bailey (Bowi@BUC.com)
Date:Jul 18, 2005 9:29:45 am
List:net.sourceforge.lists.courier-users

From: Jay Lee [mailto:jl@pbu.edu]

Bowie Bailey wrote:

From: Sam Varshavchik [mailto:mrs@courier-mta.com]

Bowie Bailey writes:

For testing purposes, I want to set up my server to accept all email and deliver it to a single mailbox.

In other words, ALL email that passes through this server should be redirected so there is never any outgoing email.

Is this possible?

Yes. Set up courier-authlib to use the authuserdb module only, install an empty userdb, with no records, and set up $sysconfdir/aliasdir/.courier-default (see the dot-courier man page).

Note that the catch-all mailbox must be owned by the courier userid/groupid.

This is not quite what I need.

I need to be able to accept and reject mail normally based on the LDAP and smtpaccess settings. Once this is done, however, any email that is outbound needs to be redirected somewhere else. I really don't care if it is going to a mailbox or /dev/null.

I could configure esmtproutes to send everything to a non-existent smarthost, although that would result in having to manually clean out the mailq on a regular basis. Or maybe create a smarthost configured as you describe above. Can you think of any other options?

Maybe you should detail better what your ultimate goal is here. There might be an easier way of accomplishing it.

There is an external program that will be generating quite a bit of email to this server. Some of that mail will be delivered locally via a mail processing program and some of it will be for relay elsewhere. The processing program will resubmit some of the mail for delivery elsewhere.

We need to be able to run this for testing purposes without any of the external mail being delivered.

Bowie