[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[sendmail] Virtual domains



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 mj@forosalud.com instead
of mj@ene.es


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 mj@forosalud.com
mj@ene.es mj@forosalud.com

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: mj@forosalud.com
RCPT TO: david.leal@ene.es
DATA
QUIT

and the email go out as mj@ene.es


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 to: