Page 1 of 1

mail to unknown user in local domain is relayed to smarthost

Posted: Fri Feb 22, 2008 2:32 pm
by ebhannes
Hi there,

subject: mail from internal users to unknown users of the same domain (or to a second domain which is mapped by scalix)is relayed to smarthost.

is there any chance to restrict any lookups for own domains? Only possible with catchall-adresses for own domains? every email FROM our domains TO our domains should not leave Scalix.

Thanks for your help
Hannes

Posted: Mon Feb 25, 2008 3:38 am
by Valerion
Your local-host-names list is incorrect. Add the domain there, otherwise sendmail doesn't know it's the final delivery point.

Posted: Mon Feb 25, 2008 4:26 am
by ebhannes
Hi Valerion,

could you tell me, how to do that?
first entry in /etc/hosts is localhost, then ip with hostname, then ip for mx or forwarder.

Thanks

Posted: Mon Feb 25, 2008 5:05 am
by Valerion
/etc/mail/local-host-names. You must list your domains you are authoritative for in there (ie, if you don't know the address, it should bounce).

Posted: Mon Feb 25, 2008 5:43 am
by ebhannes
That did the trick.

Thanks very much
Hannes