[CWB] CQPweb mail "From" address now wrong, makes mail bounce

Scott Sadowsky ssadowsky at gmail.com
Wed Oct 23 19:22:01 CEST 2019


An addendum to my previous message: I *can* successfully send e-mails from
the same server with this command:

echo -e "Hi! This is a test!" | mail -s "Test mail" -a "From:
administrator at my.address.com" "destination-address at gmail.com"

Cheers,
Scott

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
> <http://liste.sslmit.unibo.it/mailman/listinfo/cwb>>, 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 <http://liste.sslmit.unibo.it/mailman/listinfo/cwb>> 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
> <http://liste.sslmit.unibo.it/mailman/listinfo/cwb>";
> $server_admin_email_address = "administrator at my.address.com
> <http://liste.sslmit.unibo.it/mailman/listinfo/cwb>";



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/20191023/5cc81977/attachment.html>


More information about the CWB mailing list