[GH-ISSUE #811] How to receive email from other servers? #724

Closed
opened 2026-02-27 11:13:14 +03:00 by kerem · 8 comments
Owner

Originally created by @ezhishui on GitHub (Dec 8, 2015).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/811

I have installed modoboa,but it can not receive any email from other email server because i am not sure whether my configuration of the email DNS is correct,for example:

the target receiver:u1@iwho.xyz
DNS:
A mail 111.200.55.28
MX @ mail.iwho.xyz.
CNAME smtp smtp.iwho.xyz
CNAME pop3 pop3.iwho.xyz
TXT @ v=spf1 include:spf.iwho.com ~all

The send email server comes error:
Name service error for name=iwho.xyz type=MX: Host not found
I do not know what is wrong.
Can you help me ,i am new here,thank you very much!

Originally created by @ezhishui on GitHub (Dec 8, 2015). Original GitHub issue: https://github.com/modoboa/modoboa/issues/811 I have installed modoboa,but it can not receive any email from other email server because i am not sure whether my configuration of the email DNS is correct,for example: the target receiver:u1@iwho.xyz DNS: A mail 111.200.55.28 MX @ mail.iwho.xyz. CNAME smtp smtp.iwho.xyz CNAME pop3 pop3.iwho.xyz TXT @ v=spf1 include:spf.iwho.com ~all The send email server comes error: Name service error for name=iwho.xyz type=MX: Host not found I do not know what is wrong. Can you help me ,i am new here,thank you very much!
kerem closed this issue 2026-02-27 11:13:14 +03:00
Author
Owner

@SonRiab commented on GitHub (Dec 8, 2015):

the cname records seems wrong to me. see https://en.wikipedia.org/wiki/CNAME_record. should be CNAME smtp mail.iwho.xyz. and there is no a record for your main domain: A 111.200.55.28 should do the work. you maybe find this link helpful: http://mxtoolbox.com/SuperTool.aspx?action=smtp%3aiwho.xyz&run=toolpage

<!-- gh-comment-id:162824214 --> @SonRiab commented on GitHub (Dec 8, 2015): the cname records seems wrong to me. see https://en.wikipedia.org/wiki/CNAME_record. should be CNAME smtp mail.iwho.xyz. and there is no a record for your main domain: A 111.200.55.28 should do the work. you maybe find this link helpful: http://mxtoolbox.com/SuperTool.aspx?action=smtp%3aiwho.xyz&run=toolpage
Author
Owner

@ezhishui commented on GitHub (Dec 8, 2015):

@SonRiab Thank you.I modified cname and it works.

But i need help,guys:
screenshot from 2015-12-08 18_54_17

<!-- gh-comment-id:162851620 --> @ezhishui commented on GitHub (Dec 8, 2015): @SonRiab Thank you.I modified cname and it works. But i need help,guys: ![screenshot from 2015-12-08 18_54_17](https://cloud.githubusercontent.com/assets/15809303/11654211/dc28f024-9dde-11e5-83bf-5458a1e9344c.png)
Author
Owner

@ezhishui commented on GitHub (Dec 8, 2015):

I have sent a mail from 126.com to u1@iwho.xyz.It was rejected by my server,what does it means?Anything
went wrong?

<!-- gh-comment-id:162852326 --> @ezhishui commented on GitHub (Dec 8, 2015): I have sent a mail from 126.com to u1@iwho.xyz.It was rejected by my server,what does it means?Anything went wrong?
Author
Owner

@ezhishui commented on GitHub (Dec 8, 2015):

Help,Help!

<!-- gh-comment-id:162869593 --> @ezhishui commented on GitHub (Dec 8, 2015): Help,Help!
Author
Owner

@xpunkt commented on GitHub (Dec 8, 2015):

ezhishui skrev den 2015-12-08 12:07:

But i need help,guys:

you miss to define where root reads mails, when done dovecot-lmtp would
not say unknown user :)

the error is in postfix/sendmail alias database for how and where unix
users is mapped to non priviledged user logins

for postfix its in /etc/mail/aliasses find the line with root: and
change it to a mailaddress local or external, local have no @, external
have, the most important is that dovecot knows this user else it will
reject as your example shows

root: me@junc.eu
newaliasses
postfix reload

testing

sendmail -bv root

did it work ? :=)

and no you should not put my email in your alias database it just how i
did

<!-- gh-comment-id:162883349 --> @xpunkt commented on GitHub (Dec 8, 2015): ezhishui skrev den 2015-12-08 12:07: > But i need help,guys: you miss to define where root reads mails, when done dovecot-lmtp would not say unknown user :) the error is in postfix/sendmail alias database for how and where unix users is mapped to non priviledged user logins for postfix its in /etc/mail/aliasses find the line with root: and change it to a mailaddress local or external, local have no @, external have, the most important is that dovecot knows this user else it will reject as your example shows root: me@junc.eu newaliasses postfix reload testing sendmail -bv root did it work ? :=) and no you should not put my email in your alias database it just how i did
Author
Owner

@xpunkt commented on GitHub (Dec 8, 2015):

https://dmarcian.com/spf-survey/iwho.xyz

<!-- gh-comment-id:162890126 --> @xpunkt commented on GitHub (Dec 8, 2015): https://dmarcian.com/spf-survey/iwho.xyz
Author
Owner

@ezhishui commented on GitHub (Dec 8, 2015):

@xpunkt Thank you.
It works,i create user root then the error "User does not exist"no longer appears.
But what confused me is :
Connect from to
THen NOQUEUE reject
Then disconnect.
Then WARNING.
Uploading 20151209003915.jpg…

<!-- gh-comment-id:162892550 --> @ezhishui commented on GitHub (Dec 8, 2015): @xpunkt Thank you. It works,i create user root then the error "User does not exist"no longer appears. But what confused me is : Connect from <ip> to <ip> THen NOQUEUE reject Then disconnect. Then WARNING. ![Uploading 20151209003915.jpg…]()
Author
Owner

@ezhishui commented on GitHub (Dec 8, 2015):

Spf susspended ,i just want to learn send receive mail😊😊

<!-- gh-comment-id:162893603 --> @ezhishui commented on GitHub (Dec 8, 2015): Spf susspended ,i just want to learn send receive mail😊😊
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#724
No description provided.