Mark Sapiro wrote:
On 9/26/19 5:48 PM, Qiuhong.Su 蘇秋紅 wrote:
Hi all, After I setup mailman3 and run mailman-suite, I can do:
Register user
Login
Create new Domain
Create new List
Subscribe to the list When I try to send email to the list by run command: echo “test email” | mail –s “test email” test@example.com User test can receive this email, but I cannot find it on Archives, and other members cannot receive this email too.
You say "User test can receive this email". Is test@example.com a user or the list's posting address? If you are saying that test@example.com should be the list's posting address, but the mail is instead delivered to the user test@example.com, you have not set up your MTA to properly deliver list mail to Mailman. See https://mailman.readthedocs.io/en/latest/src/mailman/docs/mta.html.
After check MTA settings, still cannot resolve this issue. I create a new list "list1", and after subscribe it, send an email to list1@example.com And then check ./var/archives/hyperkitty/spool/, ./var/messages Both are empty. Click "Archives" it will access http://example.com/hyperkitty/, and show "No archived list yet." Could you help me?
Here is my mailman.cfg:
[mta] verp_configurations: yes verp_personalized_deliveries: yes verp_delivery_interval: 1 lmtp_host: example.com lmtp_port: 8024 smtp_host: example.com smtp_port: 25
[archiver.hyperkitty] class: mailman_hyperkitty.Archiver enable: yes configuration: /opt/mailman/mm/mailman-hyperkitty.cfg
[archiver.prototype] enable: yes
My mailman-hyperkitty.cfg, example.com can be resolved to 10.0.0.120
[general] base_url: http://10.0.0.120/hyperkitty api_key: SecretArchiverAPIKey
In mailman-suite settings.py, already add '10.0.0.120' to MAILMAN_ARCHIVER_FROM MAILMAN_ARCHIVER_FROM = ( '127.0.0.1', '::1', '10.0.0.120' )