Postfix configuration: Sending mail via external server

Discussion in 'Linux Networking' started by David Allen, Feb 24, 2005.

  1. David Allen

    David Allen Guest


    I'm looking for information on how I can configure postfix to deliver
    mail via an authenticated external mail server. I'm on a linux
    machine. Since I moved to a cable modem network (using dyndns), many
    of my mails get spamblocked due to their origin. I have the ability
    though to use my email provider's SMTP server to send mail with a
    username and password.

    I'd like to configure postfix to do this, but I don't know which
    section of the docs to look in. Relaying? How to do the

    I use fetchmail to get my mail to my local postfix, and mutt to read
    and send. Since mutt only gets the mail to my local postfix, postfix
    needs to get it to the ISP to be delivered "properly". That includes

    I'm more than willing to RTFM - just please point me to the appropriate
    section. I've configured aspects of postfix in the past, I just don't
    know what heading what I'm asking about falls under in the docs.

    Any help would be greatly appreciated.
    -- Gokmop
    David Allen, Feb 24, 2005
    1. Advertisements

  2. David Allen

    Matt Guest

    Yep, same set up here...
    SMTP Auth. I don't recall if it's in the stock postfix docs though.
    Typically with Cyrus-SASL

    Specifically section 16 :

    I've set it up a couple times, and it wasn't too difficult...
    Matt, Feb 25, 2005
    1. Advertisements

  3. David Allen

    Dan Guest

    Try adding this to your

    relayhost =

    Dan, Feb 25, 2005
  4. David Allen

    Dan Guest

    You need authentication for your pop3 mailbox, but normally you don't
    need it for smtp if you're on the same network, which you must be.
    Are you sure you need it?

    Dan, Feb 25, 2005
  5. David Allen

    David Allen Guest

    That's exactly what I needed. I set it up, and it works now.


    -- Gokmop
    David Allen, Feb 25, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.