On Sunday 29 December 2002 16:46 pm, Jason Jonas - Sapien wrote:
I'm upgrading a box from redhat to suse 8.1 pro. One task this box will assume is SMTP host. I've been using sendmail on the redhat box, but am interested in using postfix provided I can get it working. :)
Here's what I changed in /etc/postfix/main.cf:
myhostname = somehost.domain.com mydomain = domain.com myorigin = $mydomain
After starting postfix, I can send mail from the localhost and the command line using this:
echo "a test" | /usr/sbin/sendmail jejonas@yahoo.com
But I'm not able to connect to postfix from another host using:
telnet somehost 25
The connection is terminated and nothing is logged in /var/log/mail or /var/log/messages to indicate what the issue may be. Any insight is appreciated. I really don't want to go back to sendmail, but then this problem doesn't appear to be a postfix config issue either. Thanks!
Jason
You must tell postfix to listen on port 25 of 'somehost' (as opposed to port 25 of localhost which is how you've been connecting) Put the following line into your master.cf for postfix: somehost:25 inet n - n - - smtpd -o content_filter= (watch for folding of the above long line) -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 12/29/02 16:22 + +----------------------------------------------------------------------------+ "There is no such thing as a 'Fail Safe' design."