From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1ECfkU-0007Ev-OU for garchives@archives.gentoo.org; Tue, 06 Sep 2005 15:52:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j86Flksv019786; Tue, 6 Sep 2005 15:47:46 GMT Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j86Fd4TS020167 for <gentoo-user@lists.gentoo.org>; Tue, 6 Sep 2005 15:39:04 GMT Received: from mail.joat.com ([71.114.131.89]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IME00J1RJMLV9F3@vms048.mailsrvcs.net> for gentoo-user@lists.gentoo.org; Tue, 06 Sep 2005 10:42:22 -0500 (CDT) Received: from localhost (cornholio.joat.com [127.0.0.1]) by mail.joat.com (Postfix) with ESMTP id D8B275519 for <gentoo-user@lists.gentoo.org>; Tue, 06 Sep 2005 11:42:20 -0400 (EDT) Received: from mail.joat.com ([127.0.0.1]) by localhost (cornholio [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13007-06 for <gentoo-user@lists.gentoo.org>; Tue, 06 Sep 2005 11:42:16 -0400 (EDT) Received: from cdnebinge (jnet.state.pa.us [206.224.31.162]) by mail.joat.com (Postfix) with ESMTP for <gentoo-user@lists.gentoo.org>; Tue, 06 Sep 2005 11:42:16 -0400 (EDT) Date: Tue, 06 Sep 2005 11:43:50 -0400 From: "Dave Nebinger" <dnebinger@joat.com> Subject: RE: [gentoo-user] Postfix configuration in server with dynamic IP In-reply-to: <20050906151935.GA4358@malaquias> To: <gentoo-user@lists.gentoo.org> Message-id: <00bd01c5b2f9$c7a187a0$4501010a@jnetlab.lcl> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Mailer: Microsoft Outlook, Build 10.0.6626 Content-type: text/plain; charset=us-ascii Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal DomainKey-Signature: a=rsa-sha1; b=NvSbBrOJrWeEcGKOE+1p9aMiDWPVIa1vFUEYiKf9o2mGRvusngcBoSfQbkFT79HpFq7EbFDqy25K13+EWJR125hPh0ZsyvZw07SNm/eAZ2zefxHvZo0UHnfDTCJegQqG88mWf6lpER/KP7UWko59P7h+ho+H7onu7zOv9CD1UXI=; c=nofws; d=joat.com; q=dns; s=selector1 X-Virus-Scanned: amavisd-new 2.3.2 (20050629) at joat.com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j86Fd4TS020167 X-Archives-Salt: b0d6a125-33dd-4db9-8b4d-cb431de40921 X-Archives-Hash: 66d482626060ff7eb64b73c752563ccc > My main problem is that ... > > > > Currently I am using postfix for sending mail from > > > this computer, but most of the time the IP I > > > receive from my ISP is blacklisted and is rejected > > > on some destinations. So I want to use my ISP > > > mail server for sending mail (with athentication). > > This blacklisted IP I receive from my ISP is > a problem I do not know how to solve. That's how the relayhost option in main.cf comes into play. All email originating from your server will be routed through the ISP's mail server which should not be blacklisted. So all of your email, regardless of where it is going, will pass up through your ISP's mail server to be delivered along to the final destination. > > There's a couple of steps that you'll need to take to get mail from your > > system piped through your ISP: > > > > 1. /etc/postfix/sasl_passwd: Edit this file to include a line like: > > mail.myisp.net username:password > > Is it possible to use different authentications > for diferent users on my computers? There are > 5 users, and each user has his own email account > in the ISP. All you're doing with this configuration is passing email from your server up to the ISP for delivery to the final destination; it is not going to be altered by the ISP's mail server to change who the message originates from, so it doesn't matter which account the email passes through. > [...] > > VERY IMPORTANT NOTE: Be sure that you're not running an open mail relay > > (lots of info via google about how to ensure postfix is not an open mail > > relay). Once this setup is complete, if you were open, spammers could > route > > mail through your server which relays through your ISP. From your ISP's > > perspective you're sending the spam yourself and they could throw you > > offline. > > Is the following lines in main.cf enough to prevent that? > > mynetworks_style = host > relay_domains = Nope, you'll want to check http://www.postfix.org/SMTPD_ACCESS_README.html for info regarding relays. It basically controls who can relay mail through the server. For example, I'm actually away from home but can relay through my box because I've got it set up to allow my authenticated smtp relay connection. -- gentoo-user@gentoo.org mailing list