I'm replying to my own post to add some more information...

[EMAIL PROTECTED] wrote:
> Greetings.
> 
> I have installed a new courier server.  I created a single
> domain, and that domain has exactly 2 accounts: postmaster
> and alias.  I am using a MySQL backend for authentication.
> And before anyone tries, right now the server has all ports
> blocked from any addresses outside our NAT.
> 
> I have tried with a .courier-default of zero-size, and also
> with the .courier-default I want, which consists of:
> 
> -------------------------------------------------------
> [EMAIL PROTECTED] alias]# cat .courier-default
>> /var/mailman/bin/courier-to-mailman.py
> -------------------------------------------------------

I deleted the .courier-default, and copied a working one from another
domain on another server.  This did not help.  I also checked the
permissions on the file.  The file has the following permissions:
-rw-r--r--    1 root     root            0 Mar  2 13:57 .courier-default

Again, this is an exact duplicate of the working server.

I also checked the home directory's permissions, which are:
drwx------    3 mailuser mailuser     4096 Mar  2 09:14 alias

Which, again, are exactly the same as the server it's working on.  Just
for grins, I used chmod to modify it to be:
drwxr-xr-x    3 mailuser mailuser     4096 Mar  2 09:14 alias

But still no dice.

On some website somewhere (can't remember where, sorry) I read that I
also needed a .courier file, so I created that as well, but the symptoms
are still the same.

> 
> This is stored in /var/quica/domains/lists.gomillion.org/alias
> 
> When I send email to the account, the following message pops up in
> the logs: 
> 
> Mar  1 11:10:37 com1 courieresmtpd:
> error,relay=::ffff:192.168.1.235,from=<deleted>,to=<[EMAIL PROTECTED]
> .gomillion .org>: 550 User unknown.
> 
> I get the message from the email server:
> <[EMAIL PROTECTED]>:
>     lists.gomillion.org [192.168.1.225]:
>>>> RCPT TO:<[EMAIL PROTECTED]>
> <<< 550 User unknown.
> 
> So, I thought that the alias account must have a problem, so
> I sent an email directly to it, which was received and
> delivered, as expected.
> 
> From the error messages, it would appear that Courier is not
> using the [EMAIL PROTECTED] account at all.  I have another
> Courier server that has a catch-all on one of the domains,
> which is working quite well. When I receive email for that
> catch-all, I get:
> 
> Mar  1 11:20:51 com3 courierd:
> started,id=0031696F.4224A473.00004D13,from=<deleted>,module=lo
>
cal,host=alias@<nospam>!fakeuser!502!502!/var/quica/domains/<nospam>/ali
as!!524288 000S,10000C,addr=<> 
> Mar  1 11:20:51 com3 courierd: Waiting.  shutdown time=none,
> wakeup time=none, queuedelivering=1, inprogress=1 Mar  1 11:20:51
> com3 courierlocal:
> id=0031696F.4224A473.00004D13,from=<deleted>,addr=<fakeuser@<n
> ospam>>,size=671,success: Message delivered. 
> 
> So, I see that "host" is set to the actual account it's going
> to use. Why is the newer server not doing this correctly?
> What did I miss?

I wish to broaden my question a little bit.  Is there a better way to
create a catch-all address?  I have read about global .courier-default
files, but as this server will have multiple domains, it seems like it
would be difficult to have it all defined in the one file.  Am I
thinking about this in the wrong way?  How do others implement catch-all
addresses?

> Thanks,
> David Gomillion



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to