10 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a script that displays all usernames and their UIDs in the following fashion:
name1 uid=999
name2... (2 Replies)
Discussion started by: baniel
2 Replies
2. IP Networking
Greetings folks,
I have a rather lengthy list of banned IP ranges in iptables. Initially it was constructed as a rather ad-hoc affair, then later I discovered a site which had IP Block By Country lists, and imported several into iptables.
If possible, I'd like to be able to verify if the list... (0 Replies)
Discussion started by: putter1900
0 Replies
3. Shell Programming and Scripting
Hi,
I have two files
file1 chr1_22450_22500
chr2_12300_12350
chr1_34500_34550
file2 11000_13000
15000_19000
33000_44000
If the file 1 ranges fall between file2 ranges then assign the value of file2 in column 2 to file1
output:
chr2_12300_12350 11000_13000
chr1_34500_34550 ... (7 Replies)
Discussion started by: Diya123
7 Replies
4. Red Hat
Hi,
I'm considering implementing pam_krb5 on RHEL 5.5 and Solaris 10, and I'm in an environment that has a number of legacy NIS domains. They've all been migrated into Active Directory, RFC2307, with the NIS maps that differed in each domain kept within its own container. However, users and... (0 Replies)
Discussion started by: cambridge
0 Replies
5. UNIX for Dummies Questions & Answers
I have a list of about 200,000 lines in a text file that look like this:
1 1 120
1 80 200
1 150 270
5 50 170
5 100 220
5 300 420
The first column is an identifier, the next 2 columns are a range (always 120 value range)
I'm trying fill in the values of those ranges, and remove... (4 Replies)
Discussion started by: knott76
4 Replies
6. Shell Programming and Scripting
Hi,
Please anyone help to achive this using perl or unix scripting .
This is date in my table 20090224,based on the date need to check the files,If file exist for that date then increment by 1 for that date and check till max date 'i.e.20090301 and push those files .
files1_20090224... (2 Replies)
Discussion started by: akil
2 Replies
7. Solaris
Hi all,
I am bit confused about UIDs on my server where LDAP athentication happens. UIDs are generally in the range of 0-65534 for any Solaris OS version(correct if i am wrong). My server is running on Solaris 9. Below are user accounts available on my server.
... (10 Replies)
Discussion started by: vvpotugunta
10 Replies
8. UNIX for Advanced & Expert Users
Hi,
What is the best ways to keep UIDs and GIDs consistent across unix and linux server. my company have a servers running on hpux, linux, aix and many of them have veritas cluster and hacmp running, many time user account have been created only on one of the cluster node and not the others... (4 Replies)
Discussion started by: robertngo
4 Replies
9. AIX
We have a problem where we delete a user and their associated UID gets dumped back in the UID pool. The if we immediately create a another (new) user, AIX reuses the last UID, the one that was just released. This is causing a problem when reports are being generated because the new users name is... (2 Replies)
Discussion started by: xsys2000
2 Replies
10. UNIX for Dummies Questions & Answers
hello guys,
well as i mentioned first i have a serious problem, i need your help.
i have a hosting plan with linux, apache and php.
i have a script (that have my UID=32256) inside my web site (in the panel folder -see below-) that creates new scripts (in the pages folder) (the new scripts... (1 Reply)
Discussion started by: mehdi
1 Replies
CiderWebmail::Model::IMAPClient(3pm) User Contributed Perl Documentation CiderWebmail::Model::IMAPClient(3pm)
NAME
CiderWebmail::Model::IMAPClient - Catalyst Model
DESCRIPTION
Interface to the IMAP Server
You should *really* read rfc3501 if you want to use this.
METHODS
new()
creates a new CiderWebmail::Model::IMAPClient
_die_on_error($c)
die if the last IMAP command sent to the server caused an error this sould be called after every command sent to the imap server.
disconnect
disconnect from IMAP Server, if connected
separator($c)
Returnes the folder separator
folder_tree($c)
Return all folders as hash-tree.
folder_sort
custom sort for folders always put INBOX on top
select($c, { mailbox => $mailbox })
selects a folder
message_count($c, { mailbox => $mailbox })
returnes the number of messages in a mailbox
unseen_count($c, { mailbox => $mailbox })
returnes the number of unseen messages in a mailbox
check_sort($sort)
Checks if the given sort criteria is valid.
get_folder_uids($c, { mailbox => $mailbox, sort => $sort, range => $range })
Returns a MessageSet object representing all UIDs in a mailbox The range option accepts a range of UIDs (for example 1:100 or 1:*), if you
specify a range containing '*' the last (highest UID) message will always be returned.
get_headers_hash($c, { uids => [qw/ 1 .. 10 /], sort => [qw/ date /], headers => [qw/ date subject /], mailbox => 'INBOX' })
returnes a array of hashes for messages in a mailbox
o uids (arrayref): a list of uids (as described in RFC2060) to fetch
o sort (arrayref): sort criteria (as described in RFC2060). for example: [ qw/ date / ] will sort by date, [ qw/ reverse date / ] will
sort by reverse date
o headers (arrayref, required): a list of mail-headers to fetch.
o mailbox (required)
search()
searches a mailbox returns a arrayref containing a list of UIDs
get_headers_string($c, { mailbox => $mailbox, uid => $uid })
returnes the fullheader of a message as a string
all_headers($c, { mailbox => $mailbox, uid => $uid })
fetch all headers for a message and updates the local headercache
get_headers($c, { mailbox => $mailbox })
fetch headers for a single message from the server or (if available) the local headercache
mark_read($c, { mailbox => $mailbox, uid => $uid })
mark a messages as read
mark_answered($c, { mailbox => $mailbox, uid => $uid })
mark a message as answered
bodypart_as_string($c, { mailbox => $mailbox, uid => $uid, parts => [ $part ] })
fetches body part(s) of a message - part IDs according to the bodystructure of the message
get_bodystructure($c, { mailbox => $mailbox, uid => $uid })
fetches bodystructure of a message. returns a Mail::IMAPClient::BodyStructure object - this might change when we parse this into something
more usefull
message_as_string($c, { mailbox => $mailbox, uid => $uid })
return a full message body as string
delete_messages($c, { mailbox => $mailbox, uid => $uid })
delete message(s) form the server and expunge the mailbox
append_message($c, { mailbox => $mailbox, message_text => $message_text })
low level method to append an RFC822-formatted message to a mailbox
move_message($c, { mailbox => $mailbox, target_mailbox => $target_mailbox, uid => $uid })
Move a message to another mailbox
create_mailbox($c, { mailbox => $mailbox, name => $name })
Create a subfolder
delete_mailbox($c, { mailbox => $mailbox })
Delete a complete folder
AUTHOR
Stefan Seifert and Mathias Reitinger <mathias.reitinger@loop0.org>
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-06-16 CiderWebmail::Model::IMAPClient(3pm)