-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Found another interesting one.
In the linked Docker setup, if errorlog is commented out then LHLO silently fails and kills the connection. With it uncommented, I can get a log and delivery from OpenSMTPD seems to work. Can anyone else confirm? Wondering if this is due to the Docker container not providing syslog? I'd hoped that starting with -v, which the help claims logs to STDOUT/STDERR, would circumvent this. Thanks. On 9/7/2014 12:10 PM, Nolan Darilek wrote: > 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) iQIcBAEBAgAGBQJUDKcTAAoJEAIF+g7+rYRXyjoP/1RX4d6vBotA2s/OU7Z9dqxM OEPibObN6d3lD5T7iqhkSGGaqLVNgHCRLE02DkyvXUyrw9Y/vC6yMA2JsqfbxL2Y dUNlg8jOkp0cww805eq2kQtJuQd31m6Zb1JifS0jNP9je4M5XvNWsfZVEmQvnVt/ 7G827m0GEz0W1y1W1+57LKgOnjQ0MfQrffGS+66Fg8ADV+mPrCp7kFqSrfynypHl G9c714x+y90+tIsQeVSp7a8i538Chw1VBagOKilAA7Jycz3/NUoMT32Jd5OC6WLR EaRsCMDpSjs4VAZw1pH62OponWJwijv6vG8EoRr2MIKNnIe5o0Fau7b0pCaA9Emx qu5N/py4MdTyi8BGAa0CqPp5f7QxppcN+dbjjUn5O5Huqr5oRyEIWxcPoseSgn1C wj3XF2Xj0BSXv5gRj4qCv7ESclSLol+kS0wCnyMVvSyBMFiDh3UcXAlVFzJKeHxG F/11Pvk66hHD8nnbJDaB/3qigFeGxrfGXbt4t0L9qGI13fpOxPW2/qDoBbbNb7Fg DIQ3Ay+WgdF1PcDO+woEZskJDA6Cf81yGPrXM+HP96xghvpGniKqlaipN61wsGM+ fIaipR3UL1OXhPtFnQ+VMsBGgzC9e4o2B2wYD34/VLKQla4f3K/Mnd4p2DfruVaa 1DXFqM50YzUJz/M8xd/1 =0y9p -----END PGP SIGNATURE----- _______________________________________________ DBmail mailing list DBmail@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail