[GH-ISSUE #1663] I can send emails #1307

Closed
opened 2026-02-27 11:16:26 +03:00 by kerem · 10 comments
Owner

Originally created by @RemisSeguro on GitHub (Jan 25, 2019).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1663

Impacted versions

  • Modoboa: 1.13.0
  • installer used: Yes
  • Webserver: Nginx/Apache

Steps to reproduce

Current behavior

hello, i install in digitalocean modoboa, the installation was perfect, I can receive emails but I can not send, maybe the error is because of the SMTP configuration, I made the steps with letsencrypt for SSL, I need this urgent, I hope you can help me

Expected behavior

be able to send messages without problems

Video/Screenshot link (optional)

Originally created by @RemisSeguro on GitHub (Jan 25, 2019). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1663 # Impacted versions * Modoboa: 1.13.0 * installer used: Yes * Webserver: Nginx/Apache # Steps to reproduce # Current behavior hello, i install in digitalocean modoboa, the installation was perfect, I can receive emails but I can not send, maybe the error is because of the SMTP configuration, I made the steps with letsencrypt for SSL, I need this urgent, I hope you can help me # Expected behavior be able to send messages without problems # Video/Screenshot link (optional)
kerem closed this issue 2026-02-27 11:16:26 +03:00
Author
Owner

@RemisSeguro commented on GitHub (Jan 28, 2019):

news? Help me please

<!-- gh-comment-id:458134013 --> @RemisSeguro commented on GitHub (Jan 28, 2019): news? Help me please
Author
Owner

@tonioo commented on GitHub (Jan 28, 2019):

@RemisSeguro Do you have any error message to show? I don't know digitalocean but have checked it is allowed to open outgoing connection to port 25?

<!-- gh-comment-id:458142473 --> @tonioo commented on GitHub (Jan 28, 2019): @RemisSeguro Do you have any error message to show? I don't know digitalocean but have checked it is allowed to open outgoing connection to port 25?
Author
Owner

@RemisSeguro commented on GitHub (Jan 28, 2019):

hello thank you for answering. How would I get an error log? I tried to open port 25, but I have the firewall disabled, something you need to help me? regards

<!-- gh-comment-id:458166345 --> @RemisSeguro commented on GitHub (Jan 28, 2019): hello thank you for answering. How would I get an error log? I tried to open port 25, but I have the firewall disabled, something you need to help me? regards
Author
Owner

@tonioo commented on GitHub (Jan 28, 2019):

Logs should be available in /var/log/mail.log file.

<!-- gh-comment-id:458170222 --> @tonioo commented on GitHub (Jan 28, 2019): Logs should be available in /var/log/mail.log file.
Author
Owner

@RemisSeguro commented on GitHub (Jan 28, 2019):

Yes, apparently I have problems to connect to port 25 of gmail,now I attach a log

<!-- gh-comment-id:458180442 --> @RemisSeguro commented on GitHub (Jan 28, 2019): Yes, apparently I have problems to connect to port 25 of gmail,now I attach a log
Author
Owner

@RemisSeguro commented on GitHub (Jan 28, 2019):

After this operation, 73.7 kB of additional disk space will be used.
Get:1 http://mirrors.digitalocean.com/ubuntu xenial/universe amd64 xsel amd64 1. 2.0-2 [20.6 kB]
Fetched 20.6 kB in 0s (1,173 kB/s)
Selecting previously unselected package xsel.
(Reading database ... 68441 files and directories currently installed.)
Preparing to unpack .../xsel_1.2.0-2_amd64.deb ...
Unpacking xsel (1.2.0-2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up xsel (1.2.0-2) ...
root@mail:~# xsel --clipboard < /var/log/mail.log
xsel: Can't open display: (null)
Connection refused
root@mail:# nano /var/log/mail.log
root@mail:
#
root@mail:~# nano /var/log/mail.log
Use "fg" to return to nano.

[1]+ Stopped nano /var/log/mail.log
root@mail:# nano /var/log/mail.log
root@mail:
#
root@mail:# nano /var/log/mail.log
root@mail:
# clear
root@mail:~# nano /var/log/mail.log
GNU nano 2.5.3 File: /var/log/mail.log

Jan 27 07:02:53 mail postfix/qmgr[2676]: 22357BEF6B: from=info@remisseguro.com.ar, size=1122, nrcpt=1 (queue active)
Jan 27 07:02:53 mail postfix/qmgr[2676]: B8E5BBEF60: from=info@remisseguro.com.ar, size=1043, nrcpt=1 (queue active)
Jan 27 07:03:23 mail postfix/smtp[2638]: connect to gmail-smtp-in.l.google.com[173.194.205.27]:25: Connection timed out
Jan 27 07:03:23 mail postfix/smtp[2639]: connect to gmail-smtp-in.l.google.com[173.194.205.27]:25: Connection timed out
Jan 27 07:03:53 mail postfix/smtp[2638]: connect to alt1.gmail-smtp-in.l.google.com[172.217.192.26]:25: Connection timed out
Jan 27 07:03:53 mail postfix/smtp[2639]: connect to alt1.gmail-smtp-in.l.google.com[172.217.192.27]:25: Connection timed out
Jan 27 07:04:23 mail postfix/smtp[2638]: connect to alt2.gmail-smtp-in.l.google.com[209.85.203.27]:25: Connection timed out
Jan 27 07:04:23 mail postfix/smtp[2639]: connect to alt2.gmail-smtp-in.l.google.com[209.85.203.27]:25: Connection timed out
Jan 27 07:04:53 mail postfix/smtp[2638]: connect to alt3.gmail-smtp-in.l.google.com[173.194.76.27]:25: Connection timed out
Jan 27 07:04:53 mail postfix/smtp[2639]: connect to alt3.gmail-smtp-in.l.google.com[173.194.76.27]:25: Connection timed out
Jan 27 07:05:23 mail postfix/smtp[2638]: connect to alt4.gmail-smtp-in.l.google.com[108.177.127.27]:25: Connection timed out
Jan 27 07:05:23 mail postfix/smtp[2639]: connect to alt4.gmail-smtp-in.l.google.com[108.177.127.26]:25: Connection timed out
Jan 27 07:05:23 mail postfix/smtp[2638]: 22357BEF6B: to=sartin.consultas@gmail.com, relay=none, delay=133032, delays=132882/0.07/150/0, dsn=4.4.1, status=deferred (con$
Jan 27 07:05:23 mail postfix/smtp[2639]: B8E5BBEF60: to=sartin.consultas@gmail.com, relay=none, delay=133334, delays=133184/0.02/150/0, dsn=4.4.1, status=deferred (con$
Jan 27 07:12:44 mail postfix/submission/smtpd[3869]: connect from unknown[125.64.94.208]
Jan 27 07:12:44 mail postfix/submission/smtpd[3869]: warning: connect to Milter service inet:127.0.0.1:12345: Connection refused
Jan 27 07:12:45 mail postfix/submission/smtpd[3869]: lost connection after EHLO from unknown[125.64.94.208]
Jan 27 07:12:45 mail postfix/submission/smtpd[3869]: disconnect from unknown[125.64.94.208] ehlo=0/1 commands=0/1
Jan 27 07:15:16 mail postfix/postscreen[4223]: CONNECT from [2.201.42.156]:39338 to [157.230.216.197]:25
Jan 27 07:15:16 mail postfix/dnsblog[4226]: addr 2.201.42.156 listed by domain zen.spamhaus.org as 127.0.0.11
Jan 27 07:15:19 mail postfix/postscreen[4223]: HANGUP after 3.1 from [2.201.42.156]:39338 in tests before SMTP handshake
Jan 27 07:15:19 mail postfix/postscreen[4223]: DISCONNECT [2.201.42.156]:39338
Jan 27 07:16:05 mail postfix/anvil[3871]: statistics: max connection rate 1/60s for (submission:125.64.94.208) at Jan 27 07:12:44
Jan 27 07:16:05 mail postfix/anvil[3871]: statistics: max connection count 1 for (submission:125.64.94.208) at Jan 27 07:12:44
Jan 27 07:16:05 mail postfix/anvil[3871]: statistics: max cache size 1 at Jan 27 07:12:44
Jan 27 07:22:54 mail postfix/qmgr[2676]: 8E7CBBEF5C: from=info@remisseguro.com.ar, size=988, nrcpt=1 (queue active)
Jan 27 07:23:24 mail postfix/smtp[5060]: connect to gmail-smtp-in.l.google.com[172.217.197.27]:25: Connection timed out
Jan 27 07:23:54 mail postfix/smtp[5060]: connect to alt1.gmail-smtp-in.l.google.com[172.217.192.27]:25: Connection timed out
Jan 27 07:24:24 mail postfix/smtp[5060]: connect to alt2.gmail-smtp-in.l.google.com[209.85.203.27]:25: Connection timed out
Jan 27 07:24:54 mail postfix/smtp[5060]: connect to alt3.gmail-smtp-in.l.google.com[173.194.76.26]:25: Connection timed out
Jan 27 07:25:24 mail postfix/smtp[5060]: connect to alt4.gmail-smtp-in.l.google.com[108.177.127.27]:25: Connection timed out
Jan 27 07:25:24 mail postfix/smtp[5060]: 8E7CBBEF5C: to=sebassolis@gmail.com, relay=none, delay=134568, delays=134417/0.08/150/0, dsn=4.4.1, status=deferred (connect t$
Jan 27 08:12:54 mail postfix/qmgr[2676]: 22357BEF6B: from=info@remisseguro.com.ar, size=1122, nrcpt=1 (queue active)
Jan 27 08:12:54 mail postfix/qmgr[2676]: B8E5BBEF60: from=info@remisseguro.com.ar, size=1043, nrcpt=1 (queue active)
Jan 27 08:13:24 mail postfix/smtp[11261]: connect to gmail-smtp-in.l.google.com[173.194.204.27]:25: Connection timed out
Jan 27 08:13:24 mail postfix/smtp[11262]: connect to gmail-smtp-in.l.google.com[173.194.205.27]:25: Connection timed out
Jan 27 08:13:54 mail postfix/smtp[11261]: connect to alt1.gmail-smtp-in.l.google.com[172.217.192.26]:25: Connection timed out
Jan 27 08:13:54 mail postfix/smtp[11262]: connect to alt1.gmail-smtp-in.l.google.com[172.217.192.26]:25: Connection timed out
Jan 27 08:14:24 mail postfix/smtp[11261]: connect to alt2.gmail-smtp-in.l.google.com[209.85.203.27]:25: Connection timed out
Jan 27 08:14:24 mail postfix/smtp[11262]: connect to alt2.gmail-smtp-in.l.google.com[209.85.203.26]:25: Connection timed out
Jan 27 08:14:54 mail postfix/smtp[11261]: connect to alt3.gmail-smtp-in.l.google.com[173.194.76.26]:25: Connection timed out
Jan 27 08:14:54 mail postfix/smtp[11262]: connect to alt3.gmail-smtp-in.l.google.com[173.194.76.26]:25: Connection timed out
Jan 27 08:15:24 mail postfix/smtp[11261]: connect to alt4.gmail-smtp-in.l.google.com[108.177.127.27]:25: Connection timed out

<!-- gh-comment-id:458181616 --> @RemisSeguro commented on GitHub (Jan 28, 2019): After this operation, 73.7 kB of additional disk space will be used. Get:1 http://mirrors.digitalocean.com/ubuntu xenial/universe amd64 xsel amd64 1. 2.0-2 [20.6 kB] Fetched 20.6 kB in 0s (1,173 kB/s) Selecting previously unselected package xsel. (Reading database ... 68441 files and directories currently installed.) Preparing to unpack .../xsel_1.2.0-2_amd64.deb ... Unpacking xsel (1.2.0-2) ... Processing triggers for man-db (2.7.5-1) ... Setting up xsel (1.2.0-2) ... root@mail:~# xsel --clipboard < /var/log/mail.log xsel: Can't open display: (null) : Connection refused root@mail:~# nano /var/log/mail.log root@mail:~# root@mail:~# nano /var/log/mail.log Use "fg" to return to nano. [1]+ Stopped nano /var/log/mail.log root@mail:~# nano /var/log/mail.log root@mail:~# root@mail:~# nano /var/log/mail.log root@mail:~# clear root@mail:~# nano /var/log/mail.log GNU nano 2.5.3 File: /var/log/mail.log Jan 27 07:02:53 mail postfix/qmgr[2676]: 22357BEF6B: from=<info@remisseguro.com.ar>, size=1122, nrcpt=1 (queue active) Jan 27 07:02:53 mail postfix/qmgr[2676]: B8E5BBEF60: from=<info@remisseguro.com.ar>, size=1043, nrcpt=1 (queue active) Jan 27 07:03:23 mail postfix/smtp[2638]: connect to gmail-smtp-in.l.google.com[173.194.205.27]:25: Connection timed out Jan 27 07:03:23 mail postfix/smtp[2639]: connect to gmail-smtp-in.l.google.com[173.194.205.27]:25: Connection timed out Jan 27 07:03:53 mail postfix/smtp[2638]: connect to alt1.gmail-smtp-in.l.google.com[172.217.192.26]:25: Connection timed out Jan 27 07:03:53 mail postfix/smtp[2639]: connect to alt1.gmail-smtp-in.l.google.com[172.217.192.27]:25: Connection timed out Jan 27 07:04:23 mail postfix/smtp[2638]: connect to alt2.gmail-smtp-in.l.google.com[209.85.203.27]:25: Connection timed out Jan 27 07:04:23 mail postfix/smtp[2639]: connect to alt2.gmail-smtp-in.l.google.com[209.85.203.27]:25: Connection timed out Jan 27 07:04:53 mail postfix/smtp[2638]: connect to alt3.gmail-smtp-in.l.google.com[173.194.76.27]:25: Connection timed out Jan 27 07:04:53 mail postfix/smtp[2639]: connect to alt3.gmail-smtp-in.l.google.com[173.194.76.27]:25: Connection timed out Jan 27 07:05:23 mail postfix/smtp[2638]: connect to alt4.gmail-smtp-in.l.google.com[108.177.127.27]:25: Connection timed out Jan 27 07:05:23 mail postfix/smtp[2639]: connect to alt4.gmail-smtp-in.l.google.com[108.177.127.26]:25: Connection timed out Jan 27 07:05:23 mail postfix/smtp[2638]: 22357BEF6B: to=<sartin.consultas@gmail.com>, relay=none, delay=133032, delays=132882/0.07/150/0, dsn=4.4.1, status=deferred (con$ Jan 27 07:05:23 mail postfix/smtp[2639]: B8E5BBEF60: to=<sartin.consultas@gmail.com>, relay=none, delay=133334, delays=133184/0.02/150/0, dsn=4.4.1, status=deferred (con$ Jan 27 07:12:44 mail postfix/submission/smtpd[3869]: connect from unknown[125.64.94.208] Jan 27 07:12:44 mail postfix/submission/smtpd[3869]: warning: connect to Milter service inet:127.0.0.1:12345: Connection refused Jan 27 07:12:45 mail postfix/submission/smtpd[3869]: lost connection after EHLO from unknown[125.64.94.208] Jan 27 07:12:45 mail postfix/submission/smtpd[3869]: disconnect from unknown[125.64.94.208] ehlo=0/1 commands=0/1 Jan 27 07:15:16 mail postfix/postscreen[4223]: CONNECT from [2.201.42.156]:39338 to [157.230.216.197]:25 Jan 27 07:15:16 mail postfix/dnsblog[4226]: addr 2.201.42.156 listed by domain zen.spamhaus.org as 127.0.0.11 Jan 27 07:15:19 mail postfix/postscreen[4223]: HANGUP after 3.1 from [2.201.42.156]:39338 in tests before SMTP handshake Jan 27 07:15:19 mail postfix/postscreen[4223]: DISCONNECT [2.201.42.156]:39338 Jan 27 07:16:05 mail postfix/anvil[3871]: statistics: max connection rate 1/60s for (submission:125.64.94.208) at Jan 27 07:12:44 Jan 27 07:16:05 mail postfix/anvil[3871]: statistics: max connection count 1 for (submission:125.64.94.208) at Jan 27 07:12:44 Jan 27 07:16:05 mail postfix/anvil[3871]: statistics: max cache size 1 at Jan 27 07:12:44 Jan 27 07:22:54 mail postfix/qmgr[2676]: 8E7CBBEF5C: from=<info@remisseguro.com.ar>, size=988, nrcpt=1 (queue active) Jan 27 07:23:24 mail postfix/smtp[5060]: connect to gmail-smtp-in.l.google.com[172.217.197.27]:25: Connection timed out Jan 27 07:23:54 mail postfix/smtp[5060]: connect to alt1.gmail-smtp-in.l.google.com[172.217.192.27]:25: Connection timed out Jan 27 07:24:24 mail postfix/smtp[5060]: connect to alt2.gmail-smtp-in.l.google.com[209.85.203.27]:25: Connection timed out Jan 27 07:24:54 mail postfix/smtp[5060]: connect to alt3.gmail-smtp-in.l.google.com[173.194.76.26]:25: Connection timed out Jan 27 07:25:24 mail postfix/smtp[5060]: connect to alt4.gmail-smtp-in.l.google.com[108.177.127.27]:25: Connection timed out Jan 27 07:25:24 mail postfix/smtp[5060]: 8E7CBBEF5C: to=<sebassolis@gmail.com>, relay=none, delay=134568, delays=134417/0.08/150/0, dsn=4.4.1, status=deferred (connect t$ Jan 27 08:12:54 mail postfix/qmgr[2676]: 22357BEF6B: from=<info@remisseguro.com.ar>, size=1122, nrcpt=1 (queue active) Jan 27 08:12:54 mail postfix/qmgr[2676]: B8E5BBEF60: from=<info@remisseguro.com.ar>, size=1043, nrcpt=1 (queue active) Jan 27 08:13:24 mail postfix/smtp[11261]: connect to gmail-smtp-in.l.google.com[173.194.204.27]:25: Connection timed out Jan 27 08:13:24 mail postfix/smtp[11262]: connect to gmail-smtp-in.l.google.com[173.194.205.27]:25: Connection timed out Jan 27 08:13:54 mail postfix/smtp[11261]: connect to alt1.gmail-smtp-in.l.google.com[172.217.192.26]:25: Connection timed out Jan 27 08:13:54 mail postfix/smtp[11262]: connect to alt1.gmail-smtp-in.l.google.com[172.217.192.26]:25: Connection timed out Jan 27 08:14:24 mail postfix/smtp[11261]: connect to alt2.gmail-smtp-in.l.google.com[209.85.203.27]:25: Connection timed out Jan 27 08:14:24 mail postfix/smtp[11262]: connect to alt2.gmail-smtp-in.l.google.com[209.85.203.26]:25: Connection timed out Jan 27 08:14:54 mail postfix/smtp[11261]: connect to alt3.gmail-smtp-in.l.google.com[173.194.76.26]:25: Connection timed out Jan 27 08:14:54 mail postfix/smtp[11262]: connect to alt3.gmail-smtp-in.l.google.com[173.194.76.26]:25: Connection timed out Jan 27 08:15:24 mail postfix/smtp[11261]: connect to alt4.gmail-smtp-in.l.google.com[108.177.127.27]:25: Connection timed out
Author
Owner

@tonioo commented on GitHub (Jan 28, 2019):

@RemisSeguro Looks like there is a firewall somewhere...

<!-- gh-comment-id:458189484 --> @tonioo commented on GitHub (Jan 28, 2019): @RemisSeguro Looks like there is a firewall somewhere...
Author
Owner

@RemisSeguro commented on GitHub (Jan 28, 2019):

nice, the firewall is generating conflicts? How do I deactivate it? or do I access port 25? I tried to do it several times already but I have not managed to fix it

<!-- gh-comment-id:458193503 --> @RemisSeguro commented on GitHub (Jan 28, 2019): nice, the firewall is generating conflicts? How do I deactivate it? or do I access port 25? I tried to do it several times already but I have not managed to fix it
Author
Owner

@RemisSeguro commented on GitHub (Jan 28, 2019):

I found the problem, after investigating, I discovered that digitalocean blocks port 25 until 60 days have passed since I was using the service, and I sent a message to support to ask if they could enable it. thanks guys, any update I will comment

<!-- gh-comment-id:458202297 --> @RemisSeguro commented on GitHub (Jan 28, 2019): I found the problem, after investigating, I discovered that digitalocean blocks port 25 until 60 days have passed since I was using the service, and I sent a message to support to ask if they could enable it. thanks guys, any update I will comment
Author
Owner

@ikatheria commented on GitHub (Jun 20, 2022):

Modoboa stopped sending the attachment emails suddenly. Aamvis status

Jun 20 20:01:04 mailoddy.com amavis[124711]: (124711-02) (!)ESMTP ABORTING: Connection broken during DATA: at (eval 107) line 270.
Jun 20 20:01:04 mailoddy.com amavis[124711]: (124711-02) (!)ESMTP: NOTICE: ABORTING the session: Connection broken during DATA: at (eval 107) line 270.
Jun 20 20:09:23 mailoddy.com amavis[124711]: (124711-03) (!)ESMTP ABORTING: timed out during waiting for input from client
Jun 20 20:09:23 mailoddy.com amavis[124711]: (124711-03) (!)ESMTP: NOTICE: ABORTING the session: timed out during waiting for input from client
Jun 20 20:10:41 mailoddy.com amavis[124711]: (124711-05) (!)ESMTP ABORTING: Connection broken during DATA: at (eval 107) line 270.
Jun 20 20:10:41 mailoddy.com amavis[124711]: (124711-05) (!)ESMTP: NOTICE: ABORTING the session: Connection broken during DATA: at (eval 107) line 270.

without attachment emails are working fine.

<!-- gh-comment-id:1160812393 --> @ikatheria commented on GitHub (Jun 20, 2022): Modoboa stopped sending the attachment emails suddenly. Aamvis status Jun 20 20:01:04 mailoddy.com amavis[124711]: (124711-02) (!)ESMTP ABORTING: Connection broken during DATA: at (eval 107) line 270. Jun 20 20:01:04 mailoddy.com amavis[124711]: (124711-02) (!)ESMTP: NOTICE: ABORTING the session: Connection broken during DATA: at (eval 107) line 270. Jun 20 20:09:23 mailoddy.com amavis[124711]: (124711-03) (!)ESMTP ABORTING: timed out during waiting for input from client Jun 20 20:09:23 mailoddy.com amavis[124711]: (124711-03) (!)ESMTP: NOTICE: ABORTING the session: timed out during waiting for input from client Jun 20 20:10:41 mailoddy.com amavis[124711]: (124711-05) (!)ESMTP ABORTING: Connection broken during DATA: at (eval 107) line 270. Jun 20 20:10:41 mailoddy.com amavis[124711]: (124711-05) (!)ESMTP: NOTICE: ABORTING the session: Connection broken during DATA: at (eval 107) line 270. without attachment emails are working fine.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1307
No description provided.