Of course you could all just RTFM:

http://www.postfix.org/BASIC_CONFIGURATION_README.html#relayhost

"What delivery method: direct or indirect  
By default, Postfix tries to deliver mail directly to the Internet.
Depending on your local conditions this may not be possible or
desirable. For example, your system may be turned off outside office
hours, it may be behind a firewall, or it may be connected via a
provider who does not allow direct mail to the Internet. In those cases
you need to configure Postfix to deliver mail indirectly via a relay
host. 

Examples (specify only one of the following): 

        /etc/postfix/main.cf:
            relayhost =                   (default: direct delivery to Internet)
            relayhost = $mydomain         (deliver via local mailhub)
            relayhost = [mail.$mydomain]  (deliver via local mailhub)
            relayhost = [mail.isp.tld]    (deliver via provider mailhub)

The form enclosed with [] eliminates DNS MX lookups. Don't worry if you
don't know what that means. Just be sure to specify the [] around the
mailhub hostname that your ISP gave to you, otherwise mail may be
mis-delivered. "

Then postfix will relay all mail through your ISP, just like any old
mail client that is set to your ISP's smtp server.


On Tue, 2005-09-06 at 10:18 -0500, John Jolet wrote:
> On Tuesday 06 September 2005 08:24, [EMAIL PROTECTED] wrote:
> > Hello.
> >
> > I am looking for a posftix configuration for
> > my computer, which receives a dynamic IP through
> > adsl.
> >
> > 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).
> >
> > Maybe someone can send me a postfix configuration
> > for that.
> just add the destination pattern to /etc/postfix/transport (for instance 
> sbcglobal.net smtp:smtp-server.austin.rr.com, is what I have for one, since 
> my "official" smtp server is stmp-server.austin.rr.com).  then run postmap 
> transport and reload postfix.
> -- 
> John Jolet
> Your On-Demand IT Department
> 512-762-0729
> www.jolet.net
> [EMAIL PROTECTED]
-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list

Reply via email to