phiilu / mailman

Mailman is a GUI to help you manage your email accounts stored in a MySQL/MariaDB database.
MIT License
70 stars 10 forks source link

Aliases with NULL for Source-Adress causes Mailman to stop working #46

Open SchroeerM opened 4 years ago

SchroeerM commented 4 years ago

In the current Version of the Tutorial of Thomas Leister is decribed that an Catch-All Adress has to be setup by setting the source_username to null.

  1. This is not possible within mailman. So i descided to set the source_username to @ at first. Then u Updates the database rows within the sql shell.
  2. After changing the souce_username to null the mailman stop working.
karlbeecken commented 4 years ago

What worked for me: directly inserting an empty string as the source_username in the database. Mailman will just display this empty string as, well, an empty string so effectively you'll end up with a source address looking like @yourdomain.tld

NOTE: I use this forked version, but iirc nothing with aliases was changed: https://git.fridaysforfutu.re/websiteag/mailman

SchroeerM commented 4 years ago

Thanks for the Comment but in fact this change will make the collect-all addresses unusable. However i've followed your suggestion and fixed the aliases script that postfix now uses an empty-string instead of null as catch-all identifier