SMTP Error (530) 5.7.0 Must issue a STARTTLS command first
up vote
1
down vote
favorite
I am trying to use port 587 in roundcubemail running in the same machine as my mail server, and I am always receiving this error:
SMTP Error (530): Failed to set sender "X" (5.7.0 Must issue a STARTTLS command first).
I have already changed,
smtpd_tls_security_level=encrypt
to
smtpd_tls_security_level=may
and nothing happens, and I have already 'submission' uncommented. Those was the solutions that I have found to solve this problem, but till now no result here.
Main.cf:
http://pastebin.com/aEtC0AJt
Master.cf:
http://pastebin.com/023uu2T8
System specs:
1. PHP Version 5.6.25
2. Postfix
3. MacOS 10.12
I don't know if it is related, but I cannot login through IMAP port 993.
I am only able to use ports 25 and 143 without SSL.
I cannot send mails internally, all mails pass through my ISP mail server, where my email domain is.
email postfix
add a comment |
up vote
1
down vote
favorite
I am trying to use port 587 in roundcubemail running in the same machine as my mail server, and I am always receiving this error:
SMTP Error (530): Failed to set sender "X" (5.7.0 Must issue a STARTTLS command first).
I have already changed,
smtpd_tls_security_level=encrypt
to
smtpd_tls_security_level=may
and nothing happens, and I have already 'submission' uncommented. Those was the solutions that I have found to solve this problem, but till now no result here.
Main.cf:
http://pastebin.com/aEtC0AJt
Master.cf:
http://pastebin.com/023uu2T8
System specs:
1. PHP Version 5.6.25
2. Postfix
3. MacOS 10.12
I don't know if it is related, but I cannot login through IMAP port 993.
I am only able to use ports 25 and 143 without SSL.
I cannot send mails internally, all mails pass through my ISP mail server, where my email domain is.
email postfix
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am trying to use port 587 in roundcubemail running in the same machine as my mail server, and I am always receiving this error:
SMTP Error (530): Failed to set sender "X" (5.7.0 Must issue a STARTTLS command first).
I have already changed,
smtpd_tls_security_level=encrypt
to
smtpd_tls_security_level=may
and nothing happens, and I have already 'submission' uncommented. Those was the solutions that I have found to solve this problem, but till now no result here.
Main.cf:
http://pastebin.com/aEtC0AJt
Master.cf:
http://pastebin.com/023uu2T8
System specs:
1. PHP Version 5.6.25
2. Postfix
3. MacOS 10.12
I don't know if it is related, but I cannot login through IMAP port 993.
I am only able to use ports 25 and 143 without SSL.
I cannot send mails internally, all mails pass through my ISP mail server, where my email domain is.
email postfix
I am trying to use port 587 in roundcubemail running in the same machine as my mail server, and I am always receiving this error:
SMTP Error (530): Failed to set sender "X" (5.7.0 Must issue a STARTTLS command first).
I have already changed,
smtpd_tls_security_level=encrypt
to
smtpd_tls_security_level=may
and nothing happens, and I have already 'submission' uncommented. Those was the solutions that I have found to solve this problem, but till now no result here.
Main.cf:
http://pastebin.com/aEtC0AJt
Master.cf:
http://pastebin.com/023uu2T8
System specs:
1. PHP Version 5.6.25
2. Postfix
3. MacOS 10.12
I don't know if it is related, but I cannot login through IMAP port 993.
I am only able to use ports 25 and 143 without SSL.
I cannot send mails internally, all mails pass through my ISP mail server, where my email domain is.
email postfix
email postfix
edited Jan 25 '17 at 12:17
Jeff Schaller
37.4k1052121
37.4k1052121
asked Nov 23 '16 at 10:50
SipriusPT
2119
2119
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
In regards to imap not listening on a given port: this is a completely different service. May be served by cyrus-imapd, dovecot, courrier, could also involve some imap proxy such as nginx, ... depending on your setup, there's probably something else to fix. Let us know.
Now regarding the must issue a STARTTLS
error, according to your main.cf
, we have:
mynetworks = 127.0.0.0/8, [::1]/128
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit
smtpd_recipient_restrictions = permit_sasl_authenticated
You'll probably want to add permit_mynetworks
to your smtpd_recipient_restrictions
. And also make sure your roundcube is configured to connect on 127.0.0.1
or arguably add your IP address to mynetworks
. What did you set as $config['smtp_server']
in roundcube config.php
?
Thanks for the reply SYN!Yes i know i was just letting know, because i am just not able to use (send/receive mails) both TTL/SSL ports. I forgot to mentioned that i am using dovecot to IMAP/POP. So with that error from SMTP port 587, i was not able to solve that error with adding permit_networks to smtpd_recipient_restrictions. In every smtp and imap config at roundcube i was using localhost, and it works but just for port 25.
– SipriusPT
Nov 23 '16 at 16:58
I have read somewhere that PHP version 5.6 could be doing this. I saw a workaround where someone have downgraded PHP to version 5.5 and have solve avoid this problem. But cannot find anything related, dont know if could be from PHP. I have checked php and it is being use, through LibreSSL.
– SipriusPT
Nov 23 '16 at 17:04
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
In regards to imap not listening on a given port: this is a completely different service. May be served by cyrus-imapd, dovecot, courrier, could also involve some imap proxy such as nginx, ... depending on your setup, there's probably something else to fix. Let us know.
Now regarding the must issue a STARTTLS
error, according to your main.cf
, we have:
mynetworks = 127.0.0.0/8, [::1]/128
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit
smtpd_recipient_restrictions = permit_sasl_authenticated
You'll probably want to add permit_mynetworks
to your smtpd_recipient_restrictions
. And also make sure your roundcube is configured to connect on 127.0.0.1
or arguably add your IP address to mynetworks
. What did you set as $config['smtp_server']
in roundcube config.php
?
Thanks for the reply SYN!Yes i know i was just letting know, because i am just not able to use (send/receive mails) both TTL/SSL ports. I forgot to mentioned that i am using dovecot to IMAP/POP. So with that error from SMTP port 587, i was not able to solve that error with adding permit_networks to smtpd_recipient_restrictions. In every smtp and imap config at roundcube i was using localhost, and it works but just for port 25.
– SipriusPT
Nov 23 '16 at 16:58
I have read somewhere that PHP version 5.6 could be doing this. I saw a workaround where someone have downgraded PHP to version 5.5 and have solve avoid this problem. But cannot find anything related, dont know if could be from PHP. I have checked php and it is being use, through LibreSSL.
– SipriusPT
Nov 23 '16 at 17:04
add a comment |
up vote
0
down vote
In regards to imap not listening on a given port: this is a completely different service. May be served by cyrus-imapd, dovecot, courrier, could also involve some imap proxy such as nginx, ... depending on your setup, there's probably something else to fix. Let us know.
Now regarding the must issue a STARTTLS
error, according to your main.cf
, we have:
mynetworks = 127.0.0.0/8, [::1]/128
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit
smtpd_recipient_restrictions = permit_sasl_authenticated
You'll probably want to add permit_mynetworks
to your smtpd_recipient_restrictions
. And also make sure your roundcube is configured to connect on 127.0.0.1
or arguably add your IP address to mynetworks
. What did you set as $config['smtp_server']
in roundcube config.php
?
Thanks for the reply SYN!Yes i know i was just letting know, because i am just not able to use (send/receive mails) both TTL/SSL ports. I forgot to mentioned that i am using dovecot to IMAP/POP. So with that error from SMTP port 587, i was not able to solve that error with adding permit_networks to smtpd_recipient_restrictions. In every smtp and imap config at roundcube i was using localhost, and it works but just for port 25.
– SipriusPT
Nov 23 '16 at 16:58
I have read somewhere that PHP version 5.6 could be doing this. I saw a workaround where someone have downgraded PHP to version 5.5 and have solve avoid this problem. But cannot find anything related, dont know if could be from PHP. I have checked php and it is being use, through LibreSSL.
– SipriusPT
Nov 23 '16 at 17:04
add a comment |
up vote
0
down vote
up vote
0
down vote
In regards to imap not listening on a given port: this is a completely different service. May be served by cyrus-imapd, dovecot, courrier, could also involve some imap proxy such as nginx, ... depending on your setup, there's probably something else to fix. Let us know.
Now regarding the must issue a STARTTLS
error, according to your main.cf
, we have:
mynetworks = 127.0.0.0/8, [::1]/128
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit
smtpd_recipient_restrictions = permit_sasl_authenticated
You'll probably want to add permit_mynetworks
to your smtpd_recipient_restrictions
. And also make sure your roundcube is configured to connect on 127.0.0.1
or arguably add your IP address to mynetworks
. What did you set as $config['smtp_server']
in roundcube config.php
?
In regards to imap not listening on a given port: this is a completely different service. May be served by cyrus-imapd, dovecot, courrier, could also involve some imap proxy such as nginx, ... depending on your setup, there's probably something else to fix. Let us know.
Now regarding the must issue a STARTTLS
error, according to your main.cf
, we have:
mynetworks = 127.0.0.0/8, [::1]/128
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit
smtpd_recipient_restrictions = permit_sasl_authenticated
You'll probably want to add permit_mynetworks
to your smtpd_recipient_restrictions
. And also make sure your roundcube is configured to connect on 127.0.0.1
or arguably add your IP address to mynetworks
. What did you set as $config['smtp_server']
in roundcube config.php
?
answered Nov 23 '16 at 15:16
SYN
1,844415
1,844415
Thanks for the reply SYN!Yes i know i was just letting know, because i am just not able to use (send/receive mails) both TTL/SSL ports. I forgot to mentioned that i am using dovecot to IMAP/POP. So with that error from SMTP port 587, i was not able to solve that error with adding permit_networks to smtpd_recipient_restrictions. In every smtp and imap config at roundcube i was using localhost, and it works but just for port 25.
– SipriusPT
Nov 23 '16 at 16:58
I have read somewhere that PHP version 5.6 could be doing this. I saw a workaround where someone have downgraded PHP to version 5.5 and have solve avoid this problem. But cannot find anything related, dont know if could be from PHP. I have checked php and it is being use, through LibreSSL.
– SipriusPT
Nov 23 '16 at 17:04
add a comment |
Thanks for the reply SYN!Yes i know i was just letting know, because i am just not able to use (send/receive mails) both TTL/SSL ports. I forgot to mentioned that i am using dovecot to IMAP/POP. So with that error from SMTP port 587, i was not able to solve that error with adding permit_networks to smtpd_recipient_restrictions. In every smtp and imap config at roundcube i was using localhost, and it works but just for port 25.
– SipriusPT
Nov 23 '16 at 16:58
I have read somewhere that PHP version 5.6 could be doing this. I saw a workaround where someone have downgraded PHP to version 5.5 and have solve avoid this problem. But cannot find anything related, dont know if could be from PHP. I have checked php and it is being use, through LibreSSL.
– SipriusPT
Nov 23 '16 at 17:04
Thanks for the reply SYN!Yes i know i was just letting know, because i am just not able to use (send/receive mails) both TTL/SSL ports. I forgot to mentioned that i am using dovecot to IMAP/POP. So with that error from SMTP port 587, i was not able to solve that error with adding permit_networks to smtpd_recipient_restrictions. In every smtp and imap config at roundcube i was using localhost, and it works but just for port 25.
– SipriusPT
Nov 23 '16 at 16:58
Thanks for the reply SYN!Yes i know i was just letting know, because i am just not able to use (send/receive mails) both TTL/SSL ports. I forgot to mentioned that i am using dovecot to IMAP/POP. So with that error from SMTP port 587, i was not able to solve that error with adding permit_networks to smtpd_recipient_restrictions. In every smtp and imap config at roundcube i was using localhost, and it works but just for port 25.
– SipriusPT
Nov 23 '16 at 16:58
I have read somewhere that PHP version 5.6 could be doing this. I saw a workaround where someone have downgraded PHP to version 5.5 and have solve avoid this problem. But cannot find anything related, dont know if could be from PHP. I have checked php and it is being use, through LibreSSL.
– SipriusPT
Nov 23 '16 at 17:04
I have read somewhere that PHP version 5.6 could be doing this. I saw a workaround where someone have downgraded PHP to version 5.5 and have solve avoid this problem. But cannot find anything related, dont know if could be from PHP. I have checked php and it is being use, through LibreSSL.
– SipriusPT
Nov 23 '16 at 17:04
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f325406%2fsmtp-error-530-5-7-0-must-issue-a-starttls-command-first%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown