5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Aliases with Cour...
FromSent OnAttachments
Thoralf RickertApr 22, 2004 8:22 am 
Jeff JansenApr 22, 2004 10:16 am 
Sam VarshavchikApr 22, 2004 6:07 pm 
Thoralf RickertApr 23, 2004 1:20 am 
Jeff JansenApr 23, 2004 2:56 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] Aliases with Courier ESMTP using ESMTPDActions...
From:Jeff Jansen (ivb_@sil.org)
Date:Apr 22, 2004 10:16:56 am
List:net.sourceforge.lists.courier-users

On Thursday 22 April 2004 15:21, Thoralf Rickert wrote:

In /etc/courier/aliases/users I've added a line like this: @<domain2>: user@<domain1>

I've called makealiases.

You're missing a step. What this syntax means is that when a message arrives for joe@domain2 then it will be delivered to user-joe@domain1. You need to include instructions in the "user@domain1" account which tell courier what to do with that address or it will be rejected.

Read the "Virtual Domains" section of the makealiases man page to see exactly how this works. Basically if you want "postmaster@domain2" to be accepted and delviered then you need to create a ".courier-postmaster" file in the HOME directory for "user" whch tells courier what to do with mail for that address. You can also use a .courier-default file in the user account which tells courier what to do with mail that doesn't match anything else. So if you put "./Maildir" into a .courier-default file for "user" then ALL mail @domain2 would be accepted and stored in user's INBOX.