Re: [Dovecot] sendmail smtp auth using client socket [LDAP auth]

2009-02-12 Thread Andrzej Adam Filip
EQX  wrote:

> Hi list
>
> I searched the net, but could not find something related.
>
> Is it possible to export the client socket to sendmail for smtp auth?
> What would be the sendmail.mc configuration for this?
>
>#client {
>   # The client socket is generally safe to export to everyone. Typical use
>   # is to export it to your SMTP server so it can do SMTP AUTH lookups
>   # using it.
>   #path = /var/spool/postfix/private/auth
>   #mode = 0660
>   #user = postfix
>   #group = postfix
> #}
>
> It can also be the other way round: can Dovecot use Cyrus SASL for
> user authentication?
>
> I need to use sendmail, ip based solutions like pop-before-smtp or
> poprelay are not an option.

Have you considered using "LDAP based" authentication in dovecot and
sendmail?

-- 
[pl>en: Andrew] Andrzej Adam Filip : a...@onet.eu
Packages should build-depend on what they should build-depend.
  -- Santiago Vila on debian-devel


Re: [Dovecot] sendmail smtp auth using client socket

2009-02-12 Thread Ken A

Ken A wrote:



Through pam, if you set "MECH=pam" in sasl config.
http://wiki.dovecot.org/PasswordDatabase/PAM



uh.. nevermind. got the cart before the horse there.
need more coffee..
Ken


Re: [Dovecot] sendmail smtp auth using client socket

2009-02-12 Thread Ken A

EQX wrote:


Hi list

I searched the net, but could not find something related.

Is it possible to export the client socket to sendmail for smtp auth? 
What would be the sendmail.mc configuration for this?

   #client {
  # The client socket is generally safe to export to everyone. 
Typical use

  # is to export it to your SMTP server so it can do SMTP AUTH lookups
  # using it.
  #path = /var/spool/postfix/private/auth
  #mode = 0660
  #user = postfix
  #group = postfix
#}

It can also be the other way round: can Dovecot use Cyrus SASL for user 
authentication?


Through pam, if you set "MECH=pam" in sasl config.
http://wiki.dovecot.org/PasswordDatabase/PAM

Ken



I need to use sendmail, ip based solutions like pop-before-smtp or 
poprelay are not an option.


Thanks, Mike





Re: [Dovecot] sendmail smtp auth using client socket

2009-02-12 Thread Timo Sirainen
On Thu, 2009-02-12 at 10:40 +0100, EQX wrote:
> Hi list
> 
> I searched the net, but could not find something related.
> 
> Is it possible to export the client socket to sendmail for smtp auth?  

Not currently. They speak different protocols. Would be nice to have
that feature some day, but I'm not planning to write support for it
anytime soon.

> It can also be the other way round: can Dovecot use Cyrus SASL for  
> user authentication?

No.



signature.asc
Description: This is a digitally signed message part


[Dovecot] sendmail smtp auth using client socket

2009-02-12 Thread EQX


Hi list

I searched the net, but could not find something related.

Is it possible to export the client socket to sendmail for smtp auth?  
What would be the sendmail.mc configuration for this?


   #client {
  # The client socket is generally safe to export to everyone. Typical use
  # is to export it to your SMTP server so it can do SMTP AUTH lookups
  # using it.
  #path = /var/spool/postfix/private/auth
  #mode = 0660
  #user = postfix
  #group = postfix
#}

It can also be the other way round: can Dovecot use Cyrus SASL for  
user authentication?


I need to use sendmail, ip based solutions like pop-before-smtp or  
poprelay are not an option.


Thanks, Mike