|
Setting up/running an email service If you're setting up an email service from scratch, or running one, exchange ideas and tips with other Webmasters here... |
|
Thread Tools |
15 Oct 2016, 12:09 AM | #1 | ||||
Junior Member
Join Date: Oct 2016
Posts: 3
|
Noob problem with relay outgoing mail through ISP
Hello guys,
I pretty new on setting up webservices and i only have basic (CCNA 1º module) knowledge on networks , and i am trying to set one web service on a local server, to receive and send mail through an mail server hosted in my ISP. Setup: - OSX - Roundcubemail - Server app - Dinamic IP with No-IP link Here is my default.inc.php: Quote:
Quote:
And If i change those to default: Quote:
Quote:
Last edited by SipriusPT : 15 Oct 2016 at 12:42 AM. |
||||
15 Oct 2016, 02:05 AM | #2 |
Junior Member
Join Date: Oct 2016
Location: CZ & USA
Posts: 21
|
Mailservers don't allow you to send emails to outside domains/mailservers without authentication; otherwise it would be an open relay!
Authenticate using PHPMailer or similar. Example below: $mailServerType = 'smtp'; $smtp_server = 'example.mymailcheap.com'; $smtp_user = 'user1@example.com'; $smtp_pw = 'UserPassword'; $smtp_port = 587; $smtp_security = 'tls'; |
17 Oct 2016, 05:10 PM | #3 | ||||
Junior Member
Join Date: Oct 2016
Posts: 3
|
Quote:
Do i need to create a dedicated script for it? because i think it should authenticate through default.inc.php (as you can see above) =/ Do i need some kind of key to sign my mails? I have read a lot of stuff from SPF and DKIM but i dont know if that is the problem,or if i can solve it with that, and if yes how can i do it. UPDATE1: I have activated a smtp log: Quote:
I have people in this network working with outlook, and they use their creds both to SMTP and IMAP :-\ Now i am almost 100% that the problem must be from my local server. UPDATE3: It seems that i have bypass those errors, but still i am not receiving any mails in the outside email account, i am just able to send mails inside of my ISP. What i have done was playing with mail server link, this was the set: config.inc.php: Quote:
Quote:
Last edited by SipriusPT : 18 Oct 2016 at 12:13 AM. |
||||
18 Oct 2016, 08:24 PM | #4 |
Junior Member
Join Date: Oct 2016
Posts: 3
|
I FINALLY found what was doing this, it was my server app, i had to leave Mail turned on but without any relay outgoing mail through ISP activated, and i could not leave Mail turned off.
|