wildduck icon indicating copy to clipboard operation
wildduck copied to clipboard

Fails to send email in gmail or different domains

Open refail opened this issue 6 years ago • 13 comments

Hello, I installed wildduck in ubuntu 18.04 with quick installer. Everything installed correctly but now i can send emails only between users that i have created. If i want to send an email in my gmail account it says "success" and put the email in the "sent mail" folder but don't send it.

Thank you in advance.

refail avatar Nov 06 '19 15:11 refail

I have this issue too. I had a zone-mta error first but solved it with #109 . Now emails don't get out of outbox when I send them from Android's Gmail app, and in wild duck webmailer, mails are showed as sent but they don't reach the destination.

elberthcorniell avatar Dec 01 '19 08:12 elberthcorniell

I too have this type of issue. [email protected] cannot send email to [email protected].

ChaitanyaBhole avatar Dec 03 '19 13:12 ChaitanyaBhole

I solved this issue by following the instructions on domail.com-nameserver.txt on root directory

MX

Add this MX record to the shield.do DNS zone:

domain.com. IN MX 5 mail.domain.com.

SPF

Add this TXT record to the shield.do DNS zone:

domain.com. IN TXT "v=spf1 a:mail.domain.com domain.com ip4:10.0.0.1 ~all"

Or: domain.com. IN TXT "v=spf1 a:mail.domain.com ip4:10.0.0.1 ~all" domain.com. IN TXT "v=spf1 ip4:10.0.0.1 ~all"

elberthcorniell avatar Dec 08 '19 19:12 elberthcorniell

Hi, is this still an issue? If so, we'll need more details such as zonemta logs.

louis-lau avatar Sep 13 '20 23:09 louis-lau

Hi, is this still an issue? If so, we'll need more details such as zonemta logs.

Hey @louis-lau Were you able to fix the issues? Found any work around?

inayatu avatar Oct 17 '20 10:10 inayatu

I don't have any idea what the issue is, the info given is equivalent to "it doesn't work". Need ZoneMTA logs to help.

louis-lau avatar Oct 17 '20 10:10 louis-lau

I have the same issue. I did a fresh install, receiving works without a problem but sending mails to external domains is not working. Where do I find the logs you need to help?

felix-exon avatar Aug 12 '21 14:08 felix-exon

I'm not entirely sure where logs are stored when using the setup script, but try this: journalctl -u zone-mta

louis-lau avatar Aug 12 '21 14:08 louis-lau

Seems like everything is hitting a timeout. may it be outlook.com or my other mailserver running on a webhosting

mx01.serverdomain.com is the domain of that server. maildomain.de is a domain which MX records link to mx01.serverdomain.com (receiving works)

I've tried sending from [email protected] to gmx, outlook or mydomain.de (webhosting)

