Postfix configuration: Sending mail via external server
Postfix configuration: Sending mail via external server
am 25.02.2005 00:54:18 von David Allen
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
Re: Postfix configuration: Sending mail via external server
am 25.02.2005 03:30:06 von matt
David Allen wrote:
> 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.
Yep, same set up here...
>
> I'd like to configure postfix to do this, but I don't know which
> section of the docs to look in. Relaying?
SMTP Auth. I don't recall if it's in the stock postfix docs though.
> How to do the authentication?
Typically with Cyrus-SASL
>
> 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
>
http://postfix.state-of-mind.de/patrick.koetter/smtpauth/
Specifically section 16 :
http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smt p_auth_mailservers.html
I've set it up a couple times, and it wasn't too difficult...
--
- Matt -
Re: Postfix configuration: Sending mail via external server
am 25.02.2005 12:44:39 von dan
On 24 Feb 2005 15:54:18 -0800, "David Allen" wrote:
Try adding this to your main.cf
relayhost = your.isp.mail.server.com
Dan
>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
Re: Postfix configuration: Sending mail via external server
am 25.02.2005 14:26:39 von dan
On 24 Feb 2005 15:54:18 -0800, "David Allen" wrote:
>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?
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
Re: Postfix configuration: Sending mail via external server
am 25.02.2005 15:44:55 von David Allen
That's exactly what I needed. I set it up, and it works now.
Thanks!
-- Gokmop