SENDMAIL as an SMTP RELAY SERVER that can send email to internet. how?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
SENDMAIL as an SMTP RELAY SERVER that can send email to internet. how?
SENDMAIL as an SMTP RELAY SERVER that can send email to internet. how?
im using rh8..
downloaded the latest version of sendmail and installed it..
i have 2 computers here..
PC1 - 192.168.0.1 - rh8 - this should be the sendmail smtp server - dial up connection
PC2 - 192.168.0.2 - winxp - internet connection shared through PC1, both pingable
well, i just want to make PC1 as an SMTP SERVER that can send email to the internet, like sending email to kublador@yahoo.com, so PC2 will use MS OUTLOOK and set the SMTP Server to the IP or the computer name of PC1 and send the email.
well, actually, im sure that my ISP is allowing to send data through port 25, because i tried a SMTP RELAY SERVER in WindowsXP and it works, i just want to do that thing also in Redhat 8.
please help.
what should i do?
First of all I'd upgrade from sendmail to Postfix, which could be seen as a "mask" over sendmail which makes easier administration, and fixes the million bugs with sendmail.
It's an easy procedure, well documented, more secure and the most important:
No human being is able to configure sendmail. If they tell you so, they are indeed aliens. Call Mulder & Scully.
it may not be as simple as it seems. But the documentations Ive seen for postfix are a lot easier to understand. Im trying it myself now, but cant seem to gett smtp relaying to work...any ideas will be appreciated
Im using sendmail now and you have to edit the Local-host files and add the different domains. Then you have to add it to virtusertable, which I believe Postfix also uses.
Im trying to migrate to Postfix. If you can tell me how you made it work, it will be much appreciated.
Originally posted by pablob First of all I'd upgrade from sendmail to Postfix, which could be seen as a "mask" over sendmail which makes easier administration, and fixes the million bugs with sendmail.
It's an easy procedure, well documented, more secure and the most important:
No human being is able to configure sendmail. If they tell you so, they are indeed aliens. Call Mulder & Scully.
I don't think so, sendmail its easier to configure too, easy as postfix. i am using sendmail but i am not alien.
Please don't call Mulder and Scully to catch me. I am human being.
Actually with sendmail you can do a lot of thing.
If you want to use postfix, you can try www.postfix.org
Now, for being serious:
The trick fro the relay SMTP is to set all the "my_networks", "my_destinations" ,etc... in a proper way.
The Postfix documentation is very rich about it.
The permit_mynetworks restriction returns PERMIT if the IP address of the connecting client matches an IP address in $mynetworks. The reject_unauth_destination returns REJECT if the destination is not the local machine or a member of $relay_domains.
#####################################
If your ISP is filtering traffic on port 25, thus blocking you from sending outgoing mail, and so you want to configure your mailserver to relay all your mail out through your ISP's server, like they want you to. If you're running postfix, this turns out to be very easy -- in /etc/postfix/main.cf, just set the variable:
relayhost = smtp.yourisp.com
then restart postfix (/etc/init.d/postfix restart, as root).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.