01-18-2011
The malfunction, whatever it may be, is probably in comm->getchar(). You haven't posted that class, so we can't tell what it is.
In fact, why not just post the code in general so we don't have to wheedle you for bits of it piecemeal, dragging out the process for days or weeks.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
I am not sure if this is the correct place for this question, and if not, please move this to the correct forum
I have Linux machine that is capable of sending emails via sendmail
I have another Windows machine on which I have PHP installed
I would like PHP on the Windows machine to... (0 Replies)
Discussion started by: jasongr
0 Replies
2. UNIX for Advanced & Expert Users
Hi,
We had an upgrade today morning and since then mailx command is not working.
I have been told to change the DNS to use host name as smtp.companyname.com instead of the IP address.
Can someone please help me out to know where can I change this on a Unix Server.
Thanks
Aman (5 Replies)
Discussion started by: chawlaaman
5 Replies
3. Solaris
im running Solaris9.
sendmail version 8.13
every now and then my smtp server is being blacklisted resulting to relay denied to some of my client.
what is the very first thing i have to implement?
thanks (1 Reply)
Discussion started by: uwagon
1 Replies
4. AIX
Hello,
Looking for Document how to install / configure SMTP Server on AIX 6.1
is it through smitty menu ? (3 Replies)
Discussion started by: filosophizer
3 Replies
5. Shell Programming and Scripting
i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies
6. Ubuntu
Is there any way to create an SMTP mail server will all granular permissions to it so that I can read emails which that server receives through any scripting language and also reply from the same server automatically? (3 Replies)
Discussion started by: sandeepcm
3 Replies
7. UNIX for Dummies Questions & Answers
hi guys
I have to configure a SMTP server using Postfix, ok let me tell the domain is located at godaddy so my smtp postfix server has to use that domain let's say mycompany.com
so anyone knows how to configure postfix using this way?
or postfix is easy to configure?
thanks a lot (3 Replies)
Discussion started by: karlochacon
3 Replies
8. UNIX for Dummies Questions & Answers
Hi there,
I have a dedicated server that sends mail with own smtp (obviously).
On this server I have a web platform for music artists that allows entries for each enrollment and sends confirmation e-mails and so on ...
Now I have purchased a service smtp (like those of smtp.com) because I... (3 Replies)
Discussion started by: colorsthink
3 Replies
9. Red Hat
Hi,
We current use an email/hosted exchange server (provided by 3rd party company).
Our production DNS (RH5) server has got the MX rec configured for this 3rd party mail relay server. So in order to resolve hostnames to send outbound mails an A record entry is also required on the external... (1 Reply)
Discussion started by: Duffs22
1 Replies
10. Web Development
Hello list,
I want to be able to send email directly from my linux box. I have both a CentOS and Debian installation. I am by no means an expert when it comes to all of the SMTP servers. I have been testing different configs by installing and uninstalling sendmail, postfix, and exim4.
... (2 Replies)
Discussion started by: landossa
2 Replies
LEARN ABOUT HPUX
sem_post
sem_post(2) System Calls Manual sem_post(2)
NAME
sem_post - unlock a POSIX semaphore
SYNOPSIS
DESCRIPTION
is used to post the semaphore referenced by sem. The calling thread will not return from its call to unless it can either: increment the
semaphore value, if there are no blocked threads on this semaphore; give the semaphore to a blocked thread, if there are any blocked
threads on this semaphore; or have an error condition.
If the semaphore value is < 0, the semaphore has blocked threads, waiting for it to become available (the absolute value of the semaphore's
value indicates the number of waiters at that moment). If the semaphore value is >= 0, the semaphore has no waiters.
If the semaphore has no waiters at the time its value is checked, the semaphore's value will be atomically incremented, with respect to the
checking of its value, up to its maximum value as specified by If the semaphore has waiters at the time its value is checked, the semaphore
value is not changed. Instead, the calling thread will attempt to wake up a waiter. If the semaphore has waiters having realtime priori-
ties, the thread must wake up the highest priority waiter. Otherwise the thread at the head of the channel queue is woken up.
When a waiter is successfully woken, the semaphore being posted will be given to the woken waiter. In other words, the state of the sema-
phore remains unchanged. Instead, the semaphore being posted will be inherited by the waiter being woken from this call to
If the specified semaphore referred to by sem is a named semaphore, then this semaphore must have been opened by the calling process with
The calling process must have both read and write permissions on the semaphore to perform this operation. The routine may be called asyn-
chronously, i.e. from a signal handler.
To use this function, link in the realtime library by specifying on the compiler or linker command line.
EXAMPLES
The following call to will post the semaphore sem.
RETURN VALUE
A successful call to will return 0 and the calling thread would have posted the semaphore. Otherwise, the call to will return -1 with
errno set to the appropriate value of the error condition.
ERRORS
fails and does not perform the requested operation if any of the following conditions are encountered:
[EPERM] The calling process does not have the privileges necessary to post the semaphore.
[EINVAL] The argument sem does not refer to a valid semaphore.
SEE ALSO
<semaphore.h>.
STANDARDS CONFORMANCE
sem_post(2)