Yes full logs coming up..
rspamd-mailcow:
today at 18:03 2020-10-08 18:03:31 #54(normal) <5724c9>; task; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 8 regexps matched, 3059 regexps total, 2852 regexps cached, 0B scanned using pcre, 89.86KiB scanned total
today at 18:06 2020-10-08 18:06:12 #54(normal) <a400d3>; lua; dkim_signing.lua:104: signing failure: cannot make request to load DKIM selector for domain gmail.com: nil
today at 18:06 2020-10-08 18:06:15 #54(normal) <a400d3>; task; rspamd_redis_connected: skip obtaining bayes tokens for BAYES_HAM of classifier bayes: not enough learns 2; 5 required
today at 18:06 2020-10-08 18:06:15 #54(normal) <a400d3>; task; rspamd_redis_connected: skip obtaining bayes tokens for BAYES_SPAM of classifier bayes: not enough learns 0; 5 required
today at 18:06 2020-10-08 18:06:15 #54(normal) <a400d3>; task; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 6 regexps matched, 3059 regexps total, 2794 regexps cached, 0B scanned using pcre, 57.06KiB scanned total
today at 18:06 2020-10-08 18:06:15 #54(normal) <a400d3>; task; rspamd_task_write_log: id: <CANLOa9RbWO5htSdSYF4gQFnp1nKBWjxKQBPwzV_e1m-V3e1iHQ@mail.gmail.com>, qid: <80BDE341918>, ip: MASKED, from: <SOMEONE@gmail.com>, (default: F (no action): [1.00/15.00] [URI_COUNT_ODD(1.00){59;},MIME_GOOD(-0.10){multipart/alternative;text/plain;},RCVD_NO_TLS_LAST(0.10){},ARC_NA(0.00){},FREEMAIL_ENVFROM(0.00){gmail.com;},FREEMAIL_FROM(0.00){gmail.com;},FROM_EQ_ENVFROM(0.00){},FROM_HAS_DN(0.00){},MIME_TRACE(0.00){0:+;1:+;2:~;},PREVIOUSLY_DELIVERED(0.00){ME@MYDOMAIN.COM;},RBL_EXCLUDE_FWD_HOST(0.00){},RCPT_COUNT_ONE(0.00){1;},RCPT_MAILCOW_DOMAIN(0.00){MYDOMAIN.COM;},RCVD_COUNT_THREE(0.00){3;},TAGGED_FROM(0.00){},TO_DN_ALL(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){},WHITELISTED_FWD_HOST(0.00){MASKED-IP;}]), len: 39864, time: 2863.760ms, dns req: 17, digest: <d8860a23d855fc21e2d59e068a46b650>, rcpts: <ME@MYDOMAIN.COM>, mime_rcpts: <ME@MYDOMAIN.COM>
And the postfix-mailcow:
today at 18:06 Oct 8 18:06:06 email postfix/postscreen[2321]: CONNECT from [MASKED-IP]:57652 to [172.22.1.10]:25
today at 18:06 Oct 8 18:06:06 email postfix/postscreen[2321]: WHITELISTED [MASKED-IP]:57652
today at 18:06 Oct 8 18:06:06 email postfix/smtpd[2324]: connect from unknown[MASKED-IP]
today at 18:06 Oct 8 18:06:06 email postfix/smtpd[2324]: 37ED93418E6: client=unknown[MASKED-IP]
today at 18:06 Oct 8 18:06:06 email postfix/smtpd[2324]: disconnect from unknown[MASKED-IP] ehlo=1 mail=1 rcpt=1 quit=1 commands=4
today at 18:06 Oct 8 18:06:12 email postfix/postscreen[2321]: CONNECT from [MASKED-IP]:57670 to [172.22.1.10]:25
today at 18:06 Oct 8 18:06:12 email postfix/postscreen[2321]: WHITELISTED [MASKED-IP]:57670
today at 18:06 Oct 8 18:06:12 email postfix/smtpd[2324]: connect from unknown[MASKED-IP]
today at 18:06 Oct 8 18:06:12 email postfix/smtpd[2324]: 80BDE341918: client=unknown[MASKED-IP]
today at 18:06 Oct 8 18:06:12 email postfix/cleanup[2327]: 80BDE341918: message-id=<CANLOa9RbWO5htSdSYF4gQFnp1nKBWjxKQBPwzV_e1m-V3e1iHQ@mail.gmail.com>
today at 18:06 Oct 8 18:06:15 email postfix/qmgr[367]: 80BDE341918: from=<SOMEONE@gmail.com>, size=40115, nrcpt=1 (queue active)
today at 18:06 Oct 8 18:06:15 email postfix/smtpd[2324]: disconnect from unknown[MASKED-IP] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
today at 18:06 Oct 8 18:06:15 email postfix/smtp[2330]: warning: MASKED-IP-INTERNALMAILSRV[MASKED-IP-INTERNALMAILSRV]:25 offered no supported AUTH mechanisms: 'NTLM'
today at 18:06 Oct 8 18:06:15 email postfix/smtp[2330]: Untrusted TLS connection established to MASKED-IP-INTERNALMAILSRV[MASKED-IP-INTERNALMAILSRV]:25: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
today at 18:06 Oct 8 18:06:15 email postfix/smtp[2330]: 80BDE341918: to=<ME@MYDOMAIN.COM>, relay=MASKED-IP-INTERNALMAILSRV[MASKED-IP-INTERNALMAILSRV]:25, delay=3.3, delays=3/0.07/0.07/0.22, dsn=2.6.0, status=sent (250 2.6.0 <CANLOa9RbWO5htSdSYF4gQFnp1nKBWjxKQBPwzV_e1m-V3e1iHQ@mail.gmail.com> [InternalId=106738527240194, Hostname=INTERNAL-MAIL.LANDOMAIN.CORP] 42183 bytes in 0.175, 234,889 KB/sec Queued mail for delivery)
today at 18:06 Oct 8 18:06:15 email postfix/qmgr[367]: 80BDE341918: removed
The mailflow is:
my firewall (acts as mailrelay and queues the mail if the mailserver is unavailable) > mailcow (> and for now mailcow uses a sender transportmap to deliver the mail to my internal exchange server, I want to replace this exchange server with mailcow so this is just temporary, I will remove the transportmap when mailcow configuration works perfectly).
After this I use IMAP sync to keep the exchange server and mailcow mailboxes in sync (for now).
I’ve obscured some identifiers:
- the sender (SOMEONE@gmail.com)
- reciever (ME@MYDOMAIN.COM)
- the internal IP of my firewall (MASKED-IP)
- the internal IP of my exchange server (MASKED-IP-INTERNALMAILSRV)
- hostname of my internal mailserver (INTERNAL-MAIL.LANDOMAIN.CORP)