On Tue, May 28, 2024 at 8:12 AM Greg Sims <g...@raystedman.org> wrote:
>
> On Tue, May 28, 2024 at 6:49 AM Wietse Venema via Postfix-users 
> <postfix-users@postfix.org> wrote:
>
> > In recent experience with my personal porcupine.org email address,
> > they not only want SPF or DKIM, they *also* want a DMARC policy
> > with p=quarantine or p=reject.
>
> We have run p=reject for years.  DMARC is currently p=none because of the 
> issue you are helping with.  I feel like we have a solution now -- time will 
> tell.  I hope to be p=reject once again soon!
>
> Thanks Wietse, Greg

We have our bounce messages being stored in a local mailbox
bounce-local -- this is working well.  Unfortunately the SPF Failure
we see in the logs is not being sent to bounce-local.  Please see the
following "collate" sequence:

  Jun 02 02:19:21 mail01.raystedman.org postfix/bounce[26402]:
B9A1C305D596: sender non-delivery notification: EF978305D5BA
  Jun 02 02:19:21 mail01.raystedman.org postfix/cleanup[26400]:
EF978305D5BA: message-id=<20240602091921.ef978305d...@mail01.raystedman.org>
  Jun 02 02:19:21 mail01.raystedman.org postfix/qmgr[1311]:
EF978305D5BA: from=<>, size=36846, nrcpt=1 (queue active)
  Jun 02 02:19:22 mail01.raystedman.org postfix/t121/smtp[26247]:
Trusted TLS connection established to
aspmx.l.google.com[142.251.2.26]:25: TLSv1.3 with cipher
TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519
server-signature ECDSA (P-256) server-digest SHA256
  Jun 02 02:19:22 mail01.raystedman.org postfix/t121/smtp[26247]:
EF978305D5BA: host aspmx.l.google.com[142.251.2.26] said: 421-4.7.26
Your email has been rate limited because it is unauthenticated. Gmail
421-4.7.26 requires all senders to authenticate with either SPF or
DKIM. 421-4.7.26  421-4.7.26  Authentication results: 421-4.7.26  DKIM
= did not pass 421-4.7.26  SPF [] with ip: [209.73.152.121] = did not
pass 421-4.7.26  421-4.7.26  For instructions on setting up
authentication, go to 421 4.7.26
https://support.google.com/mail/answer/81126#authentication
d2e1a72fcca58-70242b097aasi4749745b3a.183 - gsmtp (in reply to end of
DATA command)
  Jun 02 02:19:22 mail01.raystedman.org postfix/t121/smtp[26247]:
Trusted TLS connection established to
alt2.aspmx.l.google.com[74.125.126.26]:25: TLSv1.3 with cipher
TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519
server-signature ECDSA (P-256) server-digest SHA256
  Jun 02 02:19:23 mail01.raystedman.org postfix/t121/smtp[26247]:
EF978305D5BA: to=<en-devo-bounce+<deleted>=icloud....@devotion.raystedman.org>,
relay=alt2.aspmx.l.google.com[74.125.126.26]:25, delay=1.3,
delays=0/0/0.89/0.41, dsn=2.0.0, status=sent (250 2.0.0 OK  1717319963
ca18e2360f4ac-7eafe6365f9si240806939f.105 - gsmtp)
  Jun 02 02:19:23 mail01.raystedman.org postfix/qmgr[1311]:
EF978305D5BA: removed

Two things caught my eye here:
  * Please note the message is being sent from=<> (qmgr).  This is
likely the cause of the SPF failure as there is no domain that can be
used to lookup the SPF record.
  * The goal for the past period of time is to get a look at the
headers of this message. Unfortunately the message is not being sent
to bounce-local.  No entry from process "local" above to send the
message to the bounce-local user's mailbox.

Here is the current main.cf setup:

  notify_classes = bounce, resource, software
  bounce_notice_recipient = bounce-local
  virtual_alias_maps = hash:/etc/postfix/virtual

Would changing this to the following make any difference?

  notify_classes = 2bounce, bounce, resource, software
  bounce_notice_recipient = bounce-local
  2bounce_notice_recipient = bounce-local
  virtual_alias_maps = hash:/etc/postfix/virtual

We really need to see this message!

Thanks, Greg
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to