Matus UHLAR - fantomas writes:
Hello,
does the name in defaultdomain really NEED to be in locals/hosteddomains, as
mentioned in courierd man page?
We have MX backups who should forward all mail (even locally generated) to
mailhubs where it would be processed and delivered.
I'm thinking that even things like aliases should be expanded as those
mailhubs.
(One thing I'd like to achieve is to have hostname at those servers, so
nobody would accidentally send mail directly to to them from outside)
Is there any problem with such setup I don't see? Can it generate duplicate
message-ids?
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.
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.
So, if you do not list defaultdomain in locals (or hosteddomains), the world
is not going to come to an end, you just have to understand what happens if
someone would attempt to send mail to the resulting address, and if that
would be the right thing to do.
pgpGh37OFoH6Z.pgp
Description: PGP signature
--
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
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users