title | priv | up | next |
---|---|---|---|
Configure mail server |
configure-system-log.md |
../install.md |
configure-http-server.md |
-
Mail transfer agent (MTA): See also "Requirements".
-
A mail domain name for the mailing list service. See also "Requirements".
Through the instructions in this chapter,
mail.example.org
will be used for example.
-
Start mail user agent (MUA) on your PC or PDA.
Note
- If you are not allowed to use MUA, you may use telnet client instead: See also "Telnet example" below.
-
Send any message to
[email protected]
. And confirm that your message will be delivered topostmaster
. -
Send a message with a subject "help" to
[email protected]
. And confirm that the message will be stored into incoming spool directory (by default it ismsg
subdirectory in$SPOOLDIR
directory).Note
- If the services have already started (or once they start), this message will be removed immediately, and a help messsage will be sent back to you.
-
Send any message to
[email protected]
. And confirm that the message will be stored into bounce spool directory (by default it isbounce
subdirectory in$SPOOLDIR
directory).Note
- If the services have already started (or once they start), this
message will be immediately moved into
bad
subdirectory of the spool.
- If the services have already started (or once they start), this
message will be immediately moved into
If something went unexpected, check mail system log and configuration of MTA.
-
Open your favorite telnet tools (telnet or putty for example).
-
Open a session to your postfix server and use this command (replace example by your addresses).
HELO example.fr 250 yourserver MAIL FROM:<[email protected]> 250 2.1.0 Ok RCPT TO:<[email protected]> 250 2.1.5 Ok RCPT TO:<[email protected]> 250 2.1.5 Ok RCPT TO:<[email protected]> 250 2.1.5 Ok DATA 354 End data with <CR><LF>.<CR><LF> Message-ID: <Something> From: <[email protected]> Subject: Hello Hello World . 250 2.0.0 Ok: queued as XXXXXXXXXXXXXX QUIT 221 2.0.0 Bye
This should be enough to see if everything is ok on the MTA side.