[prev in list] [next in list] [prev in thread] [next in thread] 

List:       courier-users
Subject:    Re: [courier-users] Use of etc/locals
From:       Sam Varshavchik <mrsam () courier-mta ! com>
Date:       2022-03-04 1:26:19
Message-ID: cone.1646357179.161545.131351.1004 () monster ! email-scan ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


MK writes:

> I then changed `/usr/lib/courier/me` to `aporia.cognitivedissonance.ca` and  
> created a
> /usr/lib/courier/etc/locals like this:
>
>     cognitivedissonance.ca
>     .cognitivedissonance.ca
>     localhost
>
> Ran `makealiases` and restarted courier.  MXtoolbox was happy with this and  
> gave me all green lights, but
> courier has been rejecting all mail for cognitivedissonance.ca with  
> "Relaying denied" (so for now I've
> changed the PTR  and courier config back to the way things were).

You also need to copy locals to esmtpacceptmailfor as well, in this  
situation they should have the same exact contents. The last sentence of the  
following excerpt from the courier man page explains what happened to you.

       esmtpacceptmailfor
           This file lists all domains that the Courier mail server accepts
           mail for via ESMTP. This file is in the same format as the locals
           file. If this file is missing, the Courier mail server uses the
           single domain specified in me (or the system machine name).


[Attachment #5 (application/pgp-signature)]



_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic