Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Postfix configuration: Sending mail via external server

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2005, 11:54 PM
Default Postfix configuration: Sending mail via external server



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



David Allen
Reply With Quote
  #2  
Old 02-25-2005, 02:30 AM
Matt
Guest
 
Posts: n/a
Default Re: Postfix configuration: Sending mail via external server

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/patr...tter/smtpauth/

Specifically section 16 :

http://postfix.state-of-mind.de/patr...ilservers.html

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

--
- Matt -
Reply With Quote
  #3  
Old 02-25-2005, 11:44 AM
Dan
Guest
 
Posts: n/a
Default Re: Postfix configuration: Sending mail via external server

On 24 Feb 2005 15:54:18 -0800, "David Allen" <(E-Mail Removed)> 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


Reply With Quote
  #4  
Old 02-25-2005, 01:26 PM
Dan
Guest
 
Posts: n/a
Default Re: Postfix configuration: Sending mail via external server

On 24 Feb 2005 15:54:18 -0800, "David Allen" <(E-Mail Removed)> 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


Reply With Quote
  #5  
Old 02-25-2005, 02:44 PM
David Allen
Guest
 
Posts: n/a
Default Re: Postfix configuration: Sending mail via external server

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

Thanks!

-- Gokmop

Reply With Quote
Reply

Tags
configuration, external, mail, postfix, sending, server

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 06:57 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.