These are the things I looked for and can't find anything:

# find / -name ".courier*"

that yields nothing.  I've looked in the aliasdir directory and there are no
files in there until I send mail to a non-existent user (which then creates the
Maildir mbox file).  Here is the mail being accepted:

May 15 10:44:36 hostname courierd:
started,id=0006E299.40A65704.00000861,from=<[EMAIL PROTECTED]>,module=local
,[EMAIL PROTECTED]/usr/lib/courier/etc/aliasdi
r!!,addr=<alias>

The only thing I have in my userdb directory is one file with one line in it:

[EMAIL PROTECTED]
uid=1002|gid=1002|home=/home/vhosts/hosteddomain.com/kasper37|systempw=xxxxxxxxx

Is there any way to tell exactly why courier thinks it should be putting mail in
some random mbox?

Dan


----- Original Message ----- 
From: "Jeff Jansen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 15, 2004 5:44 AM
Subject: Re: [courier-users] aliasdir/Maildir mbox file.


> On Saturday 15 May 2004 02:39, Dan wrote:
> > I've seen this question asked a few times on the list but I've never seen an
> > answer.  Whenever I try to send mail to a hosteddomains user that doesn't
> exist,
> > the mail gets written to an aliasdir/Maildir mbox file instead of being
> rejected
> > as user unknown.  Do I have to explicitly tell courier to reject the email
> if
> > the user doesn't exist?
>
> Courier will not accept mail for users that don't exist.  So somewhere you
> have told it to accept ALL mail for this domain.  That probably means that
> you have a .courier-default file in your aliasdir.  Check in there and see.
> Read the "dot-courier" man page for an explanation of how this works.
>
> The other possibility is that you have defined the account
> "[EMAIL PROTECTED]" which is catch-all account.  In that case courier will
> look for a .courier-default file in the $HOME directory of that account for
> instructions on what to do with mail for unknown users of this domain.  The
> "makehosteddomains" man page will explain how this feature works.
>
> Jeff Jansen
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: SourceForge.net Broadband
> Sign-up now for SourceForge Broadband and get the fastest
> 6.0/768 connection for only $19.95/mo for the first 3 months!
> http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to