On Tue, Jan 06, 2009 at 12:48:47AM -0500, Frappy John wrote: > On Mon, Jan 5, 2009 at 11:33 PM, /dev/rob0 <r...@gmx.co.uk> wrote: > > > On Mon January 5 2009 20:54:49 Frappy John wrote: > > > On Mon, Jan 5, 2009 at 9:30 AM, Tolga <to...@ozses.net> wrote: > > > > What is the directive I need to edit to have a second domain that > > > > accepts e-mail? > > > > > > I just add an entry to the local-host-names file. > > > > This is not good advice, because it depends entirely on non-default > > local settings. > > > I think that was the problem: How to add a domain to the default domain. > Adding it to the local-host-names file solves the problem very simply. Is > there are reason to make it more complicated?
This depends on something in the Postfix configuration making use of said file, which is not true in general, though it may be true of default configurations in some vendor Postfix packages. I don't even have a "local-host-names" file on my systems. Presumably this goes along with something like: mydestination = /etc/local-host-names and assumes that the latter contains a reasonably stable list of FQDNs for the system in question that at least includes the preferred system name which really should be stable on MTA for replies to saved mail to be deliverable. A better reference on this list is BASIC_CONFIGURATION_README. For platform-specific advice on basic configuration (not advanced Postfix topics) the discussion should probably be on the appropriate forum for the platform in question. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.