smtp/postfix/sasl/openssh headaches
Okay,
I'd written the list before but the mess has evolved.
I installed postfix+dovcot on my server at linode, per instructions here:
http://library.linode.com/email/postfix/dovecot-mysql-debian-6-squeeze
and I'm having several issues.
when I telnet localhost 25 > ehlo localhost
I do not see 250-STARTTL
connections to the smtp server are refused (perhaps because of this?).
I see the following from tail /var/log/mail.err:
Jan 11 02:26:03 vulcan postfix/master[15403]: fatal: bind 0.0.0.0 port 25: Address already in use
Jan 11 11:30:30 vulcan postfix/master[16665]: fatal: bind 0.0.0.0 port 25: Address already in use
but according to lsof and netstat, as far as I can tell, the only thing using port 25 is the smtp server.
sudo lsof -i :25
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sendmail- 10742 root 3u IPv4 14207 0t0 TCP localhost.localdomain:smtp (LISTEN)
I can read a mailbox over imap, but can not send/receive with smtp.
tail /var/log/mail.log shows:
Jan 11 11:28:23 vulcan dovecot: imap-login: Login: user=<tony@tonybaldwin.org>, method=PLAIN, rip=71.235.82.118, lip=66.228.33.98, TLS
Jan 11 11:28:46 vulcan dovecot: IMAP(tony@tonybaldwin.org): Disconnected: Logged out bytes=519/1911
Jan 11 11:30:30 vulcan postfix/master[16665]: fatal: bind 0.0.0.0 port 25: Address already in use
Jan 11 11:30:52 vulcan sm-mta[16672]: q0BGUbXY016672: localhost.localdomain [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4
Jan 11 11:39:58 vulcan postfix/postdrop[16706]: warning: unable to look up public/pickup: No such file or directory
Also, while hostname -f shows me the correct FQDN (vulcan.tonybaldwin.org), when I use openssl to write a certificate,
the cert says it is from vuldan.linode.com.
The correct FQDN is set in postfix/main.cf, as well.
Users on the server can mail each other with mailx, but not with mutt or squirrelmail, since, of course,
those must pass through the smtp server.
If I send myself a mail from this gmx acct, I get not bounce or error from my server (tonybaldwin.org),
but nothing shows up at the other end, and, when I try to send mail from tonybaldwin.org with mutt,
I see
could not connect to mail.tonybaldwin.org (connection refused).
If I try to send mail with squirrelmail, I get this:
Service not available, closing channel
421 4.3.0 collect: Cannot write ./dfq0BHpDOX016962 (bfcommit, uid=0, gid=113): No such file or directory
So, clearly, I'm a mess.
I swear, I followed the instructions in the tutorial mentioned above.
Any and all assistance appreciated.
thanks,
tony
--
http://www.tonybaldwin.me
all tony, all the time
Reply to: