On Fri, Feb 10, 2012 at 6:54 PM, Jim Long <ja...@umpquanet.com> wrote: > I should add: > > On Fri, Feb 10, 2012 at 03:44:16PM -0800, Jim Long wrote: > ... >> (Now confirm that the sendmail processes are gone:) >> # ps -auxww | grep [s]endmail >> # >> (Good, no output from ps | grep) >> (Now try to start sendmail) >> # cd /etc/mail >> # make start >> Starting:. >> # ps -auxww | grep [s]endmail >> # >> (Good, no output; even after 'make start' there are no sendmail processess >> running. >> 'make start' does nothing because of sendmail_enable="NONE" in /etc/rc.conf) > > Now shut down postfix, and confirm using 'ps' that no postfix > processes are running. Then, start postfix and use 'ps' to confirm > that it has started. Also, use 'sockstat -4l' to confirm which > ports postfix is listening on. Hopefully postfix will now be > able to bind to the ports that before might have been bound up by > sendmail. > > Then, > >> At this point, go back and try your 'mail -s test jorge' example >> and see if you've made any progress. Or try 'sockstat -4l' and >> examine its output to see which programs are listening on which >> ports. >> >> HTH, >> >> Jim >>
satyr# ps -auxww | grep [s]endmail grep: No match. satyr# cd /etc/mail satyr# make start Starting:. satyr# ps -auxww | grep [s]endmail grep: No match. satyr# postfix stop postfix/postfix-script: stopping the Postfix mail system satyr# ps -auxww | grep [p]ostfix grep: No match. satyr# postfix start postfix/postfix-script: starting the Postfix mail system satyr# sockstat -4l USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root master 27901 12 tcp4 69.55.232.70:25 *:* At this point it seems obvious that postfix is bound to tcp 25, but an attempt to send mail still chokes with the familiar error about an unwritable queue. satyr# ls -la /var/spool total 18 drwxr-xr-x 9 root wheel 512 Feb 10 19:20 . drwxr-xr-x 22 root wheel 512 Feb 10 17:05 .. drwxr-xr-x 2 root wheel 512 Feb 10 19:20 clientmqueue drwxrwxr-x 2 uucp dialer 512 Feb 10 17:05 lock drwxr-xr-x 2 root daemon 512 Jan 31 15:12 lpd drwxr-xr-x 2 root daemon 512 Feb 8 06:59 mqueue drwx------ 2 root daemon 512 Jan 31 15:12 opielocks drwxr-xr-x 3 root daemon 512 Jan 31 15:12 output drwxr-xr-x 16 root postfix 512 Feb 8 07:57 postfix satyr# -- Jorge Luis González <jlg.in...@gmail.com> http://people.umass.edu/jlg/