6 |
@sc{gnu} Mailutils provides a set of programs for handling the email. |
@sc{gnu} Mailutils provides a set of programs for handling the email. |
7 |
|
|
8 |
@menu |
@menu |
9 |
* authentication:: Authorization and authentication principles. |
* authentication:: Authorization and authentication principles. |
10 |
* configuration:: Common configuration file. |
* configuration:: Common configuration file. |
11 |
* imap4d:: IMAP4 daemon. |
* imap4d:: IMAP4 daemon. |
12 |
* pop3d:: POP3 daemon. |
* pop3d:: POP3 daemon. |
13 |
* frm:: List headers from a mailbox. |
* frm:: List headers from a mailbox. |
14 |
* mail:: Send and receive mail. |
* mail:: Send and receive mail. |
15 |
* mail.local:: Deliver mail to the local mailbox. |
* mail.local:: Deliver mail to the local mailbox. |
16 |
* messages:: Count the number of messages in a mailbox. |
* messages:: Count the number of messages in a mailbox. |
17 |
* readmsg:: Extract messages from a folder. |
* readmsg:: Extract messages from a folder. |
18 |
* sieve:: Mail filtering utility. |
* sieve:: Mail filtering utility. |
19 |
* guimb:: Mailbox scanning and processing language. |
* guimb:: Mailbox scanning and processing language. |
20 |
* comsatd:: Comsat daemon. |
* comsatd:: Comsat daemon. |
21 |
* mailutils-config:: Get the information about the Mailutils build. |
* mailutils-config:: Get the information about the Mailutils build. |
22 |
@end menu |
@end menu |
23 |
|
|
24 |
@page |
@page |
56 |
names. For example, the authorization list |
names. For example, the authorization list |
57 |
|
|
58 |
@example |
@example |
59 |
system:sql:virtdomains |
system:sql:virtdomains |
60 |
@end example |
@end example |
61 |
|
|
62 |
@noindent |
@noindent |
111 |
the list of authentication modules is: |
the list of authentication modules is: |
112 |
|
|
113 |
@example |
@example |
114 |
generic:system:pam:sql |
generic:system:pam:sql |
115 |
@end example |
@end example |
116 |
|
|
117 |
@noindent |
@noindent |
119 |
the list of authorization modules is: |
the list of authorization modules is: |
120 |
|
|
121 |
@example |
@example |
122 |
system:sql:virtdomains |
system:sql:virtdomains |
123 |
@end example |
@end example |
124 |
|
|
125 |
@page |
@page |
673 |
|
|
674 |
@page |
@page |
675 |
@node mail |
@node mail |
676 |
@section mail --- send and receive mail. |
@section mail --- send and receive mail. |
677 |
@pindex mail |
@pindex mail |
678 |
|
|
679 |
@command{Mail} is an enhanced version of standard @command{/bin/mail} program. |
@command{Mail} is an enhanced version of standard @command{/bin/mail} program. |
757 |
commands after starting @samp{mail -N}: |
commands after starting @samp{mail -N}: |
758 |
|
|
759 |
@example |
@example |
760 |
print * |
print * |
761 |
quit |
quit |
762 |
@end example |
@end example |
763 |
@item -q |
@item -q |
764 |
@itemx --quit |
@itemx --quit |
774 |
Operate on USER's mailbox. This is equivalent to: |
Operate on USER's mailbox. This is equivalent to: |
775 |
|
|
776 |
@example |
@example |
777 |
mail -f/@var{spool_path}/USER |
mail -f/@var{spool_path}/USER |
778 |
@end example |
@end example |
779 |
|
|
780 |
@noindent |
@noindent |
781 |
with @var{spool_path} being the full path to your mailspool directory |
with @var{spool_path} being the full path to your mailspool directory |
782 |
@*(@file{/var/spool/mail} or @file{/var/mail} on most systems). |
@*(@file{/var/spool/mail} or @file{/var/mail} on most systems). |
2049 |
must receive following command line switches: |
must receive following command line switches: |
2050 |
|
|
2051 |
@example |
@example |
2052 |
-s %h/.filter.scm -q /etc/mail/userquota |
-s %h/.filter.scm -q /etc/mail/userquota |
2053 |
@end example |
@end example |
2054 |
|
|
2055 |
@menu |
@menu |
2132 |
folder, the following output line is produced: |
folder, the following output line is produced: |
2133 |
|
|
2134 |
@example |
@example |
2135 |
Number of messages in @var{folder}: @var{number} |
Number of messages in @var{folder}: @var{number} |
2136 |
@end example |
@end example |
2137 |
|
|
2138 |
@noindent |
@noindent |
2139 |
where @var{folder} represents the folder name, @var{number} represents |
where @var{folder} represents the folder name, @var{number} represents |
2140 |
the number of messages. |
the number of messages. |
2177 |
of ``0'' and ``$'' in the list both mean the last |
of ``0'' and ``$'' in the list both mean the last |
2178 |
message in the mailbox. For example: |
message in the mailbox. For example: |
2179 |
@example |
@example |
2180 |
readmsg 1 3 0 |
readmsg 1 3 0 |
2181 |
@end example |
@end example |
2182 |
extracts three messages from the folder: the first, the third, and the last. |
extracts three messages from the folder: the first, the third, and the last. |
2183 |
|
|
2185 |
Finally, the selection may be some text to match. This will select a mail |
Finally, the selection may be some text to match. This will select a mail |
2186 |
message which exactly matches the specified text. For example, |
message which exactly matches the specified text. For example, |
2187 |
@example |
@example |
2188 |
readmsg staff meeting |
readmsg staff meeting |
2189 |
@end example |
@end example |
2190 |
extracts the message which contains the words ``staff meeting.'' Note that it |
extracts the message which contains the words ``staff meeting.'' Note that it |
2191 |
will not match a message containing ``Staff Meeting'' - the matching is case |
will not match a message containing ``Staff Meeting'' - the matching is case |
2268 |
The @command{sieve} invocation syntax is: |
The @command{sieve} invocation syntax is: |
2269 |
|
|
2270 |
@example |
@example |
2271 |
sieve [@var{options}] @var{script} |
sieve [@var{options}] @var{script} |
2272 |
@end example |
@end example |
2273 |
|
|
2274 |
@noindent |
@noindent |