Postfix working with Ldap


 
Thread Tools Search this Thread
Special Forums IP Networking Postfix working with Ldap
# 1  
Old 07-28-2010
Postfix working with Ldap

Hi everybody,
I am working on mail server(postfix+dovecot+amavisd-new) working with ldap directory. I have an error while attempting to send a mail on my own mail address in the domain:
Code:
Jul 28 12:04:14 HA1UB postfix/smtpd[1482]: warning: dict_ldap_lookup: /etc/postfix/ldap-aliases.cf: Search base 'dc=ub,dc=edu,dc=bi' not found: 32: No such object

I think is that my ldap server is on another server which is not hosting my server mail and the search base isn't interpreted by the ldap server.

Can you please advice what can be the search base.
I am just try to make a mail server based on ldap and I am newbie in this domain.

Thank you in advance.

Eloge
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

LDAP Client not connecting to LDAP server

I have very limited knowledge on LDAP configuration and have been trying fix one issue, but unsuccessful. The server, I am working on, is Solaris-10 zone. sudoers is configured on LDAP (its not on local server). I have access to login directly on server with root, but somehow sudo is not working... (9 Replies)
Discussion started by: solaris_1977
9 Replies

2. Solaris

Sudo not working on LDAP client machine

Hi, I have configured ldap manually on solaris 10/11 machine with below entries: # ldapclient list |grep sudo NS_LDAP_SERVICE_SEARCH_DESC= sudoers:ou=SUDOers,dc=exm,dc=ple,dc=com # cat /etc/nsswitch.conf |grep -i sudo sudoers: files ldap # But groups available in LDAP server... (8 Replies)
Discussion started by: Sridaran
8 Replies

3. UNIX and Linux Applications

Postfix: Active Directory and postfix alias

I have a mailserver with postfix i want to alias all mail for administrator@domain.fqdn to root@domain.fqdn I have the aliases configured,and i did newliases but doesn't work. How to did this?Postfix is configured for virtual domain on ad server. (2 Replies)
Discussion started by: Linusolaradm1
2 Replies

4. UNIX for Advanced & Expert Users

something like LDAP Administrator 2011.1 "LDAP-SQL" but for the CLI

Hi I am searching a tool like "LDAP Administrator 2011.1"/ "LDAP-SQL" but for the CLI. Wish to use LDAP-SQL in scripts (non Windows GUI environment) http://ldapadministrator.com/resources/english/2011.1/images/sqlquery_large.png Softerra LDAP Administrator 2011.1 - What's New OS is... (2 Replies)
Discussion started by: slashdotweenie
2 Replies

5. UNIX for Dummies Questions & Answers

Please help with Postfix config issue - How to allow remote Exchange server to relay to my postfix

Hi guys One of our clients have a problem with sending email to a certain domain. No matter what we try, the mails just dont get delivered. What I did then, is created a new connector on their Exchange server, pointing all mail sent to their client at "domain1" to relay to our Postfix mail... (0 Replies)
Discussion started by: wbdevilliers
0 Replies

6. Linux

Secondary groups not working with NFS (+LDAP)

I´m using LDAP for groups and NFS for home dirs. My problem is as follows: I only have a few groups, so it's not the problem everyone else had. When I've mounted a disk over NFS, I need to have my primary group in order to read in the groups I'm a member of. Secondary groups is not working. ... (0 Replies)
Discussion started by: velmont
0 Replies

7. IP Networking

postfix - reinject mail to postfix from hold queue directory

hi all. Am using smtpd_recipient_restrictions & check_recipient_access in postfix. The hash file looks like this: emailaddress1 HOLD emailaddress2 HOLD The aim is to place email from these recipients in the hold directory,check them then reinject them back in postfix on some... (0 Replies)
Discussion started by: coolatt
0 Replies

8. OS X (Apple)

Postfix in Mac OS X 10.5 not working

I'm currently working on a project that would need to send email from my list of users. Based on the search I've done, I could send formatted email from my server using Postfix. I setup my mac adding a few lines below: /etc/hostconfig MAILSERVER=-YES- /etc/postfix/main.cf ... (1 Reply)
Discussion started by: airman_ole
1 Replies

