]> Cypherpunks.ru repositories - nncp.git/blob - doc/usecases/mail.texi
Unify @ref and @command usage
[nncp.git] / doc / usecases / mail.texi
1 @node UsecaseMail
2 @section Occasional connection to mail server
3
4 Assume that you have got your own @url{http://www.postfix.org/,
5 Postfix}/@url{http://www.exim.org/, Exim} SMTP server connected to the
6 Internet. But you read and write emails on your notebook, that is
7 connected to it just from time to time. How can you flush buffered mail
8 queues when your notebook is connected?
9
10 One possibility is to log in and run something like @command{postqueue
11 -f}, but by default you have got only several days so and sender will
12 receive notification emails that his messages still are not delivered
13 yet. Also you must have secure link (SSH, VPN, etc).
14
15 Another possibility is to use POP3/IMAP4 servers, but this is too
16 overcomplicated and bloated for the simple task. Not an option.
17 @url{https://en.wikipedia.org/wiki/KISS_principle, KISS}!
18
19 Just tell both of your Postfix/Exim (on the server and notebook) to drop
20 email as a mail via NNCP (@command{@ref{nncp-exec}}) to specified node.
21
22 More information for Postfix is @ref{Postfix, here} and for Exim is
23 @ref{Exim, here}. All mail will be stored in NNCP @ref{Spool, spool},
24 that after exchanging and tossing will call local @command{sendmail}
25 command to deliver them just like that happened on the same machine.