Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2003 11:54:17 +0200 
From:      ANTIGEN_S01 <ANTIGEN_S01@WordHouse.nl>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Antigen forwarded attachment
Message-ID:  <13B75C2AC80E134A8159306A62B16259B957F0@s01.wordhouse.nl>

next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C37138.2CB3BD30
Content-Type: text/plain

The entire message "Need help with sendmail, smart host and genericstable",
originally sent to you by owner-freebsd-questions@freebsd.org
(owner-freebsd-questions@freebsd.org), has been forwarded to you from the
Antigen Quarantine area.
This message may have been re-scanned by Antigen and handled according to
the appropriate scan job's settings.




------_=_NextPart_000_01C37138.2CB3BD30
Content-Type: message/rfc822

From: "owner-freebsd-questions@freebsd.org"
To: freebsd-questions@freebsd.org
Subject: Need help with sendmail, smart host and genericstable
Date: Tue, 2 Sep 2003 11:54:17 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain


Hi,

I have been playing a few hours with sendmail settings, but I failed to
configure it correctly. I want to explain what I want to do. Perhaps
sendmail is the wrong tool for this.

I want to send mail from /usr/bin/mail, emacs, vi etc and forward it 
to my provider. That means, the local "From:" address and other 
headers need to be mapped to my external mail address. It is not 
enough to just rewrite the host name. The user name is also different.

I have read several documents now. The FreeBSD handbook (contains
errors with dialup configurations btw), the freebsddiary, an
explanation directly from sendmail.org and few from some universities.
I have been searching on google, but the combination of smart host
and genericstable seems very unusual.

Nothing works so far. I can see that SMART_HOST setting works, because
sendmail is always giving me MAILER-DAEMON-mails containing chat-logs 
with the external SMTP server. But the From-Line was not translated
according to my settings in /etc/mail/genericstable (yes, it contains
tabs and not spaces). GENERICS_DOMAIN_FILE is correct, too, in my
opinion.

When I remove the SMART_HOST setting. The From-lines are translated
correctly, but the mail will get bounced of course, because I'm
dialup.

The FreeBSD handbook does not mention genericstable and how it works
and if it works. I cannot see what is wrong and sendmail -bt shows
that it does not translate addresses.

Martin


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

------_=_NextPart_000_01C37138.2CB3BD30--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13B75C2AC80E134A8159306A62B16259B957F0>