howto/SetupPostfix: Test_Postfix.command
| File Test_Postfix.command, 449 bytes (added by martin.osx@…, 18 years ago) |
|---|
| Line | |
|---|---|
| 1 | #!/opt/local/bin/zsh |
| 2 | |
| 3 | setopt X_Trace |
| 4 | |
| 5 | telnet my_computer.local smtp <<-EOF |
| 6 | HELO my_computer.local |
| 7 | MAIL FROM: root@my_computer.local |
| 8 | RCPT TO: my_name@my_computer.local |
| 9 | DATA |
| 10 | Subject: Test Mail |
| 11 | From: root@my_computer.local |
| 12 | To: my_name@my_computer.local |
| 13 | |
| 14 | Some Text |
| 15 | |
| 16 | . |
| 17 | |
| 18 | QUIT |
| 19 | |
| 20 | EOF |
| 21 | |
| 22 | # vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab : |
| 23 | # vim: set textwidth=0 filetype=zsh foldmethod=marker nospell : |
