LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-08-2006, 12:44 AM   #1
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
Postfix to relay mail


I am overwhelmed by all the documentation out there on how to configure this package properly. I'm using postfix v2.2.5(?) and need to configure this as a server that can recieve mail and then relay that mail to my ISP's SMTP server. My ISP requires authorization and for me to use port 25.

How would I go about doing this?

I have the relayhost option set in my main.cf, but am unsure as how to proceed with the authorization(username and password)

Any insight would be most appreciated.
 
Old 02-08-2006, 03:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if all you're doing is sending out to an isp, then i wouldn't use postfix, instead look at "fake" smtp servers like esmtp or ssmtp which do nothing but relay to other servers with absolutely minimal configuration
 
Old 02-08-2006, 09:23 AM   #3
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Original Poster
Rep: Reputation: 30
Ok, I got that package, is there any gremlins in sSMTP that I should be aware of?
 
Old 02-08-2006, 09:32 AM   #4
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Original Poster
Rep: Reputation: 30
hmm... after playing with this for a while, it seems that I'll have to execute this program everytime I want mail sent, is this correct? if it is, that's not what I want to do. I want a system totally automated, that I should only need to step in if my ISP's server rejects the e-mails. That's why I liked postfix because I could manage it via webmin. I was just confused as to how to do it.
 
Old 02-08-2006, 09:53 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it emulates both commandline sendmail usage and local port 25 access. you like postfix cos you can manage it through webmin? why would you want to manage anything? if you only want an outbound realy, there's nothing to manage at all. As above, also check esmtp. to be honest i can't see the ssmtp docs confirm that it listens on port 25, but esmtp definielty does, and again, once configured, needs no management ever.
 
Old 02-08-2006, 11:23 AM   #6
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Original Poster
Rep: Reputation: 30
Why would I want to manage it? because I would be able to see the mail queue. I like being able to see if the message got sent or not or if it was timed out or what have you.
 
Old 02-08-2006, 11:27 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what do you need a queue for? every just gets shot out to your isp...
 
Old 02-08-2006, 02:01 PM   #8
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Original Poster
Rep: Reputation: 30
Lol I just like to see it work. I don't need it, but I just like being able to tell if something's working or not.

And, it seems right now that nothing's working for me. Really all I want is to be able to set up SMTP in wordpress to go to my server on port 25, and then have it relay it to my ISP, on port 25 again. I can't figure out how to do this at all. The port that wordpress talks to can't have SSL or auth enabled(the plugin i'm using doesn't support SSL), but both must be enabled to relay the mail to my ISP.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM
Postfix - relay mail to internet for specified users FatOldSun Linux - Software 2 03-21-2005 03:32 AM
Postfix, Bugzilla, and mail relay llamaindustries Linux - Software 0 02-07-2005 06:49 PM
mail relay/proxy with postfix waskelton4 Linux - Software 2 09-07-2004 11:33 AM
PostFix Mail Relay... CRCool75 Linux - Networking 4 08-20-2004 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration