Michelle Konzack writes:

BUT if I use an alias file, like

----[ '/etc/courier/aliases/USER_michelle.konzack' ]--------------------
linux4michelle: michelle.konzack
bsd4michelle: michelle.konzack
------------------------------------------------------------------------

then I get the message, BUT, there is no "Delivered-To:" header...

There should be one. For michelle.konzack.

An aliased address replaces the original address completely, upon receipt. The original address is long gone.

I would suggest a slightly different approach. Install a .courier-default in michelle.konzack's home directory, specifying the default maildir:

./Maildir

Then, define your aliases accordingly:

linux4michelle: michelle.konzack-linux4michelle
bsd4michelle: michelle.konzack-bsd4michelle

I just ran a quick experiment on my test machine, octopus, and it works as expected.

[r...@octopus ~]# cat /etc/courier/aliases/system3
cplusplusguru: mrsam-cplusplusguru
[r...@octopus ~]# cat ~mrsam/.courier-default
./Maildir
[r...@octopus ~]#
Resulting test message:

[r...@octopus ~]# cat ~mrsam/Maildir/cur/*
Delivered-To: [email protected]
Return-Path: <[email protected]>
Received: from octopus.email-scan.com (localhost [127.0.0.1])
 (IDENT: uid 500)
 by octopus.email-scan.com with esmtp; Mon, 08 Feb 2010 20:19:12 -0500
 id 00000000000E0884.000000004B70B810.000006C6
Message-ID: <[email protected]>
X-Mailer: http://www.courier-mta.org/cone/
From: Sam Varshavchik <[email protected]>
To: [email protected]
Subject: Test
Date: Mon, 08 Feb 2010 20:19:12 -0500
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Test

Attachment: pgptOJ21LhGHK.pgp
Description: PGP signature

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to