From owner-freebsd-questions@FreeBSD.ORG Tue Sep 2 02:54:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0D6516A4BF for ; Tue, 2 Sep 2003 02:54:26 -0700 (PDT) Received: from s01.wordhouse.nl (whouse.demon.nl [212.238.158.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4490E43FD7 for ; Tue, 2 Sep 2003 02:54:25 -0700 (PDT) (envelope-from ANTIGEN_S01@WordHouse.nl) Received: by s01.wordhouse.nl with Internet Mail Service (5.5.2653.19) id ; Tue, 2 Sep 2003 11:54:18 +0200 Message-ID: <13B75C2AC80E134A8159306A62B16259B957F0@s01.wordhouse.nl> From: ANTIGEN_S01 To: "'freebsd-questions@freebsd.org'" Date: Tue, 2 Sep 2003 11:54:17 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C37138.2CB3BD30" Subject: Antigen forwarded attachment X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2003 09:54:26 -0000 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--