Django: An error occurred while processing your request.

Hi,
I running Debian bookworm and have installed mailman3-full (+ postfix).
I am new to mailman3 (using mailman2 now) and about exploring how to migrate.
I had 3 sites or domains: example.com and two real ones.
When I received emails from postorius, then it came from example.com which is nonsense as I worked with the real lists. So I deleted example.com.
When I call https://.../mailman3/admin or any of the lists, the result is: Server error An error occurred while processing your request.
How can I get out of it? This is only a test environment, so no heart attack.
Thank you for any help. Florian.

On Mon, May 26, 2025 at 7:16 PM Florian Sukup <florian2025@sukup.at> wrote:
Hi,
I running Debian bookworm and have installed mailman3-full (+ postfix).
I am new to mailman3 (using mailman2 now) and about exploring how to migrate.
I had 3 sites or domains: example.com and two real ones.
When I received emails from postorius, then it came from example.com which is nonsense as I worked with the real lists. So I deleted example.com.
When I call https://.../mailman3/admin or any of the lists, the result is: Server error An error occurred while processing your request.
How can I get out of it? This is only a test environment, so no heart attack.
Welcome to MM3.
You can get out of that by entering the database and checking the site_id for the domain you created, entering that ID into settings.py and restarting mailmanweb. Just to help you a little more, the recommended method for installing Mailman2 is documented at: https://docs.mailman3.org/en/latest/install/virtualenv.html
If you use the Debian packages, chances of getting support from this forum will be close to remote as the developers (and for sure many other admins) don't use the packaged versions of MM3.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]

On 5/26/25 12:08 PM, Florian Sukup wrote:
When I received emails from postorius, then it came from example.com which is nonsense as I worked with the real lists. So I deleted example.com.
Set DEFAULT_FROM_EMAIL and SERVER_EMAIL appropriately in your Django settings.
When I call https://.../mailman3/admin or any of the lists, the result is: Server error An error occurred while processing your request.
You need to set SITE_ID appropriately in your Django settings. See https://docs.mailman3.org/en/latest/faq.html#the-domain-name-displayed-in-hy...
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Thank you both very much.
On 5/26/25 18:30, Mark Sapiro wrote:
On 5/26/25 12:08 PM, Florian Sukup wrote:
When I received emails from postorius, then it came from example.com which is nonsense as I worked with the real lists. So I deleted example.com.
Set DEFAULT_FROM_EMAIL and SERVER_EMAIL appropriately in your Django settings.
seem to produce reasonable results
When I call https://.../mailman3/admin or any of the lists, the result is: Server error An error occurred while processing your request.
You need to set SITE_ID appropriately in your Django settings. See https://docs.mailman3.org/en/latest/faq.html#the-domain-name-displayed-in-hy...
This made the difference. I set it to 0 now as I have more than one site/domain.
Thanks again, Florian.
participants (3)
-
Florian Sukup
-
Mark Sapiro
-
Odhiambo Washington