Reference: http://www.sendmail.org/virtual-hosting.html



Hi all,

Our ISP, ene.es, uses sendmail from woody as SMTP server. We have added
virtual domain support. See attached the sendmail.mc file. It works for
incoming emails. We want now the user MJ go out as [EMAIL PROTECTED] instead
of [EMAIL PROTECTED]


I have added to sendmail.mc this two lines:
FEATURE(`genericstable', `hash /etc/mail/genericstable')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl

I have made a '/etc/mail/genericstable' file with two lines:
mj [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]

I have made a '/etc/mail/generics-domains' empty file to avoid an warning.

I have executed sendmailconfig and checked with a 'telnet localhost 25'
EHLO localhost
MAIL FROM: [EMAIL PROTECTED]
RCPT TO: [EMAIL PROTECTED]
DATA
QUIT

and the email go out as [EMAIL PROTECTED]


Maybe, is this due to that our SMTP does not support AUTH mechanism?.

Any tip?

Regards,
Davi Leal

Attachment: sendmail.mc
Description: Binary data

Reply via email to