Elian Kool writes: 

> Hello Sam, 
> 
> * on the Sun, Mar 17, 2002 at 10:26:28AM -0500, Sam Varshavchik wrote:
>> >Do I need the .courier file to realize a Catchall? 
>> >
>> >Isn't it possible to add something like
>> >@kool.ch:[EMAIL PROTECTED]
>> >in the /etc/aliases ? 
>> 
>> This is invalid syntax.  If kool.ch is a virtual domain, then 
>> '[EMAIL PROTECTED]' can't exist.  You need to forward mail to a local mail 
>> account, and use .courier-default in the local mail account to specify 
>> delivery for this virtual domain. 
> 
> now, it's a Locally-hosted domain.
> [EMAIL PROTECTED] exists in the userdb. 
> 
> But, if I add just a user [EMAIL PROTECTED], RCPT TO:<[EMAIL PROTECTED]>
> says 550 User unknown. 
> 
> So, I think I misunderstand something...

The makealiases(8) man page tells you: 

      @domain: user 

      This special entry results in any recipient address of the
      form foo@domain to be rewritten as user-foo@me,  where  me
      is  the  hostname  of the machine, which we expect to be a
      local domain. 

Therefore, your setting of "@kool.ch:[EMAIL PROTECTED]" results in 
"[EMAIL PROTECTED]" being rewritten as "[EMAIL PROTECTED]@localhost", which 
makes no sense and is not going to accomplish anything. 

> Could you give me an example how it really works?

@kool.ch:koolchowner 

Then, in userdb: 

koolchowner    uid=xxxx|gid=yyyy|home=/home/koolchowner 

In /home/koolchowner, .courier-X would then provide mail delivery 
instructions for [EMAIL PROTECTED], because [EMAIL PROTECTED] now gets rewritten as 
koolchowner-X, and you can pick up the rest of the story in the dot-courier 
man page. 

-- 
Sam 


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to