Matus UHLAR - fantomas writes:
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 goIs my understanding correct?
Pretty much. Of course, this is subject to what Courier would normally do when given the recipient address (which depends on whether the sending has
relaying privileges).
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.
Actually it's both, since if defaultdomain does not exist, me gets used.
pgpbhaCYjFJSc.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 [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
