HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Need to use the SMTP from my home PC (http://www.howtoforge.com/forums/showthread.php?t=54776)

sspitfire 4th November 2011 15:30

Need to use the SMTP from my home PC
 
Hi. I have a VPS with Ubuntu LAMP 10.4; Postfix; courier; IMAP I can send and receive emails on it, but when I try to use it w/ Thunderbird or Outlook from my home PC I get:
Code:

554 5.7.1 : Relay access denied
Also when I try to telnet from my windows PC i get
Code:

Could not open connection to the host on port 23. Connect failed
Whats the proper settings of Postfix to achive this? and what port to use? I guess its 110 for pop3 ?

sspitfire 4th November 2011 18:09

bump... anyone?

edge 4th November 2011 18:14

Did you enable "My outgoing server (SMPT) requires authentication", and set it to "Use same settings as my incoming mail server"?

sspitfire 4th November 2011 18:27

Quote:

Originally Posted by edge (Post 266747)
Did you enable "My outgoing server (SMPT) requires authentication", and set it to "Use same settings as my incoming mail server"?

how would I do it? Currently it's not an open relay if thats your question.

kevin.cousins 4th November 2011 20:43

Quote:

Originally Posted by sspitfire (Post 266722)
Also when I try to telnet from my windows PC i get
Code:

Could not open connection to the host on port 23. Connect failed
Whats the proper settings of Postfix to achive this? and what port to use? I guess its 110 for pop3 ?

The proper port for SMTP and Telnet is port 25.

Quote:

Originally Posted by sspitfire (Post 266749)
how would I do it? Currently it's not an open relay if thats your question.

In Outlook: Change E-mail Account ===> More Settings ... ===> Outgoing Server ===> My outgoing server (SMTP) requires authentication ===> Use same settings as my incoming server.

sspitfire 5th November 2011 00:04

I did it and I get error: The mail server responded: 5.7.1 Relay access denied. Cannot deliver to xxx@gmail.com Please check your recepient. I think the problem is in the postfix configuration.

falko 5th November 2011 12:34

Please check if your server is blacklisted: http://mxtoolbox.com/blacklists.aspx

sspitfire 5th November 2011 12:43

Quote:

Originally Posted by falko (Post 266776)
Please check if your server is blacklisted: http://mxtoolbox.com/blacklists.aspx

The IP is clean. The problem is in the postfix config. can some1 tell me the proper config pls so I can use my server as a relay and send from my home PC w/ Thunderbird or Outlook. With Thunderbird I can connect to the server and see the messages in the inbox and read them, but when I try to send mail I get the above mentioned error

falko 6th November 2011 12:10

Did you enable "Server requires authentication" in your email client?

What's in your main.cf?

Where is the server hosted? Does it have a static or dynamic IP?

pattone 9th November 2011 18:00

How do you setup your smtp relay?? you could take a look at http://www.howtoforge.com/postfix_re...her_mailserver

Do you know if your ISP don't block your port 25 (many ISPs does) you could try smtp submission to use port 587 instead, just edit master.cf of postfix configuration and uncomment th line that says

Code:

submission inet n      -      -      -      -      smtpd
in


All times are GMT +2. The time now is 04:47.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.