I am playing with mail servers using Mailcow and I’d like to receive emails to a 3rd level domain linux.rokeby.com.
I am able to receive emails to bbb@rokeby.com, but if I try to send to bbb@linux.rokeby.com, it returns 554 5.7.1 bbb@linux.rokeby.com: Relay access denied
Do I need to add linux.rokeby.com to postfix configuration file??
bbb@linux.rokeby.com
postfix-mailcow_1 | May 27 17:31:08 dc5b5952ef71 postfix/postscreen[472]: CONNECT from [209.85.219.169]:41851 to [172.22.1.9]:25
postfix-mailcow_1 | May 27 17:31:08 dc5b5952ef71 postfix/postscreen[472]: WHITELISTED [209.85.219.169]:41851
postfix-mailcow_1 | May 27 17:31:09 dc5b5952ef71 postfix/smtpd[475]: connect from mail-yb1-f169.google.com[209.85.219.169]
postfix-mailcow_1 | May 27 17:31:09 dc5b5952ef71 postfix/smtpd[475]: TLS SNI mail.rokeby.com from mail-yb1-f169.google.com[209.85.219.169] not matched, using default chain
postfix-mailcow_1 | May 27 17:31:10 dc5b5952ef71 postfix/smtpd[475]: Anonymous TLS connection established from mail-yb1-f169.google.com[209.85.219.169]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
postfix-mailcow_1 | May 27 17:31:10 dc5b5952ef71 postfix/smtpd[475]: NOQUEUE: reject: RCPT from mail-yb1-f169.google.com[209.85.219.169]: 554 5.7.1 <bbb@linux.rokeby.com>: Relay access denied; from=<aaa.a@gmail.com> to=<bbb@linux.rokeby.com> proto=ESMTP helo=<mail-yb1-f169.google.com>
postfix-mailcow_1 | May 27 17:31:10 dc5b5952ef71 postfix/smtpd[475]: disconnect from mail-yb1-f169.google.com[209.85.219.169] ehlo=2 starttls=1 mail=1 rcpt=0/1 bdat=0/1 quit=1 commands=5/7
bbb@rokeby.com
postfix-mailcow_1 | May 27 17:52:18 dc5b5952ef71 postfix/postscreen[486]: CONNECT from [209.85.219.176]:33460 to [172.22.1.9]:25
postfix-mailcow_1 | May 27 17:52:18 dc5b5952ef71 postfix/postscreen[486]: WHITELISTED [209.85.219.176]:33460
postfix-mailcow_1 | May 27 17:52:25 dc5b5952ef71 postfix/smtpd[489]: connect from mail-yb1-f176.google.com[209.85.219.176]
postfix-mailcow_1 | May 27 17:52:25 dc5b5952ef71 postfix/smtpd[489]: TLS SNI mail.rokeby.com from mail-yb1-f176.google.com[209.85.219.176] not matched, using default chain
postfix-mailcow_1 | May 27 17:52:25 dc5b5952ef71 postfix/smtpd[489]: Anonymous TLS connection established from mail-yb1-f176.google.com[209.85.219.176]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
postfix-mailcow_1 | May 27 17:52:25 dc5b5952ef71 postfix/smtpd[489]: D3D492201B9: client=mail-yb1-f176.google.com[209.85.219.176]
postfix-mailcow_1 | May 27 17:52:25 dc5b5952ef71 postfix/cleanup[494]: D3D492201B9: message-id=<CAJRa-j+2x1dTV8aB6SV+bzXzi+Cn5TfQiH_k-FkgYZWZnFNPPA@mail.gmail.com>
rspamd-mailcow_1 | 2021-05-27 17:52:26 #39(normal) <a6b255>; lua; clamav.lua:119: clamav: failed to scan, maximum retransmits exceed
rspamd-mailcow_1 | 2021-05-27 17:52:37 #39(normal) <a6b255>; task; rspamd_redis_connected: skip obtaining bayes tokens for BAYES_SPAM of classifier bayes: not enough learns 0; 5 required
rspamd-mailcow_1 | 2021-05-27 17:52:37 #39(normal) <a6b255>; task; rspamd_redis_connected: skip obtaining bayes tokens for BAYES_HAM of classifier bayes: not enough learns 2; 5 required
php-fpm-mailcow_1 | [27-May-2021 17:52:37] WARNING: [pool system-worker] child 50 said into stderr: "NOTICE: PHP message: RCPT RESOVLER: http pipe: query bbb@rokeby.com as username from mailbox"
php-fpm-mailcow_1 | [27-May-2021 17:52:37] WARNING: [pool system-worker] child 50 said into stderr: "NOTICE: PHP message: RCPT RESOVLER: http pipe: mailbox found: bbb@rokeby.com"
php-fpm-mailcow_1 | [27-May-2021 17:52:37] WARNING: [pool system-worker] child 50 said into stderr: "NOTICE: PHP message: RCPT RESOVLER: http pipe: goto array count on loop #1 is 0"
php-fpm-mailcow_1 | [27-May-2021 17:52:37] WARNING: [pool system-worker] child 50 said into stderr: "NOTICE: PHP message: NOTIFY: pushover pipe: processing pushover message for rcpt bbb@rokeby.com"
php-fpm-mailcow_1 | fd4d:6169:6c63:6f77::11 - 27/May/2021:17:52:37 +0200 "POST /pushover.php" 200
nginx-mailcow_1 | 2021/05/27 17:52:37 [error] 24#24: *686 FastCGI sent in stderr: "PHP message: RCPT RESOVLER: http pipe: query bbb@rokeby.com as username from mailbox
nginx-mailcow_1 | PHP message: RCPT RESOVLER: http pipe: mailbox found: bbb@rokeby.com
nginx-mailcow_1 | PHP message: RCPT RESOVLER: http pipe: goto array count on loop #1 is 0
nginx-mailcow_1 | PHP message: NOTIFY: pushover pipe: processing pushover message for rcpt bbb@rokeby.com" while reading response header from upstream, client: 172.22.1.7, server: _, request: "POST /pushover.php HTTP/1.1", upstream: "fastcgi://[fd4d:6169:6c63:6f77::13]:9001", host: "nginx"
nginx-mailcow_1 | 172.22.1.7 - - [27/May/2021:17:52:37 +0200] "POST /pushover.php HTTP/1.1" 200 5 "-" "rspamd-2.7"
rspamd-mailcow_1 | 2021-05-27 17:52:37 #39(normal) <a6b255>; task; rspamd_task_write_log: id: <CAJRa-j+2x1dTV8aB6SV+bzXzi+Cn5TfQiH_k-FkgYZWZnFNPPA@mail.gmail.com>, qid: <D3D492201B9>, ip: 209.85.219.176, from: <aaa@gmail.com>, (default: F (no action): [3.89/15.00] [BAD_REP_POLICIES(2.00){},RBL_SORBS_RECENT(2.00){209.85.219.176:from;},MIME_GOOD(-0.10){multipart/alternative;text/plain;},MX_GOOD(-0.01){},ARC_NA(0.00){},ARC_SIGNED(0.00){rokeby.com:s=dkim:i=1;},ASN(0.00){asn:15169, ipnet:209.85.128.0/17, country:US;},CLAM_VIRUS_FAIL(0.00){failed to scan and retransmits exceed;},DKIM_TRACE(0.00){gmail.com:+;},DMARC_POLICY_ALLOW(0.00){gmail.com;none;},DWL_DNSWL_NONE(0.00){gmail.com:dkim;},FREEMAIL_ENVFROM(0.00){gmail.com;},FREEMAIL_FROM(0.00){gmail.com;},FROM_EQ_ENVFROM(0.00){},FROM_HAS_DN(0.00){},MID_RHS_MATCH_FROMTLD(0.00){},MIME_TRACE(0.00){0:+;1:+;2:~;},PREVIOUSLY_DELIVERED(0.00){bbb@rokeby.com;},RBL_NIXSPAM_FAIL(0.00){209.85.219.176:query timed out;},RCPT_COUNT_ONE(0.00){1;},RCPT_MAILCOW_DOMAIN(0.00){rokeby.com;},RCVD_COUNT_TWO(0.00){2;},RCVD_IN_DNSWL_NONE(0.00){209.85.219.176:from;},RCVD_TLS_ALL(0.00){},RWL_MAILSPIKE_POSSIBLE(0.00){209.85.219.176:from;},R_DKIM_ALLOW(0.00){gmail.com:s=20161025;},R_SPF_ALLOW(0.00){+ip4:209.85.128.0/17;},TAGGED_FROM(0.00){},TO_DN_ALL(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), len: 2347, time: 12014.289ms, dns req: 24, digest: <63be065fb9c671a77b2097db85a8c75f>, rcpts: <bbb@rokeby.com>, mime_rcpts: <bbb@rokeby.com>
rspamd-mailcow_1 | 2021-05-27 17:52:37 #39(normal) <a6b255>; task; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 3 regexps matched, 3103 regexps total, 2838 regexps cached, 0B scanned using pcre, 1.13KiB scanned total
postfix-mailcow_1 | May 27 17:52:37 dc5b5952ef71 postfix/qmgr[349]: D3D492201B9: from=<aaa@gmail.com>, size=2797, nrcpt=1 (queue active)
postfix-mailcow_1 | May 27 17:52:38 dc5b5952ef71 postfix/lmtp[496]: D3D492201B9: to=<bbb@rokeby.com>, relay=dovecot[172.22.1.250]:24, delay=12, delays=12/0.02/0.03/0.05, dsn=2.0.0, status=sent (250 2.0.0 <bbb@rokeby.com> JXnmOEXAr2C3CAAA9daR8g Saved)
postfix-mailcow_1 | May 27 17:52:38 dc5b5952ef71 postfix/qmgr[349]: D3D492201B9: removed
postfix-mailcow_1 | May 27 17:52:38 dc5b5952ef71 postfix/smtpd[489]: disconnect from mail-yb1-f176.google.com[209.85.219.176] ehlo=2 starttls=1 mail=1 rcpt=1 bdat=1 quit=1 commands=7