Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

error postfix + active directory

Reply to Post Add a New Topic
UserPost

12:51 am
October 29, 2010


mgutierrezch

New Member

posts 1

I followed the post: Postfix Active Directory/LDAP Integration.

My ldap-users.cf configuration has:

server_host = serverwin1.redlinux.org
search_base = dc=redlinux,dc=org
version = 3
query_filter = (&(objectclass=person)(mail=%s))
result_attribute = administrador
result_format = %s/Maildir/
bind = yes
bind_dn = administrador@redlinux.org
bind_pw = 123456

Main.cf has:

mydestination = $myhostname, localhost.$mydomain, localhost

virtual_mailbox_domains = $mydomain
virtual_mailbox_base = /home/vmail/
virtual_mailbox_maps = ldap:/etc/postfix/ldap-users.cf
virtual_uid_maps = static:504
virtual_gid_maps = static:504

 

I restart MailScanner, because i have Postfix+Dovecot+MailScanner+Spamassassin+Clamav.

and i have an active directory server(windows server 2003)

But when i test postfix with telnet:

 

[root@mail postfix]# telnet localhost smtp
Trying 127.0.0.1…
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 mail.redlinux.org ESMTP Postfix
mail from: lordonez@redlinux.org
250 2.1.0 Ok
rcpt to: mnarro@redlinux.org
550 5.1.1 <mnarro@redlinux.org>: Recipient address rejected: User unknown in virtual mailbox table

Suggestions? help me please.

 

Thanks a lot!

8:32 am
October 31, 2010


consultant

Admin

posts 353

Hi,

 

This line below is wrong.

result_attribute = administrador

 

it should be

result_attribute = samaccountname

 

After which, test it to confirm your settings are correct. The article includes the step to test your settings.

Reply to Post

Reply to Topic:
error postfix + active directory

Guest Name (Required):

Guest Email (Required):

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
9 + 5
   


About the Linux Mail Server Setup and Howto Guide Forum

Forum Timezone: America/New_York

Most Users Ever Online: 60

Currently Online:
11 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 5
Topics: 343
Posts: 1062

Membership:

There are 966 Members
There have been 91 Guests

There is 1 Admin

Top Posters:

shanmugasundaram s – 46
Kendermin – 15
Ginger – 14
bighorn – 14
iron_michael86 – 12
Raminda – 11

Recent New Members: waveney, achal, niesul14, hesaum, sreevinodss, nasonov

Administrators: consultant (353 Posts)