On 11/14/24 08:42, jkoral@luc.edu wrote:
joetest@listservnew.luc.edu is the list, but in postfix_lmtp, it is showing up as joetest@luc.edu. Where can I change that? I tried changing the domain and site, but it still has not changed.
The list has a mail_host attribute which is set when the list is
created. Presumably, you created the list as joetest@luc.edu
. You have
to change the mail_host attribute of the list, but it may be easier to
just delete it and create a new joetest@listservnew.luc.edu list. Then
you can ignore everything below.
To change the mail_host for the list you can do a database query or use
mailman shell
.
The database query is
UPDATE mailinglist SET mail_host = 'listservnew.luc.edu' where list_name
= 'joetest';
The `mailman shell interaction is
$ mailman shell -l joetest@luc.edu
Welcome to the GNU Mailman shell
Use commit() to commit changes.
Use abort() to discard changes since the last commit.
Exit with ctrl+D does an implicit commit() but exit() does not.
The variable 'm' is the list@example.com mailing list
>>> m.mail_host = 'listservnew.luc.edu'
>>> commit()
If you do either of the above to change the mail host, you probably need
to do mailman aliases
to regenerate the files for Postfix.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan