Permissions for LMTP UNIX domain socket

2014-03-05 Thread Michael Neumann
Hi, I am having problems to let OpenSMTPD directly talk with dovecot via an LMTP UNIX domain socket. The domain socket is created with _smtpd:_smtpd 0660 permissions: # ls -la /var/run/dovecot/lmtp srw-rw 1 _smtpd _smtpd 0 Mar 4 12:06 /var/run/dovecot/lmtp But somehow the smtpd

Re: Permissions for LMTP UNIX domain socket

2014-03-05 Thread Ashish SHUKLA
On Wed, 05 Mar 2014 13:25:34 +0100, Michael Neumann mneum...@ntecs.de said: Hi, I am having problems to let OpenSMTPD directly talk with dovecot via an LMTP UNIX domain socket. The domain socket is created with _smtpd:_smtpd 0660 permissions: # ls -la /var/run/dovecot/lmtp srw-rw

Re: Permissions for LMTP UNIX domain socket

2014-03-05 Thread Ashish SHUKLA
On Wed, 05 Mar 2014 13:56:06 +0100, Michael Neumann mneum...@ntecs.de said: Am 05.03.2014 13:41, schrieb Ashish SHUKLA: On Wed, 05 Mar 2014 13:25:34 +0100, Michael Neumann mneum...@ntecs.de said: Hi, I am having problems to let OpenSMTPD directly talk with dovecot via an LMTP UNIX domain

Avoid relaying to ourself

2014-03-05 Thread Michael Neumann
Hi, I am having an OpenSMTPD configuration which relays local mail to itself, failing after 100 (?) recursions. The problem is that a periodic cron-job sends mail to root@`hostname`, but the OpenSMTPD instance on `hostname` does not have a rule to accept mail for `hostname`. `hostname` in this

Re: postgres and ldap backends

2014-03-05 Thread Joel Carnat
I've just compiled and installed 5.4.2. Not sure why, but smtpd still crashes after a LDAP lookup. ### SMTPD CONFIGURATION (there may be some garbage as I am still digging ;-) # egrep -v ^$|^# /etc/mail/smtpd.conf.local lan_addr = 192.168.0.128 listen

Re: postgres and ldap backends

2014-03-05 Thread Joel Carnat
Le 5 mars 2014 à 18:10, Gilles Chehade gil...@poolp.org a écrit : can you start smtpd with -dv -T lookup -T table ? this should provide a bit more information about the ldap lookup yup. # smtpd -dv -T lookup -T table debug: init ssl-tree info: OpenSMTPD 5.4.2

Re: postgres and ldap backends

2014-03-05 Thread Gilles Chehade
if you can come on irc and stay for a while, i can kill this one by tonight On Wed, Mar 05, 2014 at 06:22:04PM +0100, Joel Carnat wrote: Le 5 mars 2014 ? 18:10, Gilles Chehade gil...@poolp.org a ?crit : can you start smtpd with -dv -T lookup -T table ? this should provide a bit more

Re: postgres and ldap backends

2014-03-05 Thread Joel Carnat
Unfortunately, real life take precedence tonight ;-) I may find time to connect tomorrow during work-day. Or a bit late in the evening. Although it's been tenths of years since I ran an IRC client on my laptop ;-) Le 5 mars 2014 à 18:42, Gilles Chehade gil...@poolp.org a écrit : if you can

Re: postgres and ldap backends

2014-03-05 Thread Gilles Chehade
it's ok ;-) you're using openldap or openbsd's ldapd ? On Wed, Mar 05, 2014 at 06:51:10PM +0100, Joel Carnat wrote: Unfortunately, real life take precedence tonight ;-) I may find time to connect tomorrow during work-day. Or a bit late in the evening. Although it's been tenths of years