From owner-freebsd-questions Sat Feb 16 21:21:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp013.mail.yahoo.com (smtp013.mail.yahoo.com [216.136.173.57]) by hub.freebsd.org (Postfix) with SMTP id 0453037B400 for ; Sat, 16 Feb 2002 21:21:28 -0800 (PST) Received: from dhcp-8-15.slidell.charter-ala.com (HELO gforce.johnson.home) (24.158.214.244) by smtp.mail.vip.sc5.yahoo.com with SMTP; 17 Feb 2002 05:21:27 -0000 Date: Sat, 16 Feb 2002 23:21:26 -0600 From: Glenn Johnson To: questions@freebsd.org Subject: more than one SMART_HOST for sendmail Message-ID: <20020216232126.A1193@gforce.johnson.home> Disposition-Notification-To: Glenn Johnson References: <20020216231825.A1180@gforce.johnson.home> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <20020216231825.A1180@gforce.johnson.home>; from glennpj100@yahoo.com on Sat, Feb 16, 2002 at 23:18:25 -0600 X-Mailer: Balsa 1.3.1 Lines: 24 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Due to my ISP removing reverse DNS records from their mail cluster machines I can not send mail to the FreeBSD lists using their SMTP server as a SMART_HOST. I have complained but I do not know how long it will take them to fix it, if they ever do. What I am trying to set up is using my Yahoo! account to send e-mail to FreeBSD lists. What I need to do is have my sendmail configuration handle the following: [1] When my 'From:' header is "glennpj@charter.net", use my ISP's SMTP server as a SMART_HOST, or just have no SMART_HOST host set. [2] When my 'From:' header is "glennpj100@yahoo.com", use the yahoo SMTP server as my SMART_HOST. I have verified that I can send mail via the yahoo SMTP server with the balsa mail client but I want to make have sendmail do it so it will be independent of the client. I looked at the mailertable feature but that seems to deal with incoming messages, not outgoing. Can anybody help? Thanks. -- Glenn Johnson glennpj@charter.net _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message