On 6/25/19 1:08 PM, Aaryan Bhagat wrote:
> Currently, I have been trying to run a working instance of Mailman up and 
> running. I have edited the `mailman.cfg` file enabling devmode.  
> The current output of `mailman info` command is the following  
>> GNU Mailman 3.2.3 (La Villa Strangiato)
>> Python 3.7.1 (default, Dec 14 2018, 19:28:38) 
>> [GCC 7.3.0]
>> config file: 
>> /home/aaryan/mailman/mailman-suite/mailman-suite_project/var/etc/mailman.cfg
>> db url: 
>> sqlite:////home/aaryan/mailman/mailman-suite/mailman-suite_project/var/data/mailman.db
>> devmode: ENABLED
>> REST root url: http://localhost:8001/3.1/
>> REST credentials: restadmin:restpass
> 
> Still, after when I created the `superuser` and tried to log in after as 
> superuser after hosting up a local instance, it says  
>> Verify your email address
>> We have sent an e-mail to you for verification. Follow the link provided to 
>> finalize the signup process. Please contact us if you do not receive it 
>> within a few minutes.
> 
> This should not be the expected behaviour in devmode right? It should bypass 
> this I believe.
> Am I missing something here?


devmode in mailman.cfg affects only Mailman Core. That address
confirmation email comes from Django. You also have to set DEBUG = True
and maybe other things.

For example, mailman-suite/mailman-suite_project/settings.py contains

> # When DEBUG is True, don't actually send emails to the SMTP server, just 
> store
> # them in a directory. This way you won't accidentally spam your mailing-lists
> # while you're fiddling with the code.
> if DEBUG == True:
>     EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend'
>     EMAIL_FILE_PATH = os.path.join(BASE_DIR, 'emails')

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
_______________________________________________
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9

Reply via email to