Skip to main content

Mail Host for KARL


There no clear documentation on how to set the mail host for KARL. I asked the same in #karl in IRC. chrisrossi was very kind to answer it.

sowmyaHi, I just installed KARL
1:20pmsowmyaNow I want to know where do I setup the smtp for the project?
2:10pm

4:38pmmahitihi
4:41pmmahitihow do we configure the smtp settings of a new karl instance

6:56pmchrisrossisowmya: mahiti: Karl delivers mail to a queue that is a folder in Maildir format on your local filesystem.
6:57pmchrisrossiso Karl, the webapp, doesn't interact directly with an smtp server.
6:57pmchrisrossiIn order to send the mail out you need to invoke the bin/qp script
6:57pmchrisrossibin/qp --help will print the arguments you can provide, including smtp host information.
6:57pmchrisrossiwe invoke this once a minute or so via cron.
6:58pmchrisrossiThere is also a daemon mode that we're not currently using that you could experiment with
6:58pmmahitioh, interesting and valuable inputs
6:58pmmahitiis this documented anywhere?
7:10pmmahitichrisrossi: i checked the folder
7:10pmmahitithere seem to be no such folder created...
7:10pmmahitiwill it get created in the /var?
7:11pm
chrisrossiThe folder is specified in karl.ini as 'mail_queue_path'.
7:11pmmahitioh, ok
7:12pmchrisrossiby default, in karlsample, that is var/mail_queue
So check the karl.ini under etc folder checking the folder where the tmp folder is created for mail.
Also set the admin's email address for site's administartion. it roughly in line no 17.
min_pw_length = 8
#admin_email = ????


Comments