<div dir="ltr">An addendum to my previous message: I <i>can</i> successfully send e-mails from the same server with this command:<div><br></div><div><font face="monospace">echo -e "Hi! This is a test!" | mail -s "Test mail" -a "From: <a href="mailto:administrator@my.address.com">administrator@my.address.com</a>" "<a href="mailto:destination-address@gmail.com">destination-address@gmail.com</a>"</font><br><div><br></div><div>Cheers,</div><div>Scott</div><div><br></div><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Hi all,
I've been successfully sending out confirmation mails from CQPweb for quite<br>a while, but now they're bouncing. The problem is the sender address, as<br>seen in /var/log/mail.log:
Oct 22 17:21:52 localhost postfix/smtp[24436]: </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> </blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">REDACTED: to=<<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">destination-address at gmail.com</a>>, relay=<a href="http://gmail-smtp-in.l.google.com">gmail-smtp-in.l.google.com</a>[REDACTED]:25, delay=0.31, delays=0.01/0.01/0.28/0.01, dsn=5.1.2, status=bounced (host <a href="http://gmail-smtp-in.l.google.com">gmail-smtp-in.l.google.com</a>[REDACTED] said: 553-5.1.2 *The sender address <<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">www-data at localhost</a>> is not a valid RFC-5321 553 5.1.2 address*.
</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> </blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">For whatever reason, CQPweb (build 1365) is now *not* using the address set<br>in lib/config.inc.php. The relevant lines (I include both possibilities<br>that I can see) are:
</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> </blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">$cqpweb_email_from_address = "<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">administrator at my.address.com</a>";<br>$server_admin_email_address = "<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">administrator at my.address.com</a>";
</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> </blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Rather, it's cobbling together a sender address from the server user it's<br>running under (www-data) and the local hostname of my server (localhost).
How can this be dealt with?
Best!<br>Scott</blockquote></div></div></div>