[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sasl + postfix



On 19 Sep 2012, Jürgen Dollinger outgrape:
> Henning Follmann wrote:
>> On Tue, Sep 18, 2012 at 03:43:16PM +0200, Jürgen Dollinger wrote:
>>> courier-imap und Cyrus SASL installiert und analog zu
>>> http://wiki.debian.org/PostfixAndSASL konfiguriert.
> [...]
>> Hier ist eine gute Anleitung, die Dir helfen wird, das einzurichten:
>>
>> http://wiki.debian.org/PostfixAndSASL
> execve("/usr/lib/postfix/smtpd", ["smtpd", "-n", "smtp", "-t", "inet",
> "-u", "-c", "-o", "stress=", "-o", "content_filter=spamchk"], [/* 4
> vars */]) = 0
> setgroups32(2, [107, 45])               = 0
> chroot("/var/spool/postfix")            = 0
> chdir("/")                              = 0
> setuid32(104)                           = 0
> accept(6, {sa_family=AF_INET, sin_port=htons(50241),
> sin_addr=inet_addr("172.16.3.43")}, [16]) = 16
> setsockopt(16, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
> read(16, "STARTTLS\r\n", 4096)          = 10
> socket(PF_FILE, SOCK_STREAM, 0)         = 17
> connect(17, {sa_family=AF_FILE, path="/var/run/saslauthd"}, 110) = -1
> EACCES (Permission denied)
> close(17)                               = 0

Wem gehört /var/run/saslauthd? Der smtpd läuft ja als user postfix und
braucht Lese- und Schreibrechte auf dem Socket.

Hier verwende ich den saslauthd von Dovecot (dadurch bekommen die Nutzer
mit einem IMAP-Account gleich auch Zugriff auf SMTP), da kann man in der
Konfiguration einstellen wem das Socket gehören soll, und welche Rechte
es haben soll.

bye Gerhard


Reply to: