Networking Forums

Networking Forums > Computer Networking > Linux Networking > Postfix configuration: Sending mail via external server

Reply
Thread Tools Display Modes

Postfix configuration: Sending mail via external server

 
 
David Allen
Guest
Posts: n/a

 
      02-24-2005, 10:54 PM
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
 
 
 
 
Matt
Guest
Posts: n/a

 
      02-25-2005, 01:30 AM
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
 
Dan
Guest
Posts: n/a

 
      02-25-2005, 10:44 AM
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
 
Dan
Guest
Posts: n/a

 
      02-25-2005, 12:26 PM
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
 
David Allen
Guest
Posts: n/a

 
      02-25-2005, 01:44 PM
That's exactly what I needed. I set it up, and it works now.

Thanks!

-- Gokmop

 
Reply With Quote
 
 
 
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending e-mail via domain server using Be Doughboy Broadband 10 05-02-2008 11:51 AM
Hosting Own Postfix Mail Server John Tilly Linux Networking 8 09-14-2007 03:35 AM
mail server behind router port forwarding 25 domain static ip postfix lonux linux konqueror in progress Linux Networking 1 06-22-2007 01:28 PM
SMTP server not sending mail Devapriya De Silva Windows Networking 4 08-17-2004 02:05 AM
Problems Using external IMAP mail server Vijay Sankaran Broadband Hardware 10 04-22-2004 02:25 AM



1 2 3 4 5 6 7 8 9 10 11