Re: table-passwd invialid without the shell

2014-04-16 Thread Gilles Chehade
On Thu, Apr 17, 2014 at 07:13:57AM +0200, Martin Braun wrote: > In the documentation http://opensmtpd.org/table.5.html it doesn't use > the shell in the passwd file. > table(5) describes the format of file, static and db tables which is the internal format used by every table we support. when yo

Re: Why use lda or lmtp at all?

2014-04-16 Thread Martin Braun
Thank you very much for explaining this! :) 2014-04-17 6:48 GMT+02:00 Bryan Vyhmeister : > The advantage in dovecot delivering the mail directly is that the indexes are > updated at delivery rather than later scanned when the user checks their > mail. Also, sieve scripts work great with dovecot-

table-passwd invialid without the shell

2014-04-16 Thread Martin Braun
In the documentation http://opensmtpd.org/table.5.html it doesn't use the shell in the passwd file. The documentation uses the following example: In a listener context, the credentials are a mapping of username and encrypted passwords: user1 $2a$06$hIJ4QfMcp.90nJwKqGbKM.MybArjHOTpEtoTV.DgLYAiThu

Re: Why use lda or lmtp at all?

2014-04-16 Thread Bryan Vyhmeister
The advantage in dovecot delivering the mail directly is that the indexes are updated at delivery rather than later scanned when the user checks their mail. Also, sieve scripts work great with dovecot-lda which is how I filter the many lists I am subscribed to. Another advantage, and one I use

Why use lda or lmtp at all?

2014-04-16 Thread Martin Braun
I have now (finally) a successful setup in which opensmtpd delivers mail to dovecot-lda and dovecot handles imap, but I tried to have opensmtpd deliver the mail directly into the maildir, and NOT to dovecot, and just have dovecot serve IMAP. Keeping them separated and using OpenSMTPDs own MDA seem

Re: OpenSMTPD can't talk with Dovecot, wrong UID

2014-04-16 Thread Martin Braun
Actually setting all users in to vmail worked! I had missed a "%" sign infront of {dest} Gonna share my setup once I get my notes validated. It would be really cool to have LMTP working too :) 2014-04-17 1:30 GMT+02:00 Martin Braun : > Okay.. so I finally figured out what's going on. > > Gettin

OpenSMTPD can't talk with Dovecot, wrong UID

2014-04-16 Thread Martin Braun
Okay.. so I finally figured out what's going on. Getting dovecot to give some usefull debugging apparently needed to create it's own log file rather than logging to syslog, anyway.. OpenSMTPD is calling dovecot-lda with the wrong user! Dovecot expects the user to be vmail, which is setup in "uni

git push --tags

2014-04-16 Thread Jason A. Donenfeld
Can you guys remember to do this? I like being able to see which commits each snapshot contains. Thanks, Jason -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Pleasure vs pain

2014-04-16 Thread Martin Braun
It was such a pleasure working with and experimenting on OpenSMTPD. Had it up and running so fast due to the absolutely fantastic and logical PF-like configuration. As soon as Dovecot enteren ento the equation pleasure - slowly but surely - turned into pain and frustration (having been at it for

Re: OpenSMTPD talking with Dovecot

2014-04-16 Thread Martin Braun
This is what I've got, which isn't working. # groupadd -g 5000 vmail # useradd -g vmail -u 5000 -d /var/vmail -m vmail # chown -R vmail:vmail /var/vmail # chmod u+w /var/vmail /etc/dovecot/dovecot.conf: protocols = imap listen = * /etc/dovecot/conf.d/10-mail.conf: mail_location = maildir

Issues with SQLite and the Alias table

2014-04-16 Thread Barbier, Jason
Hi All, So I got virtual users working for the most part except for the aliases. any time I try to do an alias lookup I get greeted with a -1 error instead of a 0. If I take my query that i have for query_alias and manually run it in the sqlite client it pulls back what i expect, one entry contain

Re: OpenSMTPD talking with Dovecot

2014-04-16 Thread Craig R. Skinner
On 2014-04-16 Wed 04:59 AM |, Martin Braun wrote: > > I actually prefered when Dovecot had just one huge configuration file > instead of the one gazillion files it has now. > I prefer it with separate files for logical parts. > Any ideas? > http://wiki2.dovecot.org/PasswordDatabase/ #10-mai

Re: OpenSMTPD talking with Dovecot

2014-04-16 Thread Stefan Sieg
On 16.04.2014 04:59, Martin Braun wrote: > I finally got OpenSMTPD talking with Dovecot. I am using a users.db > file which OpenSMTPD has no problems reading and authenticating > against, but I am getting really tired of Dovecot and its HUGE > configuration mess (IMHO). > > So "foo" sends an email