From: "Dave Nebinger" <dnebinger@joat.com>
To: <gentoo-user@lists.gentoo.org>
Subject: RE: [gentoo-user] Postfix configuration in server with dynamic IP
Date: Tue, 06 Sep 2005 11:43:50 -0400 [thread overview]
Message-ID: <00bd01c5b2f9$c7a187a0$4501010a@jnetlab.lcl> (raw)
In-Reply-To: <20050906151935.GA4358@malaquias>
> 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
next prev parent reply other threads:[~2005-09-06 15:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-06 13:24 [gentoo-user] Postfix configuration in server with dynamic IP romildo
2005-09-06 14:01 ` Dave Nebinger
2005-09-06 15:19 ` romildo
2005-09-06 15:43 ` Dave Nebinger [this message]
2005-09-06 16:37 ` romildo
2005-09-07 2:34 ` Ow Mun Heng
2005-09-06 15:18 ` John Jolet
2005-09-06 19:35 ` Nick Rout
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00bd01c5b2f9$c7a187a0$4501010a@jnetlab.lcl' \
--to=dnebinger@joat.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox