[CWB] CQPweb mail "From" address now wrong, makes mail bounce
Scott Sadowsky
ssadowsky at gmail.com
Wed Oct 23 00:00:13 CEST 2019
Hi all,
I've been successfully sending out confirmation mails from CQPweb for quite
a while, but now they're bouncing. The problem is the sender address, as
seen in /var/log/mail.log:
Oct 22 17:21:52 localhost postfix/smtp[24436]: REDACTED: to=<
destination-address at gmail.com>, relay=gmail-smtp-in.l.google.com[REDACTED]:25,
delay=0.31, delays=0.01/0.01/0.28/0.01, dsn=5.1.2, status=bounced (host
gmail-smtp-in.l.google.com[REDACTED] said: 553-5.1.2 *The sender address
<www-data at localhost> is not a valid RFC-5321 553 5.1.2 address*.
For whatever reason, CQPweb (build 1365) is now *not* using the address set
in lib/config.inc.php. The relevant lines (I include both possibilities
that I can see) are:
$cqpweb_email_from_address = "administrator at my.address.com";
$server_admin_email_address = "administrator at my.address.com";
Rather, it's cobbling together a sender address from the server user it's
running under (www-data) and the local hostname of my server (localhost).
How can this be dealt with?
Best!
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20191022/3cfb61ed/attachment.html>
More information about the CWB
mailing list