06-11-2010
No trouble at all, glad I could help.
This User Gave Thanks to hergp For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
We now have a Log file which has time stamps of all the scripts ran. It has start
time and end time. I now have a requirement to send mail to the Admin after the script finishes running.
Can some one help me with a Script which will send mail with Start time and
End time of the... (2 Replies)
Discussion started by: srikanthgr1
2 Replies
2. UNIX for Dummies Questions & Answers
hardware = raq550 running on strongbolt2.
my sendmail log is littered with this entry all through the day:
localhost did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
it occurrs every 15 minutes. I don't have any problem sending or receiving mail. I did a search on google but couldn't... (0 Replies)
Discussion started by: tonj
0 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am afraid that I goofed up my mailing system.
I have an Ubuntu 9.10 system
$ uname -smor
Linux 2.6.31-14-generic x86_64 GNU/Linux
I am wanting to receive cron job mails. I noticed that cron jobs were trying to send mail to sendmail. I had installed ssmtp so I could send mail... (1 Reply)
Discussion started by: Narnie
1 Replies
4. What is on Your Mind?
Which among the following is most popular choice as a mail server -
1)Sendmail
2)Postfix
3)Qmail
Which is the industry preferred one? (2 Replies)
Discussion started by: proactiveaditya
2 Replies
5. UNIX for Advanced & Expert Users
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies
6. UNIX for Dummies Questions & Answers
On both Solaris 10 and RHEL, we would like to configure sendmail in such a way that the email sent from the server should only go to a particular domain. For eg. We want our server to ONLY send the mail to <user_name>@abc.com. All other domains should be blocked/restricted. The server should not... (0 Replies)
Discussion started by: sk2code
0 Replies
7. Proxy Server
PHP mail() function doesn't work.
Nor does sendmail:
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/xi/.msmtprc: No such file or directory
falling back to default account
using account default from /etc/msmtprc
host = xsi
port = 25
proxy host = (not... (1 Reply)
Discussion started by: Xcislav
1 Replies
8. UNIX for Beginners Questions & Answers
my request is:
i have to create a script , which will grep the 'not running' jobs and will send the update in mail with its name(job)
Scenario:
logged in to machine abc
went to particular path: cd /a/b/c
then ./script1.sh status (script.sh is a script,whose status gives info about 10 jobs... (1 Reply)
Discussion started by: learner987
1 Replies
9. UNIX Desktop Questions & Answers
I have set up a cron, which will send the mail with not runnnig jobs in the script.sh
15,30,45 * * * * /a/b/c/script.sh | grep not | mail -s "test mail" learner987@gmail.com
But i dont want mail when all the jobs are running, but with the above cron i will get mails without the content(if all... (2 Replies)
Discussion started by: learner987
2 Replies
10. UNIX for Advanced & Expert Users
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
LEARN ABOUT REDHAT
ldap_modrdn2
LDAP_MODRDN(3) Library Functions Manual LDAP_MODRDN(3)
NAME
ldap_modrdn, ldap_modrdn_s, ldap_modrdn2, ldap_modrdn2_s - Perform an LDAP modify RDN operation
SYNOPSIS
#include <ldap.h>
int ldap_modrdn(ld, dn, newrdn)
LDAP *ld;
char *dn, *newrdn;
int ldap_modrdn_s(ld, dn, newrdn)
LDAP *ld;
char *dn, *newrdn;
int ldap_modrdn2(ld, dn, newrdn, deleteoldrdn)
LDAP *ld;
char *dn, *newrdn;
int deleteoldrdn;
int ldap_modrdn2_s(ld, dn, newrdn, deleteoldrdn)
LDAP *ld;
char *dn, *newrdn;
int deleteoldrdn;
DESCRIPTION
The ldap_modrdn() and ldap_modrdn_s() routines perform an LDAP modify RDN operation. They both take dn, the DN of the entry whose RDN is
to be changed, and newrdn, the new RDN to give the entry. The old RDN of the entry is never kept as an attribute of the entry. ldap_mod-
rdn() is asynchronous, returning the message id of the operation it initiates. ldap_modrdn_s() is synchronous, returning the LDAP error
code indicating the success or failure of the operation. Use of these routines is deprecated. Use the versions described below instead.
The ldap_modrdn2() and ldap_modrdn2_s() routines also perform an LDAP modify RDN operation, taking the same parameters as above. In addi-
tion, they both take the deleteoldrdn parameter which is used as a boolean value to indicate whether the old RDN values should be deleted
from the entry or not.
ERRORS
The synchronous (_s) versions of these routines return an LDAP error code, either LDAP_SUCCESS or an error if there was trouble. The asyn-
chronous versions return -1 in case of trouble, setting the ld_errno field of ld. See ldap_error(3) for more details.
SEE ALSO
ldap(3), ldap_error(3)
ACKNOWLEDGEMENTS
OpenLDAP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). OpenLDAP is derived from University of Michigan
LDAP 3.3 Release.
OpenLDAP 2.0.27-Release 22 September 1998 LDAP_MODRDN(3)