sa-wrapper rejecting auth'd email
Either postfix is not passing the username, or not parsing it correctly. I tried to have it print the variable but it seems uninitialized or i'm doing it wrong.
This is the mail system at host valinor.somewhere.net.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<spam@spam.spam> (expanded from <spam@valinor.somewhere.net>): Command died
with status 255: "/usr/share/dtc/admin/sa-wrapper". Command output: Use of
uninitialized value $domain in concatenation (.) or string at
/usr/share/dtc/admin/sa-wrapper line 77. You must authenticate to use this
service.73.197.122.12 at /usr/share/dtc/admin/sa-wrapper line 77.
Reporting-MTA: dns; valinor.somewhere.net
X-Postfix-Queue-ID: 754694C084
X-Postfix-Sender: rfc822; chris@somewhere.net
Arrival-Date: Fri, 27 Apr 2018 19:50:29 -0400 (EDT)
Final-Recipient: rfc822; spam@spam.spam
Original-Recipient: rfc822;spam@valinor.somewhere.net
Action: failed
Status: 5.3.0
Diagnostic-Code: x-unix; Use of uninitialized value $domain in concatenation
(.) or string at /usr/share/dtc/admin/sa-wrapper line 77. You must
authenticate to use this service.73.197.122.12 at
/usr/share/dtc/admin/sa-wrapper line 77.
From: Chris <chris@somewhere.net>
Subject: Reported Spam
Date: April 27, 2018 at 7:50:34 PM EDT
To: spamassassian <spam@valinor.somewhere.net >