9. Programming

LDAP delete - seems not working

Hi all, I am very new to ldap and am facing the below difficulty. When I try to add something to ldap, I get this: server# /opt/iexpress/openldap/bin/ldapmodify -f almondabc.ldif -h 127.0.0.1 -xv -D cn=Manager,dc=almondabc,dc=com -w secret ldap_initialize( ldap://127.0.0.1 ) add o: ... (0 Replies)
Discussion started by: almond
0 Replies

10. UNIX for Advanced & Expert Users

Postfix 2.3.

When I use the postalias command I am getting an error that says no mapping in /etc/mail/mailer.conf. I am running FreeBsd 6.1 and in my main.cf I have my alias database is alias_maps= hash:/etc/mail/aliases I tried the command two different ways /usr/local/sbin/postalias /etc/mail/aliases... (2 Replies)
Discussion started by: rbizzell
2 Replies
Login or Register to Ask a Question
DOVECOT-LDA(1)							      Dovecot							    DOVECOT-LDA(1)

NAME
dovecot-lda - Dovecot's local mail delivery agent SYNOPSIS
dovecot-lda [-ek] [-a address] [-c config_file] [-d username] [-f envelope_sender] [-m mailbox] [-o setting=value] [-p path] DESCRIPTION
The dovecot-lda is a local mail delivery agent which takes mail from an MTA and delivers it to a user's mailbox, while keeping Dovecot index files up to date. Main features of the dovecot-lda are: * Mailbox indexing during mail delivery, providing faster mailbox access later * Quota enforcing by the quota plugin * Sieve language support by the Pigeonhole sieve plugin OPTIONS
Options accepted by dovecot-lda: -a address Destination address (e.g. user+ext@domain). Default is the same as username. -c config_file Alternative configuration file path. -d username Destination username. If given, the user information is looked up from userdb. Typically used with virtual users, but not neces- sarily with system users. -e If mail gets rejected, write the rejection reason to stderr and exit with status 77 (EX_NOPERM). The default is to send a rejection mail ourself. -f envelope_sender Envelope sender address. -k Don't clear all environment at startup. -m mailbox Destination mailbox (default is INBOX). If the mailbox doesn't exist, it will not be created (unless the lda_mailbox_autocreate setting is set to yes). If a message couldn't be saved to the mailbox for any reason, it's delivered to INBOX instead. -o setting=value Overrides the configuration setting from /etc/dovecot/dovecot.conf and from the userdb with the given value. In order to override multiple settings, the -o option may be specified multiple times. -p path Path to the mail to be delivered instead of reading from stdin. If using maildir the file is hard linked to the destination if pos- sible. This allows a single mail to be delivered to multiple users using hard links, but currently it also prevents deliver from updating cache file so it shouldn't be used unless really necessary. EXIT STATUS
dovecot-lda will exit with one of the following values: 0 Delivery was successful. (EX_OK) 64 Invalid parameter given. (EX_USAGE) 77 -e option was used and mail was rejected. Typically this happens when user is over quota and quota_full_tempfail = no is configured. (EX_NOPERM) 75 A temporary failure. This is returned for almost all failures. See the log file for details. (EX_TEMPFAIL) FILES
/etc/dovecot/dovecot.conf Dovecot's main configuration file. /etc/dovecot/conf.d/10-mail.conf Mailbox locations and namespaces. /etc/dovecot/conf.d/15-lda.conf LDA specific settings. /etc/dovecot/conf.d/90-plugin.conf Plugin specific settings. /etc/dovecot/conf.d/90-quota.conf Quota configuration. REPORTING BUGS
Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting bugs is avail- able at: http://dovecot.org/bugreport.html SEE ALSO
doveadm(1), dovecot(1), doveconf(1), dsync(1) Related MTA specific documentation: Postfix: postconf(5), transport(5), pipe(8) Exim: The accept router http://exim.org/exim-html-current/doc/html/spec_html/ch16.html Generic options for transports http://exim.org/exim-html-current/doc/html/spec_html/ch24.html The pipe transport http://exim.org/exim-html-current/doc/html/spec_html/ch29.html Dovecot v2.2 2011-01-16 DOVECOT-LDA(1)