<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 &quot;Hi! This is a test!&quot; | mail -s &quot;Test mail&quot; -a &quot;From: <a href="mailto:administrator@my.address.com">administrator@my.address.com</a>&quot; &quot;<a href="mailto:destination-address@gmail.com">destination-address@gmail.com</a>&quot;</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&#39;ve been successfully sending out confirmation mails from CQPweb for quite<br>a while, but now they&#39;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=&lt;<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">destination-address at gmail.com</a>&gt;, 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 &lt;<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">www-data at localhost</a>&gt; 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    = &quot;<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">administrator at my.address.com</a>&quot;;<br>$server_admin_email_address   = &quot;<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">administrator at my.address.com</a>&quot;;
</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&#39;s cobbling together a sender address from the server user it&#39;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>