Aug 12 17:05:00 mail-customer-1 zone-mta[743]: info SMTP/feeder/743 CONNECTION id=zysxey7h4avpvvfj src=[77.247.110.122]:52684
Aug 12 17:05:27 mail-customer-1 zone-mta[744]: ERR! Sender/default/744[2] 17b3ab43e97000fb17.001 CONNFAIL domain=outlook.com local=mx01.serverdomain.com[0.0.0.0] remote=104.47.66.33:25 error=Network error when connecting to MX server outlook-com.olc.protection.outlook.com[104.47.66.33] for outlook.com: Connection timed out
Aug 12 17:05:27 mail-customer-1 zone-mta[744]: ERR! Sender/default/744[2] 17b3ab43e97000fb17.001 ERRCONNECT domain=outlook.com error=Network error when connecting to MX server outlook-com.olc.protection.outlook.com[104.47.59.161] for outlook.com: Connection timed out
Aug 12 17:05:27 mail-customer-1 zone-mta[744]: info Sender/default/744[2] 17b3ab43e97000fb17.001 DEFERRED[other] [email protected] [email protected] src= mx=outlook.com id= (450 Network error when connecting to MX server outlook-com.olc.protection.outlook.com[104.47.59.161] for outl>
Aug 12 17:06:20 mail-customer-1 zone-mta[744]: ERR! Sender/default/744[4] 17b3ab0f136000fb17.001 CONNFAIL domain=gmx.de local=mx01.serverdomain.com[0.0.0.0] remote=212.227.15.9:25 error=Network error when connecting to MX server mx00.emig.gmx.net[212.227.15.9] for gmx.de: Connection timed out
Aug 12 17:06:20 mail-customer-1 zone-mta[744]: ERR! Sender/default/744[4] 17b3ab0f136000fb17.001 ERRCONNECT domain=gmx.de error=Network error when connecting to MX server mx01.emig.gmx.net[212.227.17.5] for gmx.de: Connection timed out
Aug 12 17:06:20 mail-customer-1 zone-mta[744]: info Sender/default/744[4] 17b3ab0f136000fb17.001 DEFERRED[other] [email protected] [email protected] src= mx=gmx.de id= (450 Network error when connecting to MX server mx01.emig.gmx.net[212.227.17.5] for gmx.de: Connection timed out)
Aug 12 17:07:05 mail-customer-1 zone-mta[744]: info Sender/default/744[1] 17b3ada00b30005a95.001 CONNECTING domain=mydomain.de port=25
Aug 12 17:09:16 mail-customer-1 zone-mta[744]: ERR! Sender/default/744[1] 17b3ada00b30005a95.001 CONNFAIL domain=mydomain.de local=mx01.serverdomain.com[0.0.0.0] remote=188.68.47.116:25 error=Network error when connecting to MX server mail.mydomain.de[188.68.47.116] for mydomain.de: Connection timed out
Aug 12 17:09:16 mail-customer-1 zone-mta[744]: ERR! Sender/default/744[1] 17b3ada00b30005a95.001 ERRCONNECT domain=mydomain.de error=Network error when connecting to MX server mail.mydomain.de[188.68.47.116] for mydomain.de: Connection timed out
Aug 12 17:09:16 mail-customer-1 zone-mta[744]: info Sender/default/744[1] 17b3ada00b30005a95.001 DEFERRED[other] [email protected] [email protected] src= mx=mydomain.de id= (450 Network error when connecting to MX server mail.mydomain.de[188.68.47.116] for mydomain.de: Connection ti>
Aug 12 17:09:59 mail-customer-1 zone-mta[743]: info SMTP/feeder/743 CONNECTION id=4bflqdwkfmrunz7z src=[77.247.110.122]:55914
Aug 12 17:14:58 mail-customer-1 zone-mta[743]: info SMTP/feeder/743 CONNECTION id=x2bm2jwhd6cu5p3z src=[77.247.110.122]:52688
Aug 12 17:17:17 mail-customer-1 zone-mta[744]: info Sender/default/744[1] 17b3ada00b30005a95.001 DEFERRED[other] [email protected] [email protected] src= mx=mydomain.de id= (450 Network error when connecting to MX server mail.mydomain.de[188.68.47.116] for mydomain.de: Connection ti>
Aug 12 17:19:56 mail-customer-1 zone-mta[743]: info SMTP/feeder/743 CONNECTION id=w5pvwl4rxyfxabac src=[77.247.110.122]:54081

felix-exon avatar Aug 12 '21 15:08 felix-exon

That probably means your hosting provider or ISP is blocking outbound port 25.

louis-lau avatar Aug 12 '21 16:08 louis-lau

That probably means your hosting provider or ISP is blocking outbound port 25.

Thanks so much. This is indeed the issue. So simple yet so hard to find out. image

Thanks alot for your help!

felix-exon avatar Aug 12 '21 18:08 felix-exon

Glad I could help! :)

louis-lau avatar Aug 12 '21 20:08 louis-lau

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 15 days.

github-actions[bot] avatar Feb 22 '24 01:02 github-actions[bot]

This issue was closed because it has been stalled for 15 days with no activity.

github-actions[bot] avatar Mar 10 '24 01:03 github-actions[bot]