Hi all,
I have installed Mandrake 9 with sendmail. I have configured sendmail up to a level where I can send mail. But... many mail is being rejected because the other malserver cannot verify the domain-name. I looked up why this was possible and found out that i was sending mail with the following format user@localhost.domain.com instead of user@domain.com. So.. I want to get rid of my "localhost".
Anyone ???
My sendmail.mc looks like this :
include(/usr/share/sendmail-cf/m4/cf.m4)
VERSIONID(`sendmail.mc - V1.1')
OSTYPE(linux)dnl
dnl define(`SMART_HOST',`mail.home.nl')
dnl FEATURE(`expensive')
FEATURE(`masquerade_envelope')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`local_procmail', `/usr/bin/procmail')dnl
FEATURE(`genericstable', `hash -o /etc/mail/genericstable.db')dnl
GENERICS_DOMAIN(`domain.com')dnl
MAILER(local)dnl
MAILER(smtp)dnl
LOCAL_CONFIG
Cw domain.com
I have installed Mandrake 9 with sendmail. I have configured sendmail up to a level where I can send mail. But... many mail is being rejected because the other malserver cannot verify the domain-name. I looked up why this was possible and found out that i was sending mail with the following format user@localhost.domain.com instead of user@domain.com. So.. I want to get rid of my "localhost".
Anyone ???
My sendmail.mc looks like this :
include(/usr/share/sendmail-cf/m4/cf.m4)
VERSIONID(`sendmail.mc - V1.1')
OSTYPE(linux)dnl
dnl define(`SMART_HOST',`mail.home.nl')
dnl FEATURE(`expensive')
FEATURE(`masquerade_envelope')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`local_procmail', `/usr/bin/procmail')dnl
FEATURE(`genericstable', `hash -o /etc/mail/genericstable.db')dnl
GENERICS_DOMAIN(`domain.com')dnl
MAILER(local)dnl
MAILER(smtp)dnl
LOCAL_CONFIG
Cw domain.com