10 More Discussions You Might Find Interesting
1. 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
2. Shell Programming and Scripting
Hello fellow forum members,
I have a script which returns a date (I can design the script to return the value in email), How can I design the script in AIX to invoke another shell script which performs some set of actions.
Procmail doesnt work in AIX. (4 Replies)
Discussion started by: ektubbe
4 Replies
3. Shell Programming and Scripting
Hi All,
i have a folder in which we receive 6 files daily. the file name will be appended with date for ex : files that we receive on 1/9/2013 will be like file1_20130108.txt.zip
file1_20130108.txt
file2_20130108.txt.zip
file2_20130108.txt
file3_20130108.txt.zip
file3_20130108.txt
the... (3 Replies)
Discussion started by: mahesh300182
3 Replies
4. Solaris
Hi ,
I'm trying to send a mail from a sunOS machine that is within hp network to my email: eman.el-badawy@hp.com ,the user trying to send
is 'project',,but seems the mail address can not be resolved
checking /var/log/syslog i got the following:
Dec 25 14:34:02 svddev15 sendmail: ... (1 Reply)
Discussion started by: Eman_in_forum
1 Replies
5. Red Hat
hi,
i'm having a post fix email server and clients are accessing with out client. Once client accessing email from LAN and from his Broad Band connection too. Once that user download mails from server on LAN, when he try to access the emails again from home using his Broad Band connection same... (1 Reply)
Discussion started by: charitha rakkit
1 Replies
6. Shell Programming and Scripting
Hi all,
My question is how can we grep the time of the mail which we receive in our inbox?
like if i get a mail tonight at 10 i should be able to grep the time of it tomorrow morning or someother day in 24 hr format....
how can we do that? (2 Replies)
Discussion started by: smarty86
2 Replies
7. UNIX for Advanced & Expert Users
Hello,
Getting an extra attachment when i send a mail using below code.
The body and the rest of the attachments look very fine.
The extra attachment to be exact has a name ATT00001.txt. :confused:
This is not part of my $attach_list.
BOUNDARY='------The Boundary-----'
print - "From:... (1 Reply)
Discussion started by: pgop
1 Replies
8. Shell Programming and Scripting
hello,
i have a file in which lines like this are to ve replaced with lines like
{172.29.1.55 mn55.mgmt.yuva.param # }should change to
{0.0.0.0 mn55.mgmt.yuva.param #noconn
Fallowing are the lines example lines are in a file in the same sequence to be converted :
172.29.1.49 ... (1 Reply)
Discussion started by: pankajd
1 Replies
9. AIX
Greetings to all of you. I am a tad desperate here. I have found MANY articles scattered across the internet from google searches and unix.com searches for how to forward mail that say:
Create a ~/.forward file and put XXXX in it.
This is not what I need to do.
We have bunch of users... (1 Reply)
Discussion started by: DennisC31
1 Replies
10. UNIX for Dummies Questions & Answers
hello! when issuing the mail command to see my received mail, i get this error:
(server)starla:/home/starla>mail
Warning: Too many letters, overflowing letters concatenated
msgcnt 27378 vxfs: mesg 001: vx_nospace - /dev/vg00/lvol4 file system full (1 block extent)
mail: no space for temp file... (0 Replies)
Discussion started by: starla0316
0 Replies
postwait(2) System Calls Manual postwait(2)
NAME
postwait: pw_getukid(), pw_wait(), pw_post(), pw_postv(), pw_getvmax() - lightweight synchronization mechanism
SYNOPSIS
DESCRIPTION
Postwait is a fast, lightweight sleep/wakeup mechanism that can be used for synchronization by cooperating kernel threads within a single
process or between separate processes.
A thread calls to block. It resumes execution when it is posted by another thread, the call expires, or is signaled. If one or more posts
are already pending, returns immediately.
Threads using postwait are identified by their ukid. A thread retrieves its ukid by calling It shares this ukid with anyone it chooses by
any means it considers appropriate (for example, shared memory).
is called with a timeout ts. If ts is NULL, the thread will not timeout. It will remain blocked until posted or a signal wakes it up.
If ts points to a zero-valued timespec, will return immediately with a value (and indicating whether or not it was posted.
If ts points to a timespec whose value is greater than zero, the thread will block for that amount of time unless it is posted or inter-
rupted by a signal, in which case the timespec pointed to by ts is updated with the remaining time. The return value and are set to indi-
cate the reason the call returned.
is used to post many threads with a single call. It posts to all threads in the targets array. An value for each target is returned in
the errors array. (0 indicates success.) If the errors pointer is zero, no target-specific errors are copied out.
There is a maximum number of threads that can be posted with a single call. This value is returned by
Posts sent to a kernel thread that already has a post pending against it are discarded.
RETURN VALUE
returns 0 if it succeeds, -1 otherwise.
returns 0 if posted, -1 otherwise.
returns 0 if the post succeeds, -1 otherwise.
returns 0 if every post succeeds, -1 otherwise.
returns the maximum number of kernel threads that can be posted with a single call to
ERRORS
sets to one of the following values if it fails:
ukid points to an illegal address. The reliable detection of this error is implementation dependent.
sets to one of the following values if it fails:
was called with a timeout of 0 but the caller has no post(s) pending.
was called with a timeout that expired.
ts points to an illegal address. The reliable detection of this error is implementation dependent.
was interrupted
by a signal.
The timespec pointed to by ts is invalid.
sets to one of the following values if it fails:
The ukid refers to a non-existent kernel thread.
sets to one of the following values if it fails:
targets points to an illegal address. The reliable detection of this error is implementation dependent.
errors points to an illegal address. The reliable detection of this error is implementation dependent.
count is less than 0.
count exceeds the maximum value (as returned by
A ukid refers to a non-existent kernel thread.
postwait(2)