[Mailman-Users] From Address for 'mailpasswds'

Dennis Putnam dap1 at bellsouth.net
Wed Jun 5 14:11:14 EDT 2019


Hi Mark,

I am using U-Verse which means the domain and from address of my Linux
server are fake. I tried setting up translation in Postfix (generic) but
it does not seem to work for this particular address. I'll try your
suggestion. Thanks.

On 6/5/2019 1:21 PM, Mark Sapiro wrote:
> On 6/5/19 8:55 AM, Dennis Putnam wrote:
>> I am trying to send a monthly reminder using 'mailman
>> /usr/lib/mailman/cron/mailpasswds'. However, the messages bounce due to
>> an invalid from address. How can I change the script to use a valid from
>> address? Thanks.
>
> Why is the From: invalid? it is the site list -owner address and the
> envelope is from the site list -bounces address. These should be
> deliverable addresses. There is a potential issue with virtual domains
> in that the domain of these addresses can be the virtual host domain and
> the address may not be valid in that domain.
>
> We currently add the site list address in each virtual domain in
> POSTFIX_STYLE_VIRTUAL_DOMAINS to the generated virtual-mailman file, but
> we don't add the -owner and -bounces addresses. I'll fix that. See
> <https://bugs.launchpad.net/mailman/+bug/1831777>.
>
> As far as changing these addresses is concerned, at lines 197-199 in the
> script you'll see
>
>             siteowner = Utils.get_site_email(host, 'owner')
>             sitereq = Utils.get_site_email(host, 'request')
>             sitebounce = Utils.get_site_email(host, 'bounces')
>
> You could replace host in these lines with the literal host name which
> is valid for the site list in quotes like 'example.com'.
>
>
> ------------------------------------------------------
> Mailman-Users mailing list Mailman-Users at python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: https://mail.python.org/mailman/options/mailman-users/dap1%40bellsouth.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/mailman-users/attachments/20190605/ead3d5a1/attachment.sig>


More information about the Mailman-Users mailing list