> Matus UHLAR - fantomas writes:
>> does the name in defaultdomain really NEED to be in locals/hosteddomains, as
>> mentioned in courierd man page?
[...]
>> Is there any problem with such setup I don't see? Can it generate duplicate
>> message-ids?
On 28.02.11 18:32, Sam Varshavchik wrote:
> defaultdomain gets appended to addresses in mail headers that do not
> specify a FQDN. If defaultdomain is not in locals, then if someone
> replies to such an address Courier will not recognize the domain as a
> local domain, and, by default, reject it unless other arrangements are
> made for that domain.
So, as I understand it, the defaultdomain gets appended to all addresses
without domain name in headers and envelope, and the mail is handles as if
it was sent from/to those addresses. If those addresses are not local,
courier will deliver them using standard way (e.g. using smtp). And replies
"back" to those addresses would go
Is my understanding correct?
If so, then the "must" could be changed to "should", or the following
section in the courier(8) man page could be changed just to warn admin about
consequences of undeliverability of mail to those domain:
Note
The mail domain in defaultdomain must be one of the local
domains, as defined by the locals and the hosteddomains control
files.
> Similarly, defaultdomain is used in addresses that are specified in the
> aliases file, if they do not specify a domain. So, if the recipient
> address is domain-less, defaultdomain gets added, and the correct alias
> is found. If the address is one of the addressed being aliased to,
> Courier will then try to deliver mail to that domain via smtp.
the 'me' documentation in courier(8) man page indicates that it's the 'me'
what is used for addresses without domains in aliases (maybe by makealiases
command?):
Warning
If you change the contents of this configuration file, you must
run the makealiases command again, else your mail will promptly
begin to bounce. If you don´t have this configuration file
defined, and you change the system´s network host name, you
also must run makealiases.
--
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
He who laughs last thinks slowest.
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users