________________________________
 From: Szládovics Péter <[email protected]>
To: [email protected] 
Sent: Thursday, September 26, 2013 5:29 AM
Subject: Re: [SOGo] email bouncing
 


2013-09-26 00:50 keltezéssel, J. írta:

I've got ldap authentication set up for postfix and dovecot and have several 
domains being served by the machine. For two of the domains email is coming 
through ok, but on the others it's bouncing with "User doesn't exist:". There 
is an email alias attribute set per user called "AlternateAddress" and for 
example, a user has:
>
>mail: [email protected]
>AlternateAddress: [email protected]
>AlternateAddress: [email protected]
>
>the first two work, but the third bounces. Is there a place I
        need to tell the auth mechanism which domains are ok or should
        this set up work? (our setup is very similar to the example
        files that Peter sent earlier today. Something like:
        query_filter = (|(mail=%s)(AlternateAddress=%s)) )
>
>possible related issue: mail is showing up in my inbox in
        Thunderbird, but not in the SOGo web client when I log in.
>
I thing the problem is not the domain, bit the name part of the email.
The mail source (query_filter = (|(mail=%s)(AlternateAddress=%s)) )
    is PK, but what is your result attribute, and what are the
    parameters of the mda agent?

Yes, you're right. I tried sending an email out last night about that, but 
yahoo's server was somehow blacklisted and it was bouncing, but that's correct. 
Domains can be changed, but the username part is what's failing/bouncing.

This is the dovecot ldap setting:
auth_bind = yes
pass_filter = (&(accountStatus=active)(uid=%Ln))
user_filter = (uid=%Ln)
user_attrs = uid=home=/var/vmail/users/%L$

This is postfix:
query_filter = (|(mail=%s)(AlternateAddress=%s))
result_attribute = uid
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to