鲁莽执行了 mailman-generate-sysconfig,求解惑!


#1

我在从 42.3 dup 15.0 时 mailman 出现这样的提示

(376/579) 正在安装:mailman-2.1.29-lp150.2.8.1.x86_64 ........................................[完毕]
额外的 RPM 输出:
warning: /usr/lib/mailman/Mailman/mm_cfg.py created as /usr/lib/mailman/Mailman/mm_cfg.py.rpmnew
warning: /usr/lib/mailman/Mailman/mm_cfg.py.dist created as /usr/lib/mailman/Mailman/mm_cfg.py.dist.rpmnew
warning: /usr/lib/mailman/Mailman/mm_cfg.pyc created as /usr/lib/mailman/Mailman/mm_cfg.pyc.rpmnew
warning: /var/lib/mailman/data/sitelist.cfg created as /var/lib/mailman/data/sitelist.cfg.rpmnew
Updating /etc/sysconfig/mailman ...
All done.
No updates are necessary.
Please remember to run '/usr/lib/mailman/bin/mailman-generate-sysconfig' to configure mailman

我就按提示执行了

sudo /usr/lib/mailman/bin/mailman-generate-sysconfig
Installing new /usr/lib/mailman/Mailman/mm_cfg.py
No changes for /etc/mailman/mailman.mail-gid
Installing new /etc/mailman/mailman.cgi-gid

觉得鲁莽了,都不知道是什么意思。请问这是执行了什么操作?有什么影响? 谢谢!


#2

@cangling

https://build.opensuse.org/package/show/server:mail/mailman

就是个 bash 脚本。 将 /etc/sysconfig/mailman 中的配置与现在的 /usr/lib/mailman/Mailman/mm_cfg.py 合并生成新的 mm_cfg.py。


#3

42.3时我用 mail 可往网易邮箱发邮件,dup后发送拒收了,mail 要用网易邮账号和才能发送成功。请问,跟这个有关系吗?


#4

那要你自己去检查 mm_cfg.py,/var/log/mail.* 啊


#5

谢谢!(:pray:t5: