I've followed this guide to setup an email server with IMAP and SMTP. IMAP is working great, but SMTP doesn't work.
If I try to send a message using telnet:
MAIL FROM: <firstname.lastname@example.org> 250 2.1.0 Ok RCPT TO: <email@example.com> 554 5.7.1 <firstname.lastname@example.org>: Relay access denied
Attempting to login with my mail client (Mail.app on OS X Lion) gives this error in the system log:
postfix/smtpd: warning: my.computer.hostname[126.96.36.199]: SASL PLAIN authentication failed: no mechanism available
The client says "The server rejected the password given."
What can I do to get email relaying working?