Hello,

I have a strange problem with Courier aliases.  I had a mail server 
installation where aliases seemed to work correctly.  I made a complete 
server reinstall and configured Courier exactly the way I did before (I 
think).  Now aliases don’t work anymore as they should.

I basically have the following:

    * a me file with content “host.example.com”

    * a defaultdomain file with content “host.example.com”

    * a locals file with the following content:

        localhost
        host
        host.example.com

    * an aliases/system file with the following content:

        root: postmaster
        postmaster: user
        @example.com: user-example

Sending mail to user, which is an ordinary user, works fine.  However, if I 
send mail to root or postmaster, I get a log messages similar to the 
following:

    courierd: started,id=…,from=<[EMAIL PROTECTED]>,module=local,
    host=alias!root!1!1!/etc/courier/aliasdir!!,addr=<alias>

    courierlocal: id=…,from=<[EMAIL PROTECTED]>,
    addr=<[EMAIL PROTECTED]>: Unable to read .courier file.

The mail message stays in the queue.

If I change the postmaster line in the alias file to

    [EMAIL PROTECTED]: user

and run makealiases, new mail to root and postmaster is delivered.  However, 
mail to non-existent users still results in the above log messages and in the 
mail message hanging in the queue.  In addition, messages sent to root or 
postmaster before the change in the alias file still cannot be delivered and 
result in the above error messages in the logs.

I’d be grateful for any help.

Best wishes,
Wolfgang

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to