A PCRE internal error occured. This might be caused by a faulty plugin
====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
packages:postfix [2014/02/07 04:48] admin [Configure Postfix] |
packages:postfix [2014/02/07 05:00] (current) admin [Test Postfix] |
||
---|---|---|---|
Line 41: | Line 41: | ||
===== Relay Authentification ===== | ===== Relay Authentification ===== | ||
- | If your relay hsot needs authentication, or blocks port 25, you'll need to further configure Postfix: | + | If your relay host requires authentication, or blocks port 25, you'll need to further configure Postfix: |
<code> | <code> | ||
Line 58: | Line 58: | ||
sudo nano /etc/postfix/sasl_passwd | sudo nano /etc/postfix/sasl_passwd | ||
- | [smtp.sbcglobal.yahoo.com]:587 username@sbcglobal.net:mypassword | + | [smtp.domainname.tld]:587 username@domainnanme.tld:mypassword |
</code> | </code> | ||
Line 78: | Line 78: | ||
Done. You can use "mutt" to send emails outside. Check /var/log/mail.log to see if everything is working. | Done. You can use "mutt" to send emails outside. Check /var/log/mail.log to see if everything is working. | ||
===== Test Postfix ===== | ===== Test Postfix ===== | ||
+ | You should nbow be able to send mail to the outside world using Postfix: | ||
+ | <code> | ||
+ | telnet localhost 25 | ||
+ | </code> | ||
+ | |||
+ | You should see: | ||
+ | <code> | ||
+ | Trying 127.0.0.1... | ||
+ | Connected to localhost.localdomain. | ||
+ | Escape character is '^]'. | ||
+ | 220 server1.example.com ESMTP Postfix (Debian/GNU) | ||
+ | </code> | ||
+ | |||
+ | Send an email to a test recipient: | ||
+ | <code> | ||
+ | mail from:<you@youremail.com> | ||
+ | rcpt to:<user@example.com> | ||
+ | data | ||
+ | To: user@example.com | ||
+ | From: you@youremail.com | ||
+ | Subject: Hey my first email | ||
+ | This is my first email on debian postfix after installing configuring it. | ||
+ | It was easy. | ||
+ | </code> | ||
+ | |||
+ | To end data hit enter, type in a dot, and hit enter again: | ||
+ | <code> | ||
+ | . | ||
+ | </code> | ||
+ | |||
+ | Quit the session: | ||
+ | <code> | ||
+ | quit | ||
+ | </code> | ||