1828370 Members
3135 Online
109976 Solutions
New Discussion

SMTP setting

 
SOLVED
Go to solution
ping1234
Occasional Contributor

SMTP setting

hi, I am new in using linux and have problem in smpt setting, could you please help??

I open an new a/c in outlook using the mail server ip as smpt server, please I fail to use it to sent email, what should I set??

thanks
3 REPLIES 3
Jerome Henry
Honored Contributor
Solution

Re: SMTP setting

That's normal. Sendmail only listen to local machine calls by default (avoiding spam relay). It's easy to set up : read this page about standard sendmail configurations :
http://www.europe.redhat.com/documentation/rhl7.3/rhl-rg-en-7.3/s1-email-sendmail.php3
You have to allow relaying from your machine to your provider.
You can lean only on what resists you...
ping1234
Occasional Contributor

Re: SMTP setting

Thanks your help. I have set relay already. But I have another problem now. I have to change the SMTP port other than 25 due to the ISP blocking. But it seems that changing in smtp port makes other servers refuse connection from my server. Is it impossible to use smtp port other than 25??
Jerome Henry
Honored Contributor

Re: SMTP setting

Strange ISP which blocks port 25 ! (kidding, there are many good reasons for that !)
Whatesoever, 25 is standard smtp port, 366 is mail on demand smtp relay port, but if you connect your outlook to him, do not forget that you'll use pop or imp for receiving.
RE other port than 25, you can use the port you decide to, and which is not used by sth else (most of the time over port 1024), if your machines do not get this port by default, which is normal as 25 is default, you have 2 solutions : set up IPtables to masquerade requests on port 25 to your new port, or set up each client to use your new port instead of 25.
Another solution is to ask your ISP to free port 25, or know which port he uses, and set up sendmail (with the link I gave to you) to forward received requests on port 25 to your IPS IP on the port number he gives.
If one of these solutions seems to best to you and you are not sure how to set it up, let us know !
Yours
J
You can lean only on what resists you...