From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 23:34:12 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 703B816A41F for ; Wed, 7 Dec 2005 23:34:12 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F10143D99 for ; Wed, 7 Dec 2005 23:33:53 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (patr530-a048.otenet.gr [212.205.215.48]) by rosebud.otenet.gr (8.13.4/8.13.4/Debian-8) with ESMTP id jB7NXodd024649; Thu, 8 Dec 2005 01:33:51 +0200 Received: by flame.pc (Postfix, from userid 1001) id 70DCE1177A; Thu, 8 Dec 2005 01:33:04 +0200 (EET) Date: Thu, 8 Dec 2005 01:33:04 +0200 From: Giorgos Keramidas To: Michael Sherman Message-ID: <20051207233304.GA2553@flame.pc> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-questions@freebsd.org Subject: Re: postfix help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2005 23:34:12 -0000 On 2005-12-07 18:01, Michael Sherman wrote: > Hello all. > > I am trying to get postfix to relay mail through my ISP, without much > luck though. > > I installed postfix with sasl compiled in: > ldd /usr/local/libexec/postfix/smtpd > libsasl.so.8 => /usr/local/lib/libsasl.so.8 (0x280be000) > libpam.so.3 => /usr/lib/libpam.so.3 (0x280cb000) > libcrypt.so.3 => /lib/libcrypt.so.3 (0x280d2000) > libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x280eb000) > libssl.so.4 => /usr/lib/libssl.so.4 (0x280ff000) > libcrypto.so.4 => /lib/libcrypto.so.4 (0x28132000) > libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x28243000) > libc.so.6 => /lib/libc.so.6 (0x2826b000) > libldap-2.2.so.7 => /usr/local/lib/libldap-2.2.so.7 (0x28354000) > liblber-2.2.so.7 => /usr/local/lib/liblber-2.2.so.7 (0x2837e000) > > sasld is running, was started before postfix was. > ps aux | grep sasl > root 14646 0.0 0.4 1444 712 ?? Is 4:54PM 0:00.00 > /usr/local/sbin/saslauthd1 -a pam > > here is an excerpt of my main.cf > > relayhost = smtp.broadband.rogers.com > smtp_sasl_auth_enable = yes > smtp_sasl_security_options = noanonymous > smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd I think you don't need sasld for uathenticating as a client. > Yet when I try to send any mail it gets bounced back by Rogers (which > uses Yahoo for mail services) : > > tail /var/log/maillog > > Dec 7 17:46:09 mike postfix/cleanup[14941]: 70BED50856: message-id=<200512072246.jB7Mk981014938@FreeBSD> > Dec 7 17:46:09 FreeBSD postfix/qmgr[14908]: 70BED50856: from=, size=565, nrcpt=1 (queue active) > Dec 7 17:46:09 m sendmail[14938]: jB7Mk981014938: > to=msherman@gmail.com, ctladdr=michael (1001/1001), delay=00:00:00, > xdelay=00:00:00, mailer=relay, pri=30057, relay=[127.0.0.1] > [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 70BED50856) Hmm, why do I see messages from both Postfix *AND* Sendmail here? You are not running both, right?