Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Still issue is not resolved, ldap connectivity is not happening with all my postfix servers.
restarted slapd services perfectly. port 389 is also open
Please help, Your help is really appreciated.
Honestly, what do you expect us to be able to tell you??? We'd have to know EVERYTHING about your environment to even begin...this is a large-scale, systemic problem. If *NONE* of your postfix servers are working anymore, then something has changed on your LDAP server, or there has been a change in your network/firewalls between the postfix systems and the LDAP servers.
Have you done ANY basic troubleshooting??? Run an ldap query from the command line on the postfix servers, to see what you get? Looked at the logs? Asked any of your co-workers what they've done??? We can't guess as to EVERYTHING...tell us what you've done/tried/looked at, and we can go from there.
Earlier it was showing not FQDN : Sleeping retry error
so i update the /etc/hosts file as required.
Some usera are access to mails but it takes more than 20-4o minutes to reach, & showing connection dropped error
postfix server logs:
Sep 3 15:26:57 mailsrv3 postfix/trivial-rewrite[13493]: warning: dict_ldap_lookup: Search error -5: Timed out
Sep 3 15:26:57 mailsrv3 postfix/trivial-rewrite[13493]: fatal: ldap:/etc/postfix/groups.cf(0,lock|fold_fix): table lookup problem
Sep 3 15:26:58 mailsrv3 postfix/master[8706]: warning: process /usr/libexec/postfix/trivial-rewrite pid 13493 exit status 1
Sep 3 15:26:58 mailsrv3 postfix/smtpd[13528]: warning: problem talking to service rewrite: Connection reset by peer
There has not been any changes in firewall or network. Just the bandwidth link is increased from 1MB to 2 MB.
sudo postmap -q rajchand@chandigarh.scbindia.co.in ldap:/etc/postfix/ldap-aliases.cf
[sudo] password for debashish:
postmap: warning: dict_ldap_connect: Unable to bind to server ldap://MailWebSrv1:389 as cn=manager,dc=nabardmail,dc=co,dc=in: -5 (Timed out)
now users am able to login but mails not delivered..
Don't bump your own threads, unless you're providing more information.
And based on what you've posted...this makes ABSOLUTELY NO SENSE at all. You say that Postfix and LDAP were all working *TOTALLY FINE*...until you took a BACKUP? Copying file(s) doesn't change LDAP services, or postfix configurations. Then you add:
Quote:
Originally Posted by deva420patra
There has not been any changes in firewall or network. Just the bandwidth link is increased from 1MB to 2 MB.
...this, which indicates that there WERE changes in the network configurations...how, exactly, did you increase this link? What version/distro of Linux are you using?? You also indicate that you edited /etc/hosts, talk about your FQDN, etc....all these things indicate that you've changed quite a bit.
Again, roll back whatever changes were made, and see if that makes a difference. Just an increase in bandwidth won't affect postfix/ldap configurations.
Thanks for all the support, The issue has been resolved.
Don't know how in my ldap server the ldif file permissions changed to root:root, changed it to ldap:ldap solved my issue
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.