8 More Discussions You Might Find Interesting
1. HP-UX
Hi,
I have reports that are generated in one server (10.61.1.108), hostname l28bi01. These reports are supposedly sent to a group of email addresses hourly via an email relay server. However, this is not happening.
In sendmail.cf in bi01, the DS Smart Relay Host ip address is:
... (3 Replies)
Discussion started by: anaigini45
3 Replies
2. Post Here to Contact Site Administrators and Moderators
SCO OpenServer(TM) Release 5 (worf.xxx.com)
Worf is my proxy Server, and it runs my Lan with windows PCs, wk2s & XPs. There are only two users who POP the mailbox from the Server to client, elena and me nancy! elena can POP her email mailbox is just fine.
We use Eudora and for years we... (1 Reply)
Discussion started by: Nancy L
1 Replies
3. UNIX for Advanced & Expert Users
Hi.
my company's mailbox server has severe performance issue on the days while full backup is running. There is huge I/O in another "mail replication process" for standby servers ( which runs all the time, every 15 mins. ).
specs of servers :- RHEL5.5 , kernel -2.6.18-53.1.6.el5 , 8 core... (6 Replies)
Discussion started by: gauravsharma29
6 Replies
4. Filesystems, Disks and Memory
I've seen several posts that are similar to what I'm trying to do but no dice. I have a server (SunFire V215) that went belly up. I've set up a new one. I'm getting a corrupt label: wrong magic number error. Everything I'm seeing says label the drives, but if I do I'm afraid I'll lose the data... (0 Replies)
Discussion started by: tnelson
0 Replies
5. UNIX for Dummies Questions & Answers
Hi all,I know, that this is very common issue, but I can't find where is the problem... I have Solaris 10 installed.I want to send mail to external SMTP server, like:echo "letter body"| mailx -s "subject" test@test.comBut I donno what kind of changes I have to do in /etc/hosts and sendmail.cf or... (5 Replies)
Discussion started by: nypreH
5 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I am facing a problem with the mails coming from one of my server. The server hostname is "britten" and one of its aliases is "espmgy" in /etc/hosts.
When I am sending any mail from the server its coming from abhi@espmgy.com instead of abhi@britten.com
Can anyone tell me from where... (0 Replies)
Discussion started by: max29583
0 Replies
7. UNIX for Advanced & Expert Users
Hi folks
OS- Debian Etch
Xen
postfix
courier
perdition
perdition-mysql
MySQL
Single public IP
Dom0 - Debian Etch workstation
Server-1, domU1 for routing with perdition and perdition-mysql
installed
Server-2, domU2, mail server for domain-A
Server-3, domU3, mail server for... (2 Replies)
Discussion started by: satimis
2 Replies
8. UNIX for Dummies Questions & Answers
Both A and B people has mail client to mail client interaction happily.
1) mails from A company unix server 'uuu' are being received by
A company people onto their mail client. So A company people are happy.
2) mails from A company unix server 'uuu' are not being received by B
... (4 Replies)
Discussion started by: vkandati
4 Replies
IMAP_GETMAILBOXES(3) 1 IMAP_GETMAILBOXES(3)
imap_getmailboxes - Read the list of mailboxes, returning detailed information on each one
SYNOPSIS
array imap_getmailboxes (resource $imap_stream, string $ref, string $pattern)
DESCRIPTION
Gets information on the mailboxes.
PARAMETERS
o $
imap_stream -An IMAP stream returned by imap_open(3).
o $ref
-$ref should normally be just the server specification as described in imap_open(3)
o $pattern
-Specifies where in the mailbox hierarchy to start searching.There are two special characters you can pass as part of the $pat-
tern: ' *' and ' %'. ' *' means to return all mailboxes. If you pass $pattern as ' *', you will get a list of the entire mailbox
hierarchy. ' %' means to return the current level only. ' %' as the $pattern parameter will return only the top level mailboxes; '
~/mail/%' on UW_IMAPD will return every mailbox in the ~/mail directory, but none in subfolders of that directory.
RETURN VALUES
Returns an array of objects containing mailbox information. Each object has the attributes $name, specifying the full name of the mailbox;
$delimiter, which is the hierarchy delimiter for the part of the hierarchy this mailbox is in; and $attributes. $Attributes is a bitmask
that can be tested against:
o LATT_NOINFERIORS - This mailbox contains, and may not contain any "children" (there are no mailboxes below this one). Calling
imap_createmailbox(3) will not work on this mailbox.
o LATT_NOSELECT - This is only a container, not a mailbox - you cannot open it.
o LATT_MARKED - This mailbox is marked. This means that it may contain new messages since the last time it was checked. Not provided
by all IMAP servers.
o LATT_UNMARKED - This mailbox is not marked, does not contain new messages. If either MARKED or UNMARKED is provided, you can
assume the IMAP server supports this feature for this mailbox.
EXAMPLES
Example #1
imap_getmailboxes(3) example
<?php
$mbox = imap_open("{imap.example.org}", "username", "password", OP_HALFOPEN)
or die("can't connect: " . imap_last_error());
$list = imap_getmailboxes($mbox, "{imap.example.org}", "*");
if (is_array($list)) {
foreach ($list as $key => $val) {
echo "($key) ";
echo imap_utf7_decode($val->name) . ",";
echo "'" . $val->delimiter . "',";
echo $val->attributes . "<br />
";
}
} else {
echo "imap_getmailboxes failed: " . imap_last_error() . "
";
}
imap_close($mbox);
?>
SEE ALSO
imap_getsubscribed(3).
PHP Documentation Group IMAP_GETMAILBOXES(3)