rexdog1
September 20, 2024, 8:09pm
1
SYSTEM INFORMATION
OS type and version
Ubuntu Linux 22.04.5
Virtualmin version
7.20.2
Freshly added domain, webserver and access to the website via internet works fine. Emails can be sent, but never received. When sent to another domain I own, they stay in the Mail Queue with this error:
host mail.mydomain.com[xxx.xxx.xxx.xxx] said: 451 4.3.5 <jim@mydomain.com>: Recipient address rejected: Server configuration problem (in reply to RCPT TO command)
It also fails the Thunderbird autoconfig.
Can anyone give me a idea of why this is happening? Why would this happen on a freshly created domain with nothing changed aside from adding a new user?
Thanks
Joe
September 20, 2024, 9:08pm
2
You need to show us the error from the mail log or the journal for the Postfix unit. The client has no idea what happened.
rexdog1
September 20, 2024, 10:34pm
3
Hope this helps:
Sep 20 13:41:19 vps1.mycloud.org postfix/smtpd[23010]: warning: connect to 127.0.0.1:10023: Connection refused
Sep 20 13:41:19 vps1.mycloud.org postfix/smtpd[23010]: warning: problem talking to server 127.0.0.1:10023: Connection refused
Sep 20 13:41:20 vps1.mycloud.org postfix/smtpd[23010]: warning: connect to 127.0.0.1:10023: Connection refused
Sep 20 13:41:20 vps1.mycloud.org postfix/smtpd[23010]: warning: problem talking to server 127.0.0.1:10023: Connection refused
Sep 20 13:41:20 vps1.mycloud.org postfix/smtpd[23010]: NOQUEUE: reject: RCPT from pc235-77.mailgun.net[143.55.235.77]: 451 4.3.5 <chris@mydomain.com>: Recipient address rejected: Server configuration problem; from=<bounce+9382db.9c403-chris=mydomain.com@mxtoolbox.com> to=<chris@mydomain.com> proto=ESMTP helo=<pc235-77.mailgun.net>
Sep 20 13:41:20 vps1.mycloud.org postfix/smtpd[23010]: disconnect from pc235-77.mailgun.net[143.55.235.77] ehlo=2 starttls=1 mail=1 rcpt=0/1 quit=1 commands=5/6
Sep 20 13:42:42 vps1.mycloud.org postfix/smtpd[23010]: connect from mr85p00im-zteg06011601.me.com[17.58.23.186]
Sep 20 13:42:42 vps1.mycloud.org postfix/smtpd[23010]: warning: connect to 127.0.0.1:10023: Connection refused
Sep 20 13:42:42 vps1.mycloud.org postfix/smtpd[23010]: warning: problem talking to server 127.0.0.1:10023: Connection refused
Sep 20 13:42:43 vps1.mycloud.org postfix/smtpd[23010]: warning: connect to 127.0.0.1:10023: Connection refused
Sep 20 13:42:43 vps1.mycloud.org postfix/smtpd[23010]: warning: problem talking to server 127.0.0.1:10023: Connection refused
Sep 20 13:42:43 vps1.mycloud.org postfix/smtpd[23010]: NOQUEUE: reject: RCPT from mr85p00im-zteg06011601.me.com[17.58.23.186]: 451 4.3.5 <chris@mydomain.com>: Recipient address rejected: Server configuration problem; from=<jimbo123@mac.com> to=<chris@mydomain.com> proto=ESMTP helo=<mr85p00im-zteg06011601.me.com>
Sep 20 13:42:43 vps1.mycloud.org postfix/smtpd[23010]: disconnect from mr85p00im-zteg06011601.me.com[17.58.23.186] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8
Sep 20 13:46:03 vps1.mycloud.org postfix/anvil[23013]: statistics: max connection rate 1/60s for (smtp:143.55.235.77) at Sep 20 13:41:19
Sep 20 13:46:03 vps1.mycloud.org postfix/anvil[23013]: statistics: max connection count 1 for (smtp:143.55.235.77) at Sep 20 13:41:19
Sep 20 13:46:03 vps1.mycloud.org postfix/anvil[23013]: statistics: max cache size 1 at Sep 20 13:41:19
Sep 20 14:01:32 vps1.mycloud.org postfix/smtpd[26629]: connect from mydomain22.com[66.94.127.176]
Sep 20 14:01:32 vps1.mycloud.org postfix/smtpd[26629]: warning: connect to 127.0.0.1:10023: Connection refused
Sep 20 14:01:32 vps1.mycloud.org postfix/smtpd[26629]: warning: problem talking to server 127.0.0.1:10023: Connection refused
Sep 20 14:01:33 vps1.mycloud.org postfix/smtpd[26629]: warning: connect to 127.0.0.1:10023: Connection refused
Sep 20 14:01:33 vps1.mycloud.org postfix/smtpd[26629]: warning: problem talking to server 127.0.0.1:10023: Connection refused
Sep 20 14:01:33 vps1.mycloud.org postfix/smtpd[26629]: NOQUEUE: reject: RCPT from mydomain22.com[66.94.127.176]: 451 4.3.5 <chris@mydomain.com>: Recipient address rejected: Server configuration problem; from=<chris@mydomain22.com> to=<chris@mydomain.com> proto=ESMTP helo=<mydomain22.com>
Sep 20 14:01:33 vps1.mycloud.org postfix/smtpd[26629]: disconnect from mydomain22.com[66.94.127.176] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8
Sep 20 14:04:53 vps1.mycloud.org postfix/anvil[26633]: statistics: max connection rate 1/60s for (smtp:66.94.127.176) at Sep 20 14:01:32
Sep 20 14:04:53 vps1.mycloud.org postfix/anvil[26633]: statistics: max connection count 1 for (smtp:66.94.127.176) at Sep 20 14:01:32
Sep 20 14:04:53 vps1.mycloud.org postfix/anvil[26633]: statistics: max cache size 1 at Sep 20 14:01:32
Sep 20 14:14:35 vps1.mycloud.org postfix/smtpd[28912]: connect from prime1.idmkt.info[45.95.146.40]
Sep 20 14:14:35 vps1.mycloud.org postfix/trivial-rewrite[28917]: warning: do not list domain mycloud.org in BOTH mydestination and virtual_alias_domains
Also may help:
Sep 20 11:46:05 spearhead dovecot: imap(steve@mydomain.com)<491388><U8sgEJEiE/doAFGp>: Disconnected: Logged out in=1402 out=1031 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 20 11:46:04 spearhead postfix/qmgr[478455]: C835F8870F4: from=<steve@mydomain.com>, size=786, nrcpt=1 (queue active)
Sep 20 11:46:04 spearhead opendkim[6942]: C835F8870F4: DKIM-Signature field added (s=202211, d=mydomain.com)
Sep 20 11:46:04 spearhead postfix/cleanup[498579]: C835F8870F4: message-id=<ce86fadd-ed4c-4823-875f-adcf47db451b@mydomain.com>
Sep 20 11:46:04 spearhead postfix/smtpd[498573]: C835F8870F4: client=104-0-81-169.lightspeed.irvnca.sbcglobal.net[104.0.81.169], sasl_method=PLAIN, sasl_username=steve@mydomain.com
Sep 20 11:46:04 spearhead postfix/trivial-rewrite[498578]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_alias_domains
Sep 20 11:42:43 spearhead postfix/smtpd[497751]: NOQUEUE: reject: RCPT from mr85p00im-zteg06011601.me.com[17.58.23.186]: 451 4.3.5 <steve@mydomain.com>: Recipient address rejected: Server configuration problem; from=<cg118@mac.com> to=<steve@mydomain.com> proto=ESMTP helo=<mr85p00im-zteg06011601.me.com>
Sep 20 11:42:42 spearhead postfix/trivial-rewrite[497754]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_alias_domains
Sep 20 11:32:43 spearhead postfix/smtpd[495758]: NOQUEUE: reject: RCPT from mr85p00im-zteg06011601.me.com[17.58.23.186]: 451 4.3.5 <steve@mydomain.com>: Recipient address rejected: Server configuration problem; from=<cg118@mac.com> to=<steve@mydomain.com> proto=ESMTP helo=<mr85p00im-zteg06011601.me.com>
Sep 20 11:32:42 spearhead postfix/trivial-rewrite[495760]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_alias_domains
Sep 20 11:22:56 spearhead postfix/smtpd[492325]: NOQUEUE: reject: RCPT from mr85p00im-zteg06011601.me.com[17.58.23.186]: 451 4.3.5 <steve@mydomain.com>: Recipient address rejected: Server configuration problem; from=<cg118@mac.com> to=<steve@mydomain.com> proto=ESMTP helo=<mr85p00im-zteg06011601.me.com>
Sep 20 11:22:55 spearhead postfix/trivial-rewrite[492327]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_alias_domains
Sep 20 11:21:03 spearhead postfix/qmgr[478455]: 35BCF887103: from=<steve@mydomain.com>, size=919, nrcpt=1 (queue active)
Sep 20 11:21:03 spearhead opendkim[6942]: 35BCF887103: DKIM-Signature field added (s=202211, d=mydomain.com)
Sep 20 11:21:03 spearhead postfix/cleanup[492043]: 35BCF887103: message-id=<5284f6fe-bc9e-4012-8550-145cc4d365d3@mydomain.com>
Sep 20 11:21:03 spearhead postfix/smtpd[492033]: 35BCF887103: client=104-0-81-169.lightspeed.irvnca.sbcglobal.net[104.0.81.169], sasl_method=PLAIN, sasl_username=steve@mydomain.com
Sep 20 11:21:03 spearhead postfix/trivial-rewrite[492041]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_alias_domains
Sep 20 11:18:16 spearhead dovecot: imap-login: Login: user=<steve@mydomain.com>, method=PLAIN, rip=104.0.81.169, lip=xxx.xxx.xxx.xx, mpid=491388, TLS, session=<U8sgEJEiE/doAFGp>
Sep 20 11:16:32 spearhead postfix/smtpd[491074]: NOQUEUE: reject: RCPT from mydomain22.com[zzz.zzz.zzz.zz]: 451 4.3.5 <steve@mydomain.com>: Recipient address rejected: Server configuration problem; from=<steve@mydomain22.com> to=<steve@mydomain.com> proto=ESMTP helo=<mydomain22.com>
Sep 20 11:16:31 spearhead postfix/trivial-rewrite[491093]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_alias_domains
Sep 20 10:58:46 spearhead postfix/smtpd[486708]: NOQUEUE: reject: RCPT from mydomain22.com[zzz.zzz.zzz.zz]: 451 4.3.5 <steve@mydomain.com>: Recipient address rejected: Server configuration problem; from=<steve@mydomain22.com> to=<steve@mydomain.com> proto=ESMTP helo=<mydomain22.com>
You sure you have steve@, your you original post had jim@
also don’t name the host address the same as a virtual server.
Do you get any error when you run recheck config in settings.
rexdog1
September 20, 2024, 11:17pm
5
“Jim@” is an external email address, not the one in question.
“also don’t name the host address the same as a virtual server.” OK fixed thanks
“Do you get any error when you run recheck config in settings.” No
Did that solve the issue?
I just tested a new install and name host the same as the virtual, and I get this error when I tried to create the virtual server.
rexdog1
September 20, 2024, 11:40pm
7
No, it still ends up in my other vps Queue with the error:
host mail.mydomain.com[144.xxx.xxx.xxx] said: 451 4.3.5 <steve@mydomain.com>: Recipient address rejected: Server configuration problem (in reply to RCPT TO command)
PS I wrote the Title wrong, it should be Cant Send, not cant receive. This virtual server can send, but not receive.
Sent test email, the mail.log says:
Sep 20 16:36:33 hostname postfix/smtpd[61334]: NOQUEUE: reject: RCPT from mydomain22.com[66.xxx.xxx.xxx]: 451 4.3.5 <steve@mydomain.com>: Recipient address rejected: Server configuration problem; from=<jimbo@mydomain22.com> to=<steve@mydomain.com> proto=ESMTP helo=<mydomain22.com>
rexdog1
September 20, 2024, 11:41pm
8
stefan1959:
Did that solve the issue?
I just tested a new install and name host the same as the virtual, and I get this error when I tried to create the virtual server.
I have never seen that error…
Not sure, it should just work.
Maybe restart postfix seeing your hostname was the same.
When I mean the same, hostname can be server.virtualdomain.com
but not virtualdomain.com
adding the ``server.``` will fix the issue.
Joe
September 20, 2024, 11:49pm
10
This is probably unrelated to the problem you’re asking about, but it is a problem.
You should not name your server the same as a domain you are hosting virtually on the server. You can name your server literally anything, but not the same as a name you’re hosting virtual mail for. (This is covered in the documentation in many places, including on the Download page.)
Joe
September 20, 2024, 11:53pm
11
That’s a new error. If OP created the virtual server in any version prior to the current one, it would not have warned about it.
How long since you install and was it using the docs?
Usually, getting started with Virtualmin can be done with a few simple steps, using our automated install script. The install script will setup your package manager, usually apt-get or dnf, and then download our packages as well as all of the...
rexdog1
September 21, 2024, 12:31am
13
I installed probably 5 or more years ago. Yes using the docs. But that doesn’t mean I haven’t inadvertently screwed some thing up in the interim lol.
I think I know what this is stemming from, I got the server into a mess a couple years ago… was able to recover but this is probably lasting from that.
Once I migrate off a couple domains I am going to nuke from orbit and rebuild from the ground up. This server is not vital so its not a problem…
Thanks both of you for your time so far… no need to pursue further…
1 Like