Configure mail server
Requirements
-
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.
Instruction by MTAs
Tests
-
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
sympa-request@mail.example.org
. And confirm that your message will be delivered topostmaster
. -
Send a message with a subject "help" to
sympa@mail.example.org
. 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
bounce+hogehoge@mail.example.org
. 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.
Telnet Example
-
Open your favorite telnet tools, for example
telnet
, netcat (nc
), PuTTY. -
Open a session to your postfix server and use this command (replace example by your addresses).
HELO example.fr 250 yourserver MAIL FROM:<user@example.fr> 250 2.1.0 Ok RCPT TO:<sympa-request@mail.example.org> 250 2.1.5 Ok RCPT TO:<sympa@mail.example.org> 250 2.1.5 Ok RCPT TO:<bounce+hogehoge@mail.example.org> 250 2.1.5 Ok DATA 354 End data with <CR><LF>.<CR><LF> Message-ID: <Something> From: <user@example.fr> 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.