Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-08-2006, 12:44 AM
|
#1
|
Member
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390
Rep:
|
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.
|
|
|
02-08-2006, 03:24 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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
|
|
|
02-08-2006, 09:23 AM
|
#3
|
Member
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390
Original Poster
Rep:
|
Ok, I got that package, is there any gremlins in sSMTP that I should be aware of?
|
|
|
02-08-2006, 09:32 AM
|
#4
|
Member
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390
Original Poster
Rep:
|
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.
|
|
|
02-08-2006, 09:53 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
02-08-2006, 11:23 AM
|
#6
|
Member
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390
Original Poster
Rep:
|
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.
|
|
|
02-08-2006, 11:27 AM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
what do you need a queue for? every just gets shot out to your isp...
|
|
|
02-08-2006, 02:01 PM
|
#8
|
Member
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|