On Tue, Jan 10, 2012 at 09:35:58PM +0000, Camaleón wrote: > On Tue, 10 Jan 2012 13:12:25 -0500, Tony Baldwin wrote: > > > On Tue, Jan 10, 2012 at 01:05:16PM -0500, Tony Baldwin wrote: > >> On Tue, Jan 10, 2012 at 04:58:06PM +0000, Camaleón wrote: > > (...) > > >> Okay, at this point, I am getting different errors. I think I resolved > >> the sasl issue by correcting an error I had made in /etc/pam.d/smtpd > >> > >> But, now, if I telnet to localhost 25, either the connection drops > >> immediately, or anything I try to do (like elho localhost) hangs for a > >> long time, and then, again, just dumps the connection without result. > >> > >> Oddly, before correcting the error in /etc/pam.d/smtpd I would get > >> expected results with > >> telnet localhost 25 > >> ehlo localhost > >> > >> (such as indication > >> 250 - STARTTLS > >> etc. > >> ) > >> > >> but now, no joy...weird. > > >> correct (I've redone it about 20 times now, too). I've gone over this > >> whole tutorial like 20 times now. > > "dpkg --reconfigure postfix" will use your current "hostname" as the > default "myhostname" paramenter. Run "postconf -d | grep myhostname" to > get the current value. > I did this again (dpgk-reconfigure postfix, not dpkg --reconfigure), this is from tail /var/log/mail.err
Jan 10 15:28:27 vulcan postfix/smtpd[7515]: fatal: unexpected command-line argument: # Jan 10 16:45:37 vulcan postfix/smtpd[7714]: fatal: unexpected command-line argument: # Jan 10 17:12:57 vulcan postfix/smtpd[8180]: fatal: unexpected command-line argument: # It's the only message I'm getting now. I don't know where the unexpectec command-line argument is. There is no /etc/postfix/smtpd but, rather postfix/sasl/smtpd and I've checked that against the tutorial, and it looks correct. Should there be such a file in /etc/postfix/smtpd not just in /etc/postfix/sasl/smtpd ? > *** > (none) postfix/smtpd[22358]: fatal: parameter "smtpd_recipient_restrictions": > specify at least one working instance of: check_relay_domains, > reject_unauth_destination, reject, defer or defer_if_permit I think that was from last night, when, for some reason, there was a stray space in there: reject _unauth_destination (should have been without that space). > > Well, in my Postfix I have commented: > > #myorigin = /etc/mailname after dpkg-reconfigure mine is like this. > > Because I prefer to use: > > myhostname = server.example.com > > To do not mix the linux system hostname with Postfix e-mail service. > > But I'd say the hostname is at this point irrelevant, the big error is > that Postfix service is exiting because of the above warning. the fatal unexpected command-line arg...but where is that? also, tail /var/log/mail.info shows Jan 10 17:12:57 vulcan postfix/smtpd[8180]: fatal: unexpected command-line argument: # Jan 10 17:12:58 vulcan postfix/master[8143]: warning: process /usr/lib/postfix/smtpd pid 8180 exit status 1 Jan 10 17:12:58 vulcan postfix/master[8143]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling Jan 10 17:13:03 vulcan dovecot: IMAP(t...@tonybaldwin.org): Disconnected: Logged out bytes=519/1868 tail /var/log/mail.log gives Jan 10 16:45:37 vulcan postfix/smtpd[7714]: fatal: unexpected command-line argument: # Jan 10 16:45:38 vulcan postfix/master[7492]: warning: process /usr/lib/postfix/smtpd pid 7714 exit status 1 Jan 10 16:45:38 vulcan postfix/master[7492]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling Jan 10 17:10:49 vulcan postfix/master[7492]: terminating on signal 15 Jan 10 17:11:20 vulcan postfix/master[8143]: daemon started -- version 2.7.1, configuration /etc/postfix Jan 10 17:11:49 vulcan dovecot: imap-login: Login: user=<t...@tonybaldwin.org>, method=PLAIN, rip=66.228.33.98, lip=66.228.33.98, TLS Jan 10 17:12:57 vulcan postfix/smtpd[8180]: fatal: unexpected command-line argument: # Jan 10 17:12:58 vulcan postfix/master[8143]: warning: process /usr/lib/postfix/smtpd pid 8180 exit status 1 Jan 10 17:12:58 vulcan postfix/master[8143]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling Jan 10 17:13:03 vulcan dovecot: IMAP(t...@tonybaldwin.org): Disconnected: Logged out bytes=519/1868 and /var/log/mail.warn shows Jan 10 16:45:37 vulcan postfix/smtpd[7714]: fatal: unexpected command-line argument: # Jan 10 16:45:38 vulcan postfix/master[7492]: warning: process /usr/lib/postfix/smtpd pid 7714 exit status 1 Jan 10 16:45:38 vulcan postfix/master[7492]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling Jan 10 17:12:57 vulcan postfix/smtpd[8180]: fatal: unexpected command-line argument: # Jan 10 17:12:58 vulcan postfix/master[8143]: warning: process /usr/lib/postfix/smtpd pid 8180 exit status 1 Jan 10 17:12:58 vulcan postfix/master[8143]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling -- http://www.tonybaldwin.me all tony, all the time -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120110222124.ga25...@deathstar.hsd1.ct.comcast.net