-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello.

A couple months back, I posted about having issues with DBMail's LMTP
server not logging. Since then, I ran into issues getting OpenSMTPD
talking to it and thought it was at fault, but after an exchange on
the OpenSMTPD listserve/issue tracker, the ball appears to be back in
DBMail's court. :)

Ultimately I think I've tracked the issue down. It was likely a
permissions problem. But I had trouble with DBMail's logging.

In particular, despite setting log levels to 255/511, and starting
dbmail-lmtp with -D and -vD, no logs were printed to the console even
after multiple failed sessions where I was able to talk to the server.
Ultimately I debugged the issue by starting dbmail-lmtp in the
background in a container, installing telnet/vim to update config
files and run an LMTP session by hand, and studying the
/var/log/dbmail.* logs. But it'd be a lot easier if I could make
DBMail output its logs to stdout/stderr so Docker can have access to them.

I'm posting a link to a tarball. It contains my Dockerfile, config
file, and 2 systemd units that I'm using to start LMTP/IMAP servers
under CoreOS. I'm not setting a CMD in the Dockerfile since there are
lots of DBMail entrypoints (IMAP/LMTP/spinning up a shell to
administer users) and picking one seems a bit silly. If anyone can
poke this setup and figure out if I can make it log to the console,
that'd be helpful. Please let me know if I can provide anything else.

Thanks!

https://dl.dropboxusercontent.com/u/147071/dbmail.tar.gz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJUDJFyAAoJEAIF+g7+rYRXI/UQAIEx35Aijy8KkV4F8qfVr6IC
2q6LeDZF3Ug1TgnsRG74lj++aBC3ULfJ548+oDGY1pkytOLQpyvnY3qT9hTZxjDK
BjX8vAYWItGOSO5KHLtbyYVGs1FYxJeo1BsY+t0cbrK3IgMjrHrKu3/6zPlflWjH
ZRgXrq0XOa06lQRKTxv/tS3UD8zqcADa/vyZWCXO+vsmzb6BnucoYYSXYwUci7Q+
VjcKuQLbXN3VC647q5niyj/BgE5Ek2nq5g2nzIHjhvAwRTPfnUCF4prVO6fbKsg5
FmHKTpS6e252cqO+nLj7oL1b3yQtmo7SqlSorCwke5W6xp/YxCDB7mwSM8YuzJ8B
BozyzAz8P9v95jR8CmwMwHpILcCu2Zx3HJSVl9dqKUqgqNRwW8TDrTwZmPm7Psp1
lcp5PKexlMoXR5IXSKlCJOB+I05CdMdWBk7PsVNvx36yDEqWl0/YpHI2jladPOib
N534C3dDltkczUEtnEOigqbQa7tYVI2DkiDyWW8S2ydEL49Ttx/LKZ3YMv+cxSmj
E8ULDxiBBOai3CiAs2Qj/1/bpLqmSWkzcuEDKBep1pA3uO9NOqmPAfYkmbHN5TbT
xEQsw7vcn2pWE11fSNb4j/RKTndid5PTigWemOhsR/h+OpWj5tJTd8kbZ+wj6G67
FwFk1Xywp1gK59hGW8bd
=9QTL
-----END PGP SIGNATURE-----
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to