[EMAIL PROTECTED] wrote:
> On Wed, 2005-03-02 at 14:12 -0600, David Gomillion wrote:
>> 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
>
> The file .courier-default must be owned by the home's
> directory user (mailuser in your case). Also, the file you list here
> is 0 bytes long.
>
> Seems that you are using quica. That makes things more easy.
> To setup a catch-all account only create a forward named
> 'alias', quica detects this magic username and puts the right
> .courier-default file.
All right, I have just tried this. Here's a complete listing of the
directory /var/quica/domains/lists.gomillion.org/alias:
drwx------ 2 mailuser mailuser 4096 Mar 3 10:23 .
drwx------ 4 mailuser mailuser 4096 Mar 3 10:23 ..
-rw------- 1 mailuser mailuser 31 Mar 3 10:23 .courier-default
.courier-default contains:
[EMAIL PROTECTED]
With no space, blank line, or any other thing in the file. It's not
encoded in DOS-style, or anything else I can think of to check. Just
for grins, I restarted Courier, and tried it, but nothing changed.
Then, I decided I'd roll the box just-in-case, and still no change.
Notice that the file is now owned by mailuser:mailuser, which is also
502:502, for the kind soul who tried to help me with this off-list.
I just ran a test with this, and got the same 3 lines in the log,
namely:
------------------------Quote--------------------------------
Mar 3 10:28:07 com1 courieresmtpd: started,ip=[::ffff:192.168.1.235]
Mar 3 10:28:16 com1 courieresmtpd:
error,relay=::ffff:192.168.1.235,from=<[EMAIL PROTECTED]>,to=<te
[EMAIL PROTECTED]>: 550 User unknown.
Mar 3 10:28:16 com1 courieresmtpd:
error,relay=::ffff:192.168.1.235,msg="502 ESMTP command error",cmd: DATA
-------------------------End---------------------------------
And the same return email, telling me:
------------------------Quote--------------------------------
Your message to the following recipients cannot be delivered:
<[EMAIL PROTECTED]>:
lists.gomillion.org [192.168.1.225]:
>>> RCPT TO:<[EMAIL PROTECTED]>
<<< 550 User unknown.
--------------------------End--------------------------------
Sam, are there any dependencies that the RPM installation might not have
checked for? As I think about it, these RPMs were built on another (I
thought identical, but I might have missed a package) machine. I have
tried updating everything via yum to see if there was an old version of
something that might have been fixed by an update.
Thankfully, this is a development box, so if I don't get this resolved
in the next couple days, I'll probably just nuke it and start again,
building the RPMS on it so I make sure I satisfy all dependencies. I
just don't really understand what's going on in the alias magic, so I
don't know where to look.
>
>
>
> -------------------------------------------------------
> 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
-------------------------------------------------------
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