On Mon, February 26, 2007 1:25 pm, Eur Ing Chris Green wrote:
On Mon, Feb 26, 2007 at 12:52:08PM -0000, Mark Ridley wrote:
How do I tell sendmail that localhost is 'here'? Even better would be if I could tell sendmail that home.isbd.net is 'here' too but maybe that's expecting too much!
Add domains that are local to local-host-names.
-bash-2.05b$ cat /etc/mail/local-host-names # local-host-names - include all aliases for your machine here.
I've already done that:-
home# more /etc/mail/local-host-names # names of hosts for which we receive email home.isbd.net
It's surely not necessary/useful to put localhost in there it it?
No, you can edit sendmail.mc, so the following line looks:
dnl # Also accept email sent to "localhost.localdomain" as local email. dnl # LOCAL_DOMAIN(`localhost.localdomain')dnl
Then:
m4 sendmail.mc > sendmail.cf (this overwrites/autogenerates sendmail.cf)
Then restart sendmail.
Cheers.
-Mark
----------------------------------------------------------- This message may contain confidential and/or privileged information. This information is intended to be read only by the individual or entity to whom it is addressed. If you are not the intended recipient, you are on notice that any review, disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete or destroy any copy of this message.