1 (edited by insanadair 2011-09-20 22:31:31)

Topic: [SOLVED] Error 127.0.0.1:7777: Connection refused

I have a iredmail 0.7.3 Backround Mysql  and work Debian Linux. 

I have a error below  I saw same error two months ago and  I restarted machine and fixed error but now again same error Why repatly same error How can I correct this error ?

Sep 20 16:48:57 mail postfix/smtpd[8435]: warning: connect to 127.0.0.1:7777: Connection refused
Sep 20 16:48:57 mail postfix/smtpd[8435]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Sep 20 16:48:57 mail postfix/smtpd[8435]: warning: connect to 127.0.0.1:7777: Connection refused
Sep 20 16:48:57 mail postfix/smtpd[8435]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Sep 20 16:48:58 mail postfix/smtpd[8435]: warning: connect to 127.0.0.1:7777: Connection refused
Sep 20 16:48:58 mail postfix/smtpd[8435]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Sep 20 16:49:01 mail postfix/smtpd[8210]: warning: connect to 127.0.0.1:7777: Connection refused
Sep 20 16:49:01 mail postfix/smtpd[8210]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Sep 20 16:49:02 mail postfix/smtpd[8210]: warning: connect to 127.0.0.1:7777: Connection refused
Sep 20 16:49:02 mail postfix/smtpd[8210]: warning: problem talking to server 127.0.0.1:7777: Connection refused

and

root@mail:~# python -c "import DBUtils; print DBUtils.__version__"
1.0

My main.cf into

smtpd_recipient_restrictions = ........, check_policy_service inet:127.0.0.1:7777

2

Re: [SOLVED] Error 127.0.0.1:7777: Connection refused

insanadair wrote:

Sep 20 16:49:01 mail postfix/smtpd[8210]: warning: connect to 127.0.0.1:7777: Connection refused

It means iRedAPD is not running. Please check related log in /var/log/iredapd*.log.
Also, could you please paste output of command "postconf smtpd_recipient_restrictions"?

3 (edited by insanadair 2011-09-21 15:31:50)

Re: [SOLVED] Error 127.0.0.1:7777: Connection refused

Do you see last work time  "2011-09-19 18:55:00"   than  "2011-09-20 16:49:59"   one day didnt work

/var/log/iredapd*.log.  I changed mail name

2011-09-19 18:46:02 INFO ghk@yyy.com -> mpd@xxx.com, DUNNO
2011-09-19 18:54:41 INFO ghk@yyy.com -> mpd@xxx.com, DUNNO
2011-09-19 18:55:00 INFO xansys-bounces@yyy.com -> mpd@xxx.com, DUNNO
2011-09-19 18:55:00 INFO xansys-bounces@yyy.com -> mpd@xxx.com, DUNNO
2011-09-19 18:55:00 INFO xansys-bounces@yyy.com -> mpd@xxx.com, DUNNO
2011-09-20 16:49:59 INFO Starting iredapd (v1.3.4, pid: 2856), listening on 127.0.0.1:7777.
2011-09-20 16:50:07 INFO ghk@yyy.com -> mpd@xxx.com, DUNNO
2011-09-20 16:50:11 INFO ghk@yyy.com -> mpd@xxx.com, DUNNO
2011-09-20 16:50:26 INFO ghk@yyy.com -> mpd@xxx.com, DUNNO
2011-09-20 16:50:27 INFO ghk@xxx.com -> mpd@xxx.com, DUNNO
2011-09-20 16:50:27 INFO ghk@yyy.com -> mpd@xxx.com, DUNNO
2011-09-20 16:50:38 INFO m-kjCLbr4-DSf6WY4kkEyIgm_gg77T0aK6XitHsr8assj4@bounce.linkedin.com -> mpd@xxx.com, DUNNO
2011-09-20 16:50:41 INFO ghk@yyy.com -> mpd@xxx.com, DUNNO
2011-09-20 16:50:43 INFO ghk@yyy.com -> mpd@xxx.com, DUNNO
2011-09-20 16:50:45 INFO ghk@yyy.com -> mpd@xxx.com, DUNNO
2011-09-20 16:50:58 INFO ghk@yyy.com -> mpd@xxx.com, DUNNO
2011-09-20 16:50:58 INFO ghk@yyy.com -> mpd@xxx.com, DUNNO
2011-09-20 16:51:15 INFO ghk@yyy.com -> mpd@xxx.com, DUNNO
2011-09-20 16:51:17 INFO ESC1107714920505_1103222478118_3550_r20@yyy.com -> mpd@xxx.com, DUNNO
2011-09-20 16:52:01 INFO IndustryGroup-skdkil1muhirjhdt1y@yyy.com -> mpd@xxx.com, DUNNO
2011-09-20 16:53:15 INFO ghk@yyy.com -> mpd@xxx.com, DUNNO

output of command "postconf smtpd_recipient_restrictions"

smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:127.0.0.1:7777

4

Re: [SOLVED] Error 127.0.0.1:7777: Connection refused

Still no idea about why it happened.

Default setting of Postfix "smtpd_recipient_restrictions":

reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:[127.0.0.1]:10031

5

Re: [SOLVED] Error 127.0.0.1:7777: Connection refused

replacement my setting with  your "smtpd_recipient_restrictions"  and than restart my machine and it's works

ZhangHuangbin wrote:

Still no idea about why it happened.

Default setting of Postfix "smtpd_recipient_restrictions":

reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:[127.0.0.1]:10031

==== Provide basic information to help troubleshoot ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
====