Ubuntu & Postfix
gmane at auxbuss.com
Tue Sep 12 14:35:46 UTC 2006
Oscar Veloz said...
> I have a Dapper server that I did the LAMP setup on, then I installed
> postfix and mailscanner. What I'm trying to do is build an SMTP gateway
> that receives mail, filters out spam and forwards on to my exchange
> server. I think postfix is up and running but how can I check to see if
> it is? Is there not a walkthrough somewhere of how to test postfix?
> Also, how do I see what ports are listening on my Dapper box, and could
> I telnet into port 25 and test that way?
Please turn off HTML.
$ telnet localhost 25
$ ehlo localhost
$ mail from: root at localhost
$ rcpt to: someuser at localhost
$ Subject: Mail using Postfix
$ Hello there.
Logged in as someuser do
For saildirs, add
home_mailbox = Maildir/
$ /etc/init.d/postfix restart
Test with TBird etc.
More information about the ubuntu-users