Postfix configuration: Sending mail via external server

Postfix configuration: Sending mail via external server

Post by David Alle » Sat, 26 Feb 2005 08:54:18


Hello,

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
authentication?

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
authentication.

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
 
 
 

Postfix configuration: Sending mail via external server

Post by Matt » Sat, 26 Feb 2005 11:30:06


Yep, same set up here...


SMTP Auth. I don't recall if it's in the stock postfix docs though.


Typically with Cyrus-SASL


http://www.yqcomputer.com/

Specifically section 16 :

http://www.yqcomputer.com/

I've set it up a couple times, and it wasn't too difficult...

--
- Matt -

 
 
 

Postfix configuration: Sending mail via external server

Post by Dan » Sat, 26 Feb 2005 20:44:39


Try adding this to your main.cf

relayhost = your.isp.mail.server.com

Dan
 
 
 

Postfix configuration: Sending mail via external server

Post by Dan » Sat, 26 Feb 2005 22:26:39


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
 
 
 

Postfix configuration: Sending mail via external server

Post by David Alle » Sat, 26 Feb 2005 23:44:55

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

Thanks!

-- Gokmop