��������� � ���������� ������� �� ��������� POP3 ��� IMAP4 � �������� ������ � Exchange Server Enable or disable POP3 or IMAP4 access to mailboxes in Exchange Server
����� ��������� � ��������� ��������� POP3 ��� IMAP4 �� ������� Exchange, ��� ������� � ������ ��������� � ��������� POP3 �� ������� Exchange Server , � ����� ��������� � ��������� IMAP4 �� ������� Exchange, ��� �������� ����� ������������� (�� ����������� �������������� ������ � ��������� �����) ����� �������� � ������� ��������� POP3 ��� IMAP4. After you enable and configure POP3 or IMAP4 on an Exchange server as described in Enable and configure POP3 on an Exchange server and Enable and configure IMAP4 on an Exchange server, all user mailboxes (with the exception of the Administrator mailbox) can be accessed by using POP3 or IMAP4. �� ������ ������������ ��������� � ���� ������ ���������, ����� ��������� ������ �� ���������� POP3 � IMAP4 � ������������ �������� ������. You can use the procedures in this topic to disable POP3 and IMAP4 access to specific mailboxes.
�������������� �������� � ���������� POP3 � IMAP4 ��������� � ������ POP3 � IMAP4 � Exchange Server. For more information about POP3 and IMAP4, see POP3 and IMAP4 in Exchange Server.
��� ����� ����� ����� ������� ������ What do you need to know before you begin?
�������������� ����� ��� ����������: 5 �����. Estimated time to complete: 5 minutes.
����� ������� ����� ����������������� Exchange, ���������� � ������ ����������������� Exchange � Exchange Server. To open the Exchange admin center (EAC), see Exchange admin center in Exchange Server. ����� ������� ��������� ������� Exchange, ������������ �� ������� �������� ������� ���������� Exchange. To open the Exchange Management Shell, see Open the Exchange Management Shell.
���������, ��������� � ���� ������, �� ���������������� �� �������� ���� ��������������, ������ ��� � ���� ������ ������������ �� ��������� POP3 ��� IMAP4. The procedures in this topic don’t apply to the Administrator mailbox, because you can’t use POP3 or IMAP4 to connect to the Administrator mailbox. ��� ����������� ���� ��������� �������� � Exchange 2020 � Exchange 2020, ����� �������� ������� ������������ ��������� ����� ��������������. This limitation was intentionally included in Exchange 2020 and Exchange 2020 to enhance the security of the Administrator mailbox.
��� ���������� ���� �������� ���������� ��������������� ����������. �������� � ����������� ����������� ��. � ������ ������ «���������� ���������� �����������» � ������ ���������� �����������. You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the «Recipient provisioning permissions» section in the Recipients Permissions topic.
��������� ������ ��� ��������, ��������� � ���� ������, ��������� � ������ ��������� ������ � ������ ����������������� Exchange. For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.
�������� ��������? Having problems? ���������� �� ������� � ���������� ������� Exchange. Ask for help in the Exchange forums. �������� ������ �� ������� Exchange Server. Visit the forums at Exchange Server.
��������� ��� ���������� ������� � ������ ��������� ����� �� ��������� POP3 ��� IMAP4 Enable or disable POP3 or IMAP4 access to a single mailbox
��������� ��� ���������� ������� � ��������� ����� �� ��������� POP3 ��� IMAP4 � ������ ����������������� Exchange Use the EAC to enable or disable POP3 or IMAP4 access to a mailbox
� ������ ����������������� Exchange �������� �������� ���������� > �������� �����. In the EAC, go to Recipients > Mailboxes.
� ������ �������� ������ ������� ������ �������� ����. ��� ����� ��������� ���� �� ��������� ��������: In the list of mailboxes, find the mailbox that you want to modify. You can:
���������� ������ �������� ������. Scroll through the list of mailboxes.
������� **** ������ ����� ������) � ������� ����� �����, ������ ����������� ����� ��� ���������� ������������. Click Search ( ) and enter part of the user’s name, email address, or alias.
������� ������ �������������� ��������� ������ �������������� ��������� > ) ����������� ����� , ����� ����� �������� ����. Click More options ( ) > Advanced search to find the mailbox.
����� �������� ����, ������� ��������� ��������, �������� ��� � ������� ������ �������� ( ��������������). Once you’ve found the mailbox that you want to modify, select it, and then click Edit ( ).
� ����������� ���� ������� ��������� ����� �������� ������� ��������� �����. In the mailbox properties window that opens, click Mailbox Features.
� ������� ����������� ����������� ����������� ����� ��������� ���� ��� ��������� �� ���� ����������: In the Email connectivity section, configure one or more of the following settings:
POP3: ����� ��������� ������ �� ��������� POP3 � ��������� �����, ������� ������ ���������, � ����� ������� ������ �� � ����������� ��������������. POP3: To disable POP3 access to the mailbox, click Disable, and then click Yes in the warning message that appears. ���� �������� POP3 ��� ��������, ������� ��������, ����� �������� ���. If POP3 is already disabled, click Enable to enable it.
IMAP: ����� ��������� ������ �� ��������� IMAP4 � ��������� �����, ������� ������ ���������, � ����� ������� ������ �� � ����������� ��������������. IMAP: To disable IMAP4 access to the mailbox, click Disable, and then click Yes in the warning message that appears. ���� �������� IMAP4 ��� ��������, ������� ��������, ����� �������� ���. If IMAP4 is already disabled, click Enable to enable it.
�������� �������� ���� > «��������» > «������� ��������� �����» > «����������� ����������� ����������� �����»» data-linktype=»relative-path»>
����� ���������, ������� ������ ���������. When you’re finished, click Save.
��������� ��� ���������� ������� � ��������� ����� �� ��������� POP3 ��� IMAP4 � ������� ��������� ������� Exchange Use the Exchange Management Shell to enable or disable POP3 or IMAP4 access to a mailbox
����� �������� ��� ��������� ������ �� ��������� POP3 ��� IMAP4 � ������ ��������� �����, ����������� ��������� ���������: To enable or disable POP3 or IMAP4 access to a single mailbox use the following syntax:
� ���� ������� ����������� ������ �� ���������� POP3 � IMAP4 � ��������� ����� � ������ Rand �����. This example disables POP3 and IMAP4 access to the mailbox named Rand Zaher.
� ���� ������� ���������� ������ �� ���������� POP3 � IMAP4 � ��������� ����� � ������ Rand �����. This example enables POP3 and IMAP4 access to the mailbox named Rand Zaher.
�������������� �������� ��. � ������ Set-CASMailbox. For more information, see Set-CASMailbox.
��������� ��� ���������� ������� � ���������� �������� ������ �� ��������� POP3 ��� IMAP4 Enable or disable POP3 or IMAP4 access to multiple mailboxes
��������� ��� ���������� ������� � ���������� �������� ������ �� ��������� POP3 ��� IMAP4 � ������ ����������������� Exchange Use the EAC to enable or disable POP3 or IMAP4 access to multiple mailboxes
� ������ ����������������� Exchange ��������� �������� �������� ���������� > �������� �����. In the EAC, go to Recipients > Mailboxes.
� ������ �������� ������ ������� ������ �������� �����. ��� ����� ��������� ���� �� ��������� ��������: In the list of mailboxes, find the mailboxes that you want to modify. You can:
���������� ������ �������� ������. Scroll through the list of mailboxes.
������� **** ������ ����� ������) � ������� ����� �����, ������ ����������� ����� ��� ���������� ������������. Click Search ( ) and enter part of the user’s name, email address, or alias.
������� ������ �������������� ��������� ������ �������������� ��������� > ) ����������� ����� , ����� ����� �������� ����. Click More options ( ) > Advanced search to find the mailbox.
� ������ �������� ������ �������� ��������� �������� ������ ������ ���� (��������, ������������). ��������: In the list of mailboxes, select multiple mailboxes of the same type (for example, User) from the list. For example:
�������� �������� ����. ��������� ������� SHIFT, �������� ������ ����, ������������� ���� � ������. Select a mailbox, hold down the Shift key, and select another mailbox that’s farther down in the list.
�������� ������ �������� �����, ��������� ������� CTRL. Hold down the CTRL key as you select each mailbox.
����� ������ ���������� �������� ������ ������ ���� ��������� ������� �������� ��������� �� �������� ���������. After you select multiple mailboxes of the same type, the title of the details pane changes to Bulk Edit.
� ������� �������� ������� POP3 ��� IMAP, ������� �������� ��� ���������, � ����� �� � ����������� ��������������. In the details pane, go to POP3 or IMAP, click Enable or Disable, and then click OK in the warning message that appears.
��������� ��� ���������� ������� � ���������� �������� ������ �� ��������� POP3 ��� IMAP4 � ������� ��������� ������� Exchange Use the Exchange Management Shell to enable or disable POP3 or IMAP4 access to multiple mailboxes
����� ������� ������ �������� �����, ����� ������������ ���������� Get-Mailbox, Get-User � Get-Content. You can use the Get-Mailbox, Get-User, or Get-Content cmdlets to identify the mailboxes that you want to modify. ��������: For example:
����� ������������� �������� ����� �� �������������, ����������� �������� OrganizationalUnit . Use the OrganizationalUnit parameter to filter the mailboxes by organizational unit (OU).
����������� �������� Filter ��� �������� �������� OPATH, ������������ �������� �����. Use the Filter parameter to create OPATH filters that identify the mailboxes. �������������� �������� ��. � ������ Filterable Properties for the -Filter Parameter. For more information, see Filterable Properties for the -Filter Parameter.
����������� ��������� ���� ��� �������� �������� ������. � ������ ������ ���������� ����� ������ ���� �������� ���� (����� ����������� �����, ��� ��� ������ ���������� �������������), ��������: Use a text file to specify the mailboxes. The text file contains one mailbox (email address, name, or other unique identifier) on each line like this:
ebrunner@tailspintoys.com ebrunner@tailspintoys.com
fapodaca@tailspintoys.com fapodaca@tailspintoys.com
glaureano@tailspintoys.com glaureano@tailspintoys.com
hrim@tailspintoys.com hrim@tailspintoys.com
� ���� ������� ����������� ������ �� ���������� POP3 � IMAP4 ��� ���� �������� ������ ����������� ������������� � �������� �������. This example disables POP3 and IMAP4 access to all user mailboxes in the North America\Finance OU.
� ���� ������� ����������� ������ �� ���������� POP3 � IMAP4 ��� ���� �������� ������ ������ �������������� � ����� ���������. This example disables POP3 and IMAP4 access to all mailboxes in the Engineering department in Washington state.
� ���� ������� ��� ���������� ������� � ��������� �������� ������ �� ��������� POP3 ��� IMAP4 ������������ ��������� ���� C:\My Documents\Accounts.txt. This example uses the text file C:\My Documents\Accounts.txt to disable POP3 or IMAP4 access to the specified mailboxes.
�������������� �������� ��. � ������� Get-Mailbox � Get-User. For more information, see Get-Mailbox and Get-User.
��������� ������ ����� POP3 � IMAP4 Restart the POP3 or IMAP4 services
����� ��������� ���������� ������� � ��������� ����� �� ���������� POP3 � IMAP4 ����� ������������� ������ POP3 � IMAP4 �� �������. ��� ����� ����� ��������������� �������� «������» Windows ��� ��������� �������� Exchange. After you change the POP3 or IMAP4 access settings on a mailbox, you need to restart the POP3 and IMAP4 services on the server. You can do this by using the Windows Services console, or the Exchange Management Shell.
���������� ����� POP3 � IMAP4 � ������� ������� «������» Windows Use the Windows Services console to restart the POP3 or IMAP4 services
�������� ������� «������ Windows» �� ������� Exchange Server. On the Exchange server, open the Windows Services console. ������: For example:
��������� ������� services.msc � ���������� ���� ��������� , � ���� ��������� ������ ��� � ��������� ������� Exchange. Run the command services.msc from the Run dialog, a Command Prompt window, or the Exchange Management Shell.
�������� ��������� �������� � �������� �������� > ������. Open Server Manager, and then click Tools > Services.
� ������ ����� ��������� ���� ��� ��� ��������� ��������: In the list of services, do one or both of the following actions:
POP3: POP3:
�������� Microsoft Exchange POP3 � ������� �������� > �������������. Select Microsoft Exchange POP3, and then click Action > Restart.
�������� ���������� POP3 Microsoft Exchange � ������� �������� > �������������. Select Microsoft Exchange POP3 Backend, and then click Action > Restart.
IMAP4: IMAP4:
�������� Microsoft Exchange IMAP4 � ������� �������� > �������������. Select Microsoft Exchange IMAP4, and then click Action > Restart.
�������� ���������� ������ IMAP4 Microsoft Exchange � ������� �������� > �������������. Select Microsoft Exchange IMAP4 Backend, and then click Action > Restart.
���������� ����� POP3 � IMAP4 � ������� ��������� ������� Exchange Use the Exchange Management Shell to restart the POP3 or IMAP4 services
����� ������������� ������ POP3, ��������� ��������� �������: To restart the POP3 services, run the following command:
����� ������������� ������ IMAP4, ��������� ��������� �������: To restart the IMAP4 services, run the following command:
�������������� �������� �� ���� ���������� ��. � ������ Restart-Service. For more information about this cmdlet, see Restart-Service.
����� ���������, ��� ������ POP3 ��� IMAP4 ������� ������������, ��������� ��������� �������: To verify that you’ve successfully restarted the POP3 or IMAP4 services, run the following command:
��� ���������, ��� ��� ����������? How do you know this worked?
����� ���������, ��� ������ � ��������� ����� �� ��������� POP3 ��� IMAP4 ������� ��� ��������, ��������� ���� �� ��������� ��������: To verify that you’ve enabled or disabled POP3 or IMAP4 access to a mailbox, use any of the following procedures:
> � ������ ����������������� Exchange ��������� � ������ �������� ����� > ����������� > � ��������](../../media/ITPro_EAC_EditIcon.png) > ����� �������� ![������ �������������� �������� ���� ������� > ����������� � ����������� �����. In the EAC, go to Recipients > Mailboxes > select the mailbox > click Edit > Mailbox features > Email connectivity.
���� ��� ��������� ����� ������� ������ �� ��������� POP3, �� ������� ��������� POP3: �������� � ������ ���������. ���� ������ �� ��������� POP3 ��������, �� ������� ��������� POP3: ��������� � ������ ��������. If POP3 access is enabled for the mailbox, you’ll see POP3: Enabled and the Disable link. If POP3 access is disabled, you’ll see POP3: Disabled and the Enable link.
���� ��� ��������� ����� ������� ������ �� ��������� IMAP4, �� ������� ��������� IMAP4: �������� � ������ ���������. ���� ������ �� ��������� IMAP4 ��������, �� ������� ��������� IMAP4: ��������� � ������ ��������. If IMAP4 access is enabled for the mailbox, you’ll see IMAP4: Enabled and a Disable link. If IMAP4 access is disabled, you’ll see IMAP4: Disabled and the Enable link.
�������� �������� ���� > «��������» > «������� ��������� �����» > «����������� ����������� ����������� �����»» data-linktype=»relative-path»>
� ��������� ������� Exchange �������� _ _ �� ������������� ��������� ����� (��������, ���, ��������� ��� ����� ����������� �����) � ��������� ��������� �������: In the Exchange Management Shell, replace with the identity of the mailbox (for example, name, alias, or email address), and run the following command:
����������� ��� �� ������, ��� � ��� ����������� �������� ������, �� ������ ���������� Get-CasMailbox ����������� Set-CasMailbox. ��������: Use the same filter that you used to identify the mailboxes, but use the Get-CasMailbox cmdlet instead of Set-CasMailbox. For example:
����� ������� ��� �������� �����, ��� ������� �������� ������ �� ���������� POP3 � IMAP4, ��������� ����� ������� � ��������� ������� Exchange: In the Exchange Management Shell, run this command to show all mailboxes where POP3 and IMAP4 access is disabled:
Access your Mailbox.org Account from an Email Program using IMAP
Mailbox.org provides IMAP access to your Mailbox.org account, so you can connect to your email from mobile devices and desktop email clients.
Mailbox.org supports IMAP / SMTP
This means you don’t have to use Mailbox.org’s webmail interface! You can check your email and send messages using other email programs (like Mailspring, Outlook Express, Apple Mail, or Mozilla Thunderbird). Using desktop email applications can improve your workflow. They typically offer more options, and your email is still available on your computer when you’re disconnected from the internet.
Setup Your Mailbox.org Account with Your Email Program Using IMAP
To access your Mailbox.org email account from a desktop email program, you’ll need the IMAP and SMTP settings below:
Mailbox.org IMAP Server | imap.mailbox.org |
IMAP port | 993 |
IMAP security | SSL / TLS |
IMAP username | Your full email address |
IMAP password | Your Mailbox.org password |
Mailbox.org SMTP Server | smtp.mailbox.org |
SMTP port | 587 |
SMTP security | STARTTLS |
SMTP username | Your full email address |
SMTP password | Your Mailbox.org password |
Need a desktop email application? Mailspring is free, packed with great features, and you can try it alongs >Mac, Linux, and Windows .
��� ����� ��� imap_mailboxmsginfo
(PHP 3>= 3.0.2, PHP 4)
imap_mailboxmsginfo — �������� ���������� � ������� mailbox’�.
��������
object imap_mailboxmsginfo (int imap_stream)
���������� ���������� � ������� mailbox’�. ���������� FALSE ��� ������.
������� imap_mailboxmsginfo() ��������� ������ �������� mailbox’� �� �������. ��� ������ �� imap_status() , �� ����� ����� ����������� ������ ���� ��������� � mailbox’�, ��� ��������� ���������� ��������������� �������. ��� ���������� ���������� � ������� �� ���������� ����������:
Mailbox IMAP
The Qlik Mailbox IMAP connector lets you fetch emails and email content, such as information about attachments, from any mailbox that uses the IMAP email protocol.
For mailboxes that use the POP3 email protocol, see Mailbox POP3.
Ways to access your data
To access your IMAP mailbox data, you need to authenticate the connector with your mailbox server details. After you create a new connection and select Mailbox IMAP as your data source, you need to enter the server address and the port number for the mailbox you want to connect to, along with your username and password.
Configuring email clients
You need to enable IMAP access for your account, through your mailbox client. The configurations for some of the most common email clients are described below.
Gmail
To download email data from Gmail , you must first ensure that IMAP access is enabled in your Gmail settings.
Do the following:
- Enter imap.gmail.com in the server field.
- Set the port number to 993.
- Select Use SSL .
- Enter your username and password.
Microsoft Exchange
From privately administered Exchange servers:
Enable IMAP4 from your exchange server.
From Office 365 or Microsoft Exchange accounts:
Enable IMAP from your Exchange account.
From shared Microsoft Exchange mailboxes:
- To access shared mailboxes that are not associated with a specific user account, use one of the following formats for your username:
- my@emailaddress.com/sharedmailboxname
- domain\myusername\sharedmailboxname
Loading data from tables
ImapFolder | Use this table to fetch the names and the message count of the folders in your mailbox. | |||||||||||||||
ImapMessagesInFolder | Use this table to fetch the messages and details from a mailbox folder. The table returns message IDs which are required for other tables. | |||||||||||||||
ImapMessageHeaders | ||||||||||||||||
ImapMessageDownloadAttachment |
Date | date of last change |
Driver | driver |
Mailbox | name of the mailbox |
Nmsgs | number of messages |
Recent | number of recent messages |
Unread | number of unread messages |
Deleted | number of deleted messages |
Size | mailbox size |
Пример 1. imap_mailboxmsginfo() example
= imap_open ( «
or die( «can’t connect: » . imap_last_error ());
$check = imap_mailboxmsginfo ( $mbox );
if ( $check ) <
echo «Date: » . $check -> Date . «
\n» ;
echo «Driver: » . $check -> Driver . «
\n» ;
echo «Mailbox: » . $check -> Mailbox . «
\n» ;
echo «Messages: » . $check -> Nmsgs . «
\n» ;
echo «Recent: » . $check -> Recent . «
\n» ;
echo «Unread: » . $check -> Unread . «
\n» ;
echo «Deleted: » . $check -> Deleted . «
\n» ;
echo «Size: » . $check -> Size . «
\n» ;
> else <
echo «imap_check() failed: » . imap_last_error () . «
\n» ;
>
About the slowness of imap_mailboxmsginfo() : if used on an IMAP connection, I did checked my mailserver logs and it appeared to send FETCH commands to retrieve the headers of EVERY messages of the mailbox .
So, if you have, let’s say, 400 messages in a folder, the function will be very slow (>1.5 sec on a local server !) .
I strongly advise you to use imap_status() instead, which only sends one and is actually a lot faster (at least with IMAP, but that’s maybe not true with POP3)
The runtime difference between imap_status and imap_mailboxmsginfo is very significant on large mailboxes
/** opening connection to a
* mailbox with 3987 messages
* and retrive status information **/
$mbox = imap_open ( ‘
$mbox_info = imap_status ( $mbox , ‘
/** took 11.05 seconds **/
$mbox_info = imap_mailboxmsginfo ( $mbox );
/** took 6 minutes 5.382 seconds **/
then use imap_get_quotaroot().
or use this one (works with qmail):
function get_quotaroot() <
if(!$socket = @fsockopen(«your server», your port);
return false;
fgets($socket, 1024);
fputs($socket, «a001 LOGIN «.$username.» «.$password.»\n»);
fgets($socket, 1024);
fputs($socket, «a002 GETQUOTAROOT INBOX\n»);
fgets($socket, 1024);
$result = fgets($socket, 1024);
fputs($socket, «a003 LOGOUT\n»);
fgets($socket, 1024);
sscanf($result, ‘* QUOTA «ROOT» (STORAGE %d %d MESSAGE %d %d’, $usedSize, $maxSize, $usedNum, $maxNum);
return array(«usedSize» => $usedSize, «maxSize» => $maxSize, «usedNum» => $usedNum, «maxNum» => $maxNum);
>
������ � �������� ������ ����� �������� IMAP ���������� PHP
�� ���� ��� ������ ������� �������� ��������� ������ �� PHP, ������� �� �������� �������� � �������� ������. ������� �� ������ � ������ ��� ��� ������� ������� ��� �������� ���� �� ���������� POP3 � IMAP .
�� ����� ��� �������� ��� ������������ � ���� IMAP ��� ��� �� ����� �������������� � �����������, ��������� POP3.
������ ��� ���� ���� ���������� ����������� ��� �������� � ���������� IMAP , ��� �������� ������ �� ��������� ������� Yandex/Google.
��� ����� ������� ������ � ������ ���������� PhpImap, ��� ��� ��� ����� ������ � ����� ��������� ��� ������ ��� ���� ������.
����������� � ��������� �������.
������ ����� �� ������������ � ������� ��������� � ������� ����������, ����� ��������� ����������� � ��������� �������.
��� ����������� ������ PHP � ���������� IMAP, ���������� ���������� ���������� php_imap.dll/imap.so � ����� php.ini.
��� ������ ��������� ����������� � Yandex ����� ��� ��� � ���� ������ ����� �������� � ��� �������.
��� �� ����� ����������� ������ Mailbox ��������� ��������� ���������:
- MAIL_IMAP_PATH — C������� � ���� ����� ������� (MAIL_IMAP_SERVER), ���� ����������� (MAIL_IMAP_SERVER_PORT), ��� ���������� (imap) � ���������� ��� ���������� ����� ����������� (ssl). ����� �������� ������ ��������� ����� � ������� ����� ������������, � ������ ������ � �������� ���������� (INBOX).
- MAIL_IMAP_LOGIN — �������� ���� �������� ����� �����������.
- MAIL_IMAP_PASS — ������ (���� ����� ��� ������ �� ��������� �����).
- __DIR__ — ��� ���� � ����� � ������� ����� ����������� ��������� ����� � �������� ���������.
����� ����� �� ��������, ��������� �� ���� ����������� ����� ����� getImapStream() ���� �� �����-�� ������� ����������� �� ��������� �� ���������� ����������� ���������� � �������� �� �������� �����������.
����� ������ �� �������� �� ��� � ���������� Yandex ����� � ��� ����� ���� ��������� ����������� ����������� �� ��������� IMAP.
������ ������� ������� ����������� � ����� Gmail.
��� �� ����� ��� ����������� �� ���������� �� ����������� �����������, �� ������ ����� � ��� ��������� ���������� ��� ����������� � �������.
��� �������� ������� � ��� ��� � Gmail ������ ��������� IMAP ��������� �� ���������. �������� � ����� � ���������� �� ������� ��������� � POP/IMAP � ����� ������ �� ��������� IMAP ? �������� IMAP.
����� ���� ����� �� �������� ������ �� ��������� IMAP ��� ���� ������� ������ ����������. ��� ���� ����� ��� ����� ���� ������� ��� ���������� ������� ���� ��������� ����������� ��� ������� �������. ����� ���� ����� ���������� � ��� ��������. ����� �� �������� ����� ������ ��� ���������� ��� ���������� ��� ����� ������� � ��������� MAIL_IMAP_PASS ��� ����������� � �������.
������ ��� ��� �������� ������ ���������� � ��� ����� ���� ��� � �� ��������� ������������ � ������� ��� ������ � ��� ��� ������ ������ ��� �� ���������� ������������ � ������� Gmail ������ ��� �������� 5-60 �����.
������� ������
����� ��������� �����������, �� ����� ��������� ������ ��� ��������� ������� ��������� �� �������. ��� ����� �� ����� ������������ ����� searchMailBox(string $criteria) ������� �� ���� �������� �������� ������ imap_search. ��� ����� ������ ��� �������� $criteria �������� ����� ��������� ������ ������ ��� ���������, ��� ����� ���������� �������������� ��������� ������� � ����������� ��� ���������� ��� ��������� ��������� ���������� ��������� ���������.
��� �� ��� ���������� ��� �� �������� ��� ���������.
� ������ ������� ��������� ����������� � � ������� �� ����� ������� ���������� ������:
������ ������ ������ �������� ������ ������������� ��������� ������.
��������� ����������
������ ����� � ��� ���� ������ ��������������� ��������� �� ������ ��� ����������:
��� �� � �������� ��������� �� ������ ������ � ��� �������� ��� ������ ���������.
�������������� �����������.
� ������ ���������� ����� ����������� ��� �������� ������� ��� ����� ������� ������ � ��������� �����������:
��������� ��������� �� ��� ��.
������������� ��������� ��� ������������� �� ��� id.
������������� ��������� ��� ����������� �� ��� id.
������������� �� ��������� ������� �� ��� id.
������� ��������� �� ��� id.
����������� �� ����� ����������� ������ �������������� ����� �� ����� ������ ��� ������ � ��������� ��������� �����������. ����� �� ������ ������� ������������� ���� ����������.
���� �����
����������� ������������
����������� �����
����������
������� IMAP
�������� IMAP (Internet Mail Access Protocol) ����������� � RFC 2060.
� ������� �� POP3, ������� ������ ��������� �������� ������ � ��������� �� ��������, � IMAP �� ��������� � ������ ��������������� �� �������
��� � POP3, �������� IMAP ���������� ��������� ������-������ � ������� ������. � ������� ������ �������������� �������� ��������� ����������� ����� �� ������� �������. ������ ������������� ��� ���� ���� TCP-���������� � ������ 143 �� �������. ����� ������ ������ �������� ����������� ����������-������������.
� ������ 1 �������� ������� �� �������� ������ � ������� telnet � ������ 143 (���� IMAP �� ���������). ������ 5 ���������� �����������, �������� �������� IMAP. � ������ 6 �������� ������ ������� ��������� ����� � ��������. ����� ������ �������� ��������� �� ��������� ������ (������ 7) � ��������� ���������� � ��������.
������ �������, ���������� ��������, ������������ ���������� ���������������. ������ ����� ����� ������������ ���� ������������� � ����� �������, ��� ��������� ������� ����������, � ����� ������� ��������� ����� �������. ��� �������� ����� ��� ���������� �������� ���������� ������ �� �����. ������������� ������ ������������ ����� �������� ������ ���������-�������� ��������, ������� ������������ ��������. ���, � ������ 6 �������� 7.1 �������� ��� ������ ������������� a001. ���� �� ������� ������������� �������� � ������ �������, �� ��������� ��������������� ��� �� a002 � �.�. ����� ��� ��������� �������������� ������ � ������� ������ IMAP ������ ��������������� ����������� ���� �� ����� ��������.
����� ������������ ���������� ������ ��������� � ��������� �������� �������� �����������, ��� ��� ��� ���������� �����-���� �������� �� ����� �������� ������ �� ������� �� ������ ���������������� ����. ����� ������������� �� ������� ������ ����� ������������ ������� IMAP ��� ���������� ����������� �� �������. ���������� IMAP ������������� ����������� ��������� ������������� ���������� �������� ������ �� ����� �������. ��� ���� ������ ����� ������, ���������� � ������� ��������� � ����� �� ������������� ��� �������� ������.
������ �������� ����������� ������������ � IMAP
��� �� ��� � � ��������� POP3, � IMAP ������� ��������� ������� �������� ����������� �������. ��������� �� ��� ������������ ������� ������� ������������, �� ��������� � �������. � ������� �� �������� POP3, ������� IMAP ����� �������� �������� ���������� ������ � �������� ��� ��������� ���������. ����� �������, ������������� ������������ � ������ �� ���������� �� ���� ��������� ��� � ���, ��� ��� ������ ���������� ��� ������ �� ��������� POP3.
������� LOGIN
������� LOGIN ��������� ������� ��� ����������� �� ������� IMAP ������������ ������������� ������������ � ������ � ������� ��������� ����.
������� AUTHENTICATE
� ������� ������� AUTHENTICATE ������ ����� ������������ ��� ����������� �� ������� IMAP �������������� ������ �������� �����������. �������������� �������� ����������� ������������� �� �������� ������������ � �������������� �� ����� ��������� IMAP. � ���� �� ���������� ����� �������� ����� ����������� � ����������� �� �������. ����� ������ ������ ������� AUTHENTICATE, ������ �������� �� ��� ������� ������ � ��������� base64. ����� � ����������� ������� ������ ����� �� ����� ������� � �������� �����������, ����� �������������� base64. ���� �� ������� �� �������������� ����� �������� �����������, ������������ ��������, �� �������� � ���� ����� ������������� ����� NO. ����� ����� ������ ������ ���������� ���������� �� ������������ ������ �������� �����������. ���� ��� ������� ���������� ����� �������� ����������� ��������� �������, �� ������ ������������� ������� ������������������ �� ������� ����������� ������� LOGIN. ������ ������ � ����������� AUTHENTICATE:
� ������� 6�9 �������� ������� ������� ����������� � �������� IMAP ����� �������� �����������. ��� ������, ��� ��� �� ���������� �������. � � ������ 10 ��������, ��� ����� ��������, ���������� � ��� �������, � ��� �������, ������. �������, ������ � ������ 11 ������ ������������ ������ � ������� � ��������� base64. ������ � ������ 12 ������ ��������� ������� ����������� � ������������ �� ���� � ������ 14 � ������� ������� LOGIN.
���������� ����� ��������� IMAP
����� ����������� �� ������� IMAP ������ ����� ���������� � ��������������� �����������. �������� IMAP ���������� ��������� ����� ������ ��� ������, ����������� � �������� �������� ��������� � �������� ������ �� �������. �������, ��� �������� IMAP ������������ �������� ���� ��������� �� �������. �������� �������� ��������� �� ��������� ��������� ������������ ���� ��� �����������. ��� ���� ��� �� ������������ � �� ���������� �� ��������� �� �������.
�������� ���� ��� ������� �� ��������� ����� �������� INBOX. ��� ����� ��������� ������� ������ � INBOX. ������ ����� ����������� ��������� ����� �������� ����� (������ ���������� � ����������-�������� ��� ������ � ����������� ������ �������). ���� � ����� ������������ �� ����� ���������� ��������� �� ����� INBOX.
������� ��������� ����������� ���������� ������������� (UID), �� �������� ��� ���������������� � �������� �����. ����� UID ����������� � ������� ���� ������� IMAP ��� ����, ����� ���������� ����������� ����������� ����� ��������� ���������������� ��������� � �������� �����. ������� ��������� ����� ������������� ���������� ������������� ������������� (UIDVALIDITY). ����� UIDVALIDITY ������ �������������� �� ����� ���� ������� IMAP, ������ � ��� ������, ���� �������������� ��������� � ����� ���������� �����������. ���� � �������� ����� ������� ��������� � ���������� ����������������, �� �������� UIDVALIDITY ��� ��������� ������ ������ �����������. ��� ��������� �������� ������ ����������, ��������� �� � �������� ����� ����� ��������� � ������� ���������� � ���� ���������.
������ ��������� ���������� ������, ������� ���������� ��� ������. ���� ����� ���� ���������� ��� ���������� �� ����� ������. ���������� ����� ����� ���������� �������� � ����������� ��� ����������� �� �������. �����, ����������� �� ����� ������, ������������� ������ �� ����� �������� ������ IMAP. � ����. 7.1 ������������ �������� ������ �������� ���������.
����� ��������� ��������� IMAP
��������� ��������� ����� ��������������� 0 ������ ��� ��������� ������. ���������� � ������ ���������� ������� ������ � ����� ����������. � ����������� ������� ������ ������������� ������ ��������������� �������.
� ��������� ������� ����������� ������� IMAP, ������� ������ ����� �������� �������.
������ ������ �������� ��������������� ������� �� �������� ������� ��� �������� ������������, ���� ������� ������ ����������� ���� �� ��������������.
������� SELECT
������� SELECT ������������, ���� ����� �������� ���� �������. �� ���������, ���� ������ �� ��������������� � �������, �� ���� �� ������������� ��� �������� ������ �� �������� ���������. ����� ������ ������ ������� �������� ����, � ������� �� ���������� ��������. ������ ������ ����, ������� ���������� ��������, � ��� ���� INBOX, ���� ���������� ����� ���������. ������ ������� SELECT ���������:
����� mailbox � ��� �������� ��������� �����, � �������� ���������� ������. �� ����� ������ ������ IMAP ����� ���� ������� ������ ���� �������� ����. ���� ���� ���������� � � ������� ������� ��������������� ������ � ����, �� ������ ���� ������������� �����, ��� ����������� ��������� ��������� �����.
������� CREATE
������� CREATE ������������ ��� �������� ������ ��������� ����� �� ������� IMAP. ��� � �������������� ����� �������� ������ ������������ � ������������ � ������ �������������� �� Linux. � ������� �������� ������������ ��������� ����� �������� ���� � ������, �� ��� ������� ��������������, ��� ��� ��� �������� �������� $HOME �������. ��������, ���� ������� ������� ������� ��������� � /home/riley � ������ ������ ������� CREATE ��� �������� ������ ��������� ����� stuff/junk, �� ����� ��������� ���� �� �������� ������� ��� ����������� �� Linux ����� ����� ���� /home/riley/stuff/junk. � ���� ������� �� ������, ��� ������������ ���� ����������� /. ������ ��� �� �������� ����� ��� ���� �������� IMAP.
������� DELETE
������� DELETE ����������� � �������� ������, � �� � ����������. ������ IMAP ��� ��������� ���� ������� ���������� ������� �������� ���� � ������, ��������� � �������� ��������� �������. � ��������� ������� ����� ������������ ����������� �������� ����� �� Linux, �� ������ ����������� /, ���� ������ ��� �� ��������� � �������� $HOME. ��������� �� ��������� �������� ������ �������������� �� �������� � �������� ������ � �������.
������� RENAME
� ������� ������� RENAME ������ ����� �������� ��� ��������� �����. ��� ���� �������� ���������� ���� ����������. ������ �������� � ���������� ��� ��������� �����, ������� ��������� �������������. � ������ �������� � ����� ��� ��������� �����.
������� LIST
������� LIST ������������ ��� ��������� ������ ���� �������� ������ �������. � ��� ������������ ��� ���������. ������ ������� LIST �������� ����:
����� reference � �������, ��� ��������� �������� �����. ���� �������� ������ ������ ������ ����� ��������� («»), �� �������� ����� ��������� � ������� �������� ������������ $HOME. ������ �������� mailbox �������� ������ ��������� �����, ������� ����� �����������. ����� ����������� ������������� ����������� ��������, ��� ��, ��� � ��� ��������� �������� ������ ���������, �������� ���������� ������� (*). ���� ������ ��������� ����� ������ ������ ������ («»), �� ������ ����� ���������� � �������� ������ ������������� ����������� (��� Linux /) � ��� ��������� ���������.
������� LSUB
������� LSUB ������������ ��� ���������� ��������, ������� ������� ��� ������� LIST. � ������� �� ������� LIST, � ������� ������� ������������ ��� ���������� �������� �������� ������������, � ������� ������� LSUB ������������ ���� ���������������� ����� ��������� �������� SUBSCRIBE �������� ����� �������. ��������� ������� LSUB ����� ����� ��, ��� � ��� ������� LIST, �.�. ������ (reference) � ��� ��������� �����. ������� ������� LIST, �������� ������ ��������� ���� � ��������, � ������� ��������� �������� ����� � ���������������� ������� (������� $HOME, ���� ������� «»). ��������������, ��� ������ ��������� ����� ���������� ��� ����� ��� ����� ������, ������� ��������� ������� � ������ (����������� ��������� ������ (*).
�������� ����� ����� ����� ����������� � ������ �������� ������ � ������� ������� SUBSCRIBE, � ��������� �� ������ � ������� ������� UNSUBSCRIBE. � ������� ���� ������ ����� ����������� �� ���� ������� IMAP ������ ����� ��������. ��� ���� ������ ������ �������� ����������� ��� ��������� �������� ���� �� �������, �� ������� ����� ����� �����������. ������� ����������� �������� ��� ������ � ����������� ������ �������� ������� ������ ����� ��������, ��� ��� ���������� ���� �������� � IMAP �� ���������.
������� APPEND
APPEND � ��� ���� ������� �� ��������� ������ IMAP. ��� �������, �������� IMAP ����������� ������������� ��� ������ ��������� �� �������� ������. � ������� ������� APPEND ���������� ����������� �������� ��������� � �������� ����, �������� ��������� � ����� ����� ��������� �����. ��� ������� �������� �� ������ ��������� � ��� �������� �������� �������, ������� �� ����������� ���������� �� � �������� ������������ SMTP. ���, ������, �������� ���������� ��������� IMAP, � �� ������� �������. �������� ������ ������� APPEND ���������:
������� CHECK
������� CHECK ������������ ��� ��������� ����������� ����� � �������� �����. ����� ��������, �����, ��������, ��� ������ ������ �� ������ ������� �� ��� ������� ����, ������ ����������� ��� ��������������� ��������� ��������� �����. ������ ��� �������� ����������� ��������� ����� ����� �������� � ������ �������� �� �������� � ����������� ������� CHECK. ��� ������� ������������ ��� ����������.
������� CLOSE
������� CLOSE ��������� ������������� ������ �������� � ��� ��������� �������� ����.
�������� ������� CLOSE ����� �������������� �� ������ ��� �������� ����� �������� �����. �������� �������� ���� ����������� ����� � ������� ������� LOGOUT. ������� CLOSE �� ����� ����������.
������� EXPUNGE
����� ������� �� ������� EXPUNGE ������������ ����� ����� � ����� ��������� ��������� �����.
� ������ 8 ������������ alex �������� �������� ���� � ������ newbox. ������ 9�16 ������������ ����� ����� ������� � ����������� ������������ ���������� ��������� �����. ������ 9 ������� � ���, ��� � ��� ��������� 6 ���������. � ������� 17 � 20 ������������ alex �������������� �������� STORE, ����� �������� ��� ��������� ��� ��������� (\DELETED). ����� � ������ 23 ������������ alex ������ ������� STATUS. �� ������ 24 ����� ������� ����������, ���, � ����� ������ ������� IMAP, � �������� ����� ��� ��� ��������� ����� ���������, ���� ��� �� ��� �������� ��� ���������. � ������ 26 ������������ ������ ������� EXPUNGE, �� ������� ���������, ���������� ��� ���������, ���������. ����� ������� � ������� 27�31 ������������, ��� ��������� ���� ������� �� ����� � � ��� �������� ������ ���������. ��� �� ������������ � ������� STATUS, �������� � ������ 32. �� ��� ������ ��������, ��� � �������� ����� ������ ������ ������ ���������.
������� SEARCH
������� SEARCH �������� ����� �� �������� ������ ������� �� �������� IMAP. � ������� ���� ������� ������������ ����� ��������� �� ��������� � �������� �������� ����� � ����������� ������������ ����������� � ���� ������ ���������. ������ ������� SEARCH ���������:
����� CHARSET specification ������� �� ���������� ����� CHARSET, �� ������� ������� ����������� ������ ��������. ����� �������� �� ��������� � ASCII , ��� ���, ��� �������, ���� �������� ����������. �������� search criteria ���������� �������� �������� ������ � �� ��������. �������� ������ ������� � ����. 7.3.
�������. �������� ������ ��� ������� SEARCH
��� ����� �� ������� ���������� �������� ���������� ��������� ������ ���������. ��� ����� ������, ����� ��������� ����� ������������� ��������� � �������� ������, ������� ��������� ������� ����������� ���������. ���� ����������� �������� ������ � �������������� ������� SEARCH.
� ������� 17, 20 � 23 �������� ������� ������������� ������� SEARCH. ������ 18, 21 � 24 �������� �������� ������� IMAP �� ������� SEARCH. � ������ ���������� ������ ���������, ������� ������������� �������� ������. ���� ������������ �� �������, �� ������ ���������� ����� SEARCH ��� �������������� ��������� UID.
������� FETCH
������� FETCH ������������ ��� ��������� ������ ��������� ���������. ��� ����������� ������ ��� ����������� ���������. � ������� �� POP3, ������ IMAP �� ��������� ����� ��������� �� ���������� ��.
������� STORE
������� STORE ����������� ��� ��������� ���������� � ���������. ������ ������� ���������:
�������� ������ �������� ������� ���������, � ������� ����������� ������� STORE. � ��������� ����� ��� ���� ������� ���������� ������ ��� ���� ������ ( ). ��� FLAGS ���������� ����� ������, ������������� ��� ���������. ��� FLAGS.SILENT ����� ���������� ����� ������, ������������� ��� ���������, �� ��� ���� ������ IMAP �� ���������� �� ����� �������� � ����� ������.
���������� ���� ����� ������ ����� ���������, ����� ����� ���� ���� ���� (+) ��� ����� (-). ���� ���� ��������, ��� �������� ���� ������ ( ) ����� ��������� � ���������, ����� � ��� ��� ����� ������� �� ���������.
� ������ 18 ����� �������� ��������, ��� ��������������� ���� \DELETED ��� ��������� � �������� �������� ����� � ������� 1. �������� ��������, ��� ����� ������ ����� ���� ���� (+). ����� ���� �� ����� ������ ���� (-). ����� ���� \DELETED ��� �� ������� ��� ��������� (���� �� �������� ������������ ��������� ��������� �� ����, ��� ������� � ���� ����������� ����� ���������).
������� COPY
������� COPY ������������ ��� ����������� ��������� �� ������ ��������� ����� � ������. ������ ������� COPY �������� ����:
����� ������ �������� ������� ���������, ������� ����� ����������� �� ��������� ��������� �����, � ��������� ��� �����, � ������� �� ����� �����������.
��� ��������� IMAP �� ���������� ������� ����������� ���������, �� ��������, ��� ��� �������� ���� �� ��� ����, ��� ����������� ��������� � ������ �������� ���� � �������� ��� ���������� ��������� ����� \DELETED. ����� ��������� ������� ��������� ����� (����������� ����������� �����) ��������� ��������� ����� �������, � ��������� ������ �� �����.
������� CAPABILITY
� ������� ������� CAPABILITY ������ ����� ����������� � ������� IMAP ���������� � ��� ������������.
������� NOOP
�������� ������� NOOP, ��� �� �����, ������������� �� ��������, �.�. ��� ������ �� ������. ��� ����� ����������� ��� ��������� ���������� �� ����� ������ ��� ����, ����� ����� �� ����������� �� ������� ��������� ��������. ����� ������� �� ������� NOOP ������ ������ ���� �������������. ��� ��� ������ ����� � ������ ���������� ��������� ���������� ��� ��� ���� �������, �� NOOP ������ ����� ������������ ��� ������� ��� �������������� ������� � ��������� �������. ���� ���-�� ��������� � �������� ������ �� ����� ������� ��������, �������� ������ ������ ��������� �������� ��������, ������������� ��� ��������� ����� ��������������� �������� �������, �� � ����� �� ������� NOOP ����� ���������� ����������� ���������� � ��� ���������.
������� LOGOUT
������� LOGOUT ������������ ��� ���������� ������ ��� �������� �������������� ������������ � �������� ���� �������� �������� ������. ���� �����-���� ��������� ���� �������� ������ \DELETED, �� � ������� ���� ������� ��� ����� ��������� ������� �� ��������� �����.
forum.lissyara.su
������ ������ � �������, ��������� ������ ��� ����� ������ ������.
Exim+courier-imap, Mailbox � Maildir
���������: xM
- ������ ��� ������
Exim+courier-imap, Mailbox � Maildir
FreeBSD 6.2
Exim+courier-imap+clamav
���� ������ �� ������������
��������� � Mailbox � Maildir. ������ Maildir ���� ���������� ������, ������ �������:
1) ��� �������� Maildir ��� ����� ������������� � ���?
2) courier-imap — ������� �� �������������� ��������� ��� ������ � Maildir (pop3)?
3) ����� �� courier-imap �������� � Mailbox, ���� ��, �� ��� ��� ���������? (mailbox ��������� � /var/mail)
� ������ �� Exim: ����� � ��� ���������� ����� ����� ������������ � ������?
«�����» — ��� Maildir?
POP3 � IMAP: ������� �������� ���������� � ���� ����� �� IMAP � ������.�����
(����������� ����� �������� 19.07.1956 � 28.12.2012)
��������� ����� ����� � ������.����� ��������� �������� ����� �� IMAP. � ���� ����� �� ������� ��������� � ���� ������ �������� ���������� � POP3 � IMAP � � � ���, ��� ��� ��������� � ������������ � ����������� �������� ��������. �� ������ ��� ��� ������ � ��������, ��� �������� �� ����������, ������������� ��� ����� 30 ���.
����� ��� ������� � ������� ����������, ����� ������� �� ������ ���� ��������� ���� ����� �����.
����� ��������� � ���� ����� ������� � ���, ���������� ���������� �����, � ��� ����� �������� � �������� ��������� � ������. ����� ��� �� ������ �������� �����, �� ��� ����� ��������� � ������������ ���� �����. ��� ������ ������ ������ ��� ���������� ���������� ����� ����������.
������ ����� ������ ������� �� ����� � ����� ������� �������� �������, �� ������ ����������� ������ �����. ������� �� �� ������� �����? �����. ������ ����������. ������, ������������ ������ ��������� � email-������, �������� ��� �� ��������������. ������� ����� �������� ������ ��������. ������� �� ��������� ������� ����? ���������� �� �������� ��� ������? �� ��� ��������: ��������, ��������, ��������.
����� �������� ������� � ������������� ����� ����� � ����� ����. �� ������������ ��� ������� ���� ���, ���� � ������ ���� ����� ���������� ��������� ������ ������. ����� ��������� ����������� ��������������� ���� �������� ����� �� ������ �����, � � ����������� ����� ������ ��� � ����� ���������������� �������. �� �� �� ������, � ������ �� ������ ���������� ��������� ������� ������ ������������.
������ ����� ������������ �������� �������� ������ ����� ����� ��������� ��������� � ���������� ������� �������������� ����� ����� ��� �������� POP3. ����������� �������� ����� � ������� POP3-�������� ����������� ����� � ������. �� ������ ������, ��������� ������, ��������� ��� ��������� ��������, � �� ����� ����� ���������� �����������.
POP3 ���� ���� ������� � 1984 ����, ����� ���� �� ��������� ��������� ����������� � ������� ������������ ����� ����������, ����� ���������, ������������ RFC 918 � ����������� ������������ ��������� ��� ��������� ����������� ����� (POP � Post Office Protocol). ����� 4 ���� ��������� ������ �������� ��������� POP, � �������, ����������� ������ ��������� �� POP3 ������������ ������ 1996 ����, ����� 17 ��� �����.
������ ��������� POP3 �������� ����������� ��� �������� ����������� � ��������� ������� � �������� ������� � ��������� �����. ���������� � ������ ������� ����������� �������������� ���������� ���� ����� �� ����� �� ��������� ����, � ����� ������� ����� ����������� �����. ����� ��� �� �������� ��� �������� ���� ��� ����� � ����� � �������� ���������������� ����. � ������ ������ POP ���� �� ���� ������ ��� ������ ��������� �����, ������ ��� ������ �������� �����.
������ ��� ������ �����������, ��� ����������� ������ �� ������� �� ��������. �� ������������ �� ��������� ��������� ��� ������ ����������� � ������, ����������� �� ���������, ����� � �������� ��������.
���������, ��� � ��������� POP2 ���� ������������� ����������� ������ � ����������� ������� �� �������, �� ��� ��������� ��������������, �� � ��� �������� ��������������� �� �������. ������� � POP3 ������� FOLD, ������� ����������� ��� �����������, ������. POP2 ������� �����.
������ � POP3 ��� ����������� ��������� � ������� ��������� �����, ������ �������� ������ �����, ���������, ��� �������, ���� �� �������� �����, ���� �� ����������� ���������������� �����. ���������� ��������� ������ ����������� � ��������. �������� �� ��� �����������, �������� �� ��� ������ ������������, � �������� ��-�� ����� �������� � ����� ������� ��������� � ����� �����������.
���� ����� ������� �������� POP3, �� �� ���� �� ��� �� �������� ������ ������, ��� �������� IMAP, ����� ����������� ������������ � 1985 ����. ������� IMAP ���� ������ ���������. ��������, ������ ���������� ���� ������� �� Lisp-�, � ��� �������� �������� �������� � ��������� � ���� S-���������, �������� ���������� ������� ������ �������, ����� ��� BODYSTRUCTURE.
����� � ������� IMAP ���� ������� ������� � ���� ������� ����������� �������� ����� �� �������� �������. IMAP �������� ����� �� ������ ���������� ���������� ���������, ������������ �� ��, ��� ��������� ��������� �� ������������ ���������� ��������. ����� ����, ������������ ����������� � ������ ���������� ��� ������ � ������ � �������� ����� ���� ��������� � ������� ���� ��� ��� ����������.
��������� ������ IMAP � 4rev1 � ������� � ��������� RFC 3501, ��������� ���� � 2003 ����. �������� �� ��������� �������, �������� ��������� ����� ��������� ���������������� �� ������ ������ ��������� ����������. ���� ��������, �������, ���� �� ��� �����������, �� ��� �� �����, �� �������� ��������� ����� ��������� ����� ���������� ��������� ����������, ������ �� ������� ���� ����������� ������ ������� � ����� ������� ����������.
����������� �������� ������� ��� ��������� ������� �� IMAP � �������. �� ���������� ���������� ��� ������.����� ������������ IMAP � �������� ������� ��� ������ �� ����� ���������� ���������� ��������, ��� Outlook, Thunderbird, Apple Mail, � ����� �������������� ��������� ��������. ������, ������ ��������� ���������� IMAP ������� ������ ����� ��������. ���� �� ������������ ����������� ��� �������� ����� ����������� ����������� ������������� ������� ����� � ������ ���-���������� � ����� �����, �� � ���������� ������������ �������� ������ �� �����. ������� � �������� IMAP-�������, �������� � iOS, ���������� �������������� ������ � IMAP ��� � ������ ������������� ���������������� � ������������� �������������.
������� � ������.����� ��������� � ������� IMAP-������� � �������� ����� � ������� �������� �� IMAP � � ���������� � POP3-��������.
������� �� ������� ����������� ������� ��������� � ���������� �� ������� ������ ����� ������� ���������. ��� ����� ����� ����� IMAP ��-�� ��������� ���� ������������ ������ ��������� � ����� �������� ����� �� ������� �� ��������� �����, � ������� ��������, ����� ������������ ���������� �������� ��������. ��� ��������� ������ ��������� ����������, � ������������� � ��������������.
�������� ���� � ������� � ������.����� ����� �� ���� �������� ������, �������������� �������� IMAP. �������� ���������, � ������ ���������� IMAP-������� ���� ���� ��������, � ��� ���� ����� � ������ ������� ���������� ����� �������� ������� �������� �� ������ ����� �� �����.
��-�������� ����� ����� ����� ������������� �������� �� �������� ���� ����� ��������������� �������� ��������.
�������� IMAP ������� ������� ��� POP3 � ������ �� ������ ������������ � ������, � �� ��������� ������� ��������� ����������������. ��������, � IMAP ������������ ����������� ������ ������� � ������� ������� �� ��� �������, ��� ��������� ������� �������� �� ������� � ������������ �������.
������ ������� ������ ���� ���������� ��������� ��������������� � �����, ������� ����� ����� ����������� �������� ��� ��������� ������ �� ��� �������. ��� ��������� ������� ������� � �������� ���� ��������� ����������� � ������ ������ �������� �� ������� ������� � ����� �������, ��� ��� ���� ��������� ���������� ����������� ����� ����� �������� �������. ����� ����, ������ ����� ��������� ����� ������� ������������, ������� �������� ������ � ������, � ������.����� ����� ��� ������������. ������������ ��� ������� ������� ������� � ���������������� ��� �������, ��� � �������. ���� ��� � ���� ����� ���������� �������� sequence numbers � TCP, �� �������� ���� +1 � geek cred
��� ���������� IMAP-�������� ������ ������.����� �� ������������ ��� ����������� ��������� ��� ��������� ����� ���������������������� ������� ��������, ������� ���������� yplatform. ���� ��� �������� ��� ������, ���� �� ������������� ����������� ������������ ���. ������� �� ���������.
���������� �� ������.�����, ������������ ������� �� IMAP � � �� ������ ������� ����� ����� ������ ������. �� ���-���, � ������ ������ �����.