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 ?
Did you enable "My outgoing server (SMPT) requires authentication", and set it to "Use same settings as my incoming mail server"?
The proper port for SMTP and Telnet is port 25. In Outlook: Change E-mail Account ===> More Settings ... ===> Outgoing Server ===> My outgoing server (SMTP) requires authentication ===> Use same settings as my incoming server.
I did it and I get error: The mail server responded: 5.7.1 Relay access denied. Cannot deliver to [email protected] Please check your recepient. I think the problem is in the postfix configuration.
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
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?
How do you setup your smtp relay?? you could take a look at http://www.howtoforge.com/postfix_relaying_through_another_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
If I un-comment this line for port 587 to work, will port 25 still work? We use an inbound filtering company and they send to us on port 25. So our firewall rules only allow from that company on port 25. I need to be able to have our mobile users to be able to send and receive as well. So if I un-comment that line, will I accept on both port 25 and 587?
Uncommented Mail is still not send. Changed squirrelmail setup as well for use with port 587 but email is not sent/arrived.
I moved the server from a datacenter to my home. Port 25 is blocked for sending mail so I would like my server to mail using port 587. Should I use a relay server like gmail? Or can my server send mail from port 587?
Ziggo.nl is blocking a lot of ports. I think that the easiest thing to do would be to use ziggo's outgoing mailserver. (relayhost = smtp.ziggo.nl) Some more usable info (in Dutch) here: http://e2b.org/5q
Edge, tnx for your reply. When I use the relayhost of Ziggo is there a maximum of emails being sent? I could use the relay host of Gmail but the thing I have seen is that google replaces the senders email adres by my email address :-(
I'm not with Ziggo, but I'm sure that there is a cap on the amount of emails per hour. Other problem is that Ziggo's dynamic IP block is almost always blacklisted, causing other email servers to see any email from Ziggo as spam. I've never used gmail as relay host so I can not help you with the gmail problem.