To prevent sendmal from runnig under Freebsd, add to /etc/rc.conf the following: "sendmail_enable = NONE". However, I don't know why sendmail would interfere with CtrlClnt, or if it would. You can do a ps -alx | grep sendmail to see if it's running.
Port 587 is the standard port that is used instead of 25 when there is a problem with ISP's blocking port 25, which is common now. They do so as an anti-spam measure. I don't know enough about FreeBSd firewalling to help you much. Generally, 127.0.0.1 (the local address of the machine) would not be filtered by a firewall, and probably shouldn't be. other private IP ranges (i.e. 192.168.1.0 ...) would be, as would public ones. Jeff Ross Gohlke wrote: >>Now I see 110 and 25, but I didn't before... the -p wouldn't make a >> >> >difference with that. Since some mail agent seems to be active now, > >Now that 110 and 25 are showing up, I guess I don't need to declare >specific ports, as such? >/var/MailRoot/bin/XMail -Md -Pl -Sl -Fl -Cl -Ll -SI 127.0.0.1:25 -SI >127.0.0.1:587 65.75.135.140:25 -SI 65.75.135.140:587 -Mr 240 > >I'm rolling back to: >/var/MailRoot/bin/XMail -Md -Pl -Sl -Fl -Cl -Ll -Mr 240 >(Thanks for the rotation tip) > >james# netstat -t -n -a -p tcp >Active Internet connections (including servers) >Proto Recv-Q Send-Q Local Address Foreign Address (state) >tcp4 0 0 *.79 *.* LISTEN >tcp4 0 0 *.25 *.* LISTEN >tcp4 0 0 *.110 *.* LISTEN >tcp4 0 48 65.75.135.140.22 64.184.8.187.51186 >ESTABLISHED >tcp4 0 0 *.80 *.* LISTEN >tcp4 0 0 *.443 *.* LISTEN >tcp4 0 0 *.6017 *.* LISTEN >tcp4 0 0 65.75.135.140.22 207.65.63.34.62315 >ESTABLISHED >tcp4 0 0 *.10000 *.* LISTEN >tcp4 0 0 *.5432 *.* LISTEN >tcp6 0 0 *.5432 *.* LISTEN >tcp4 0 0 65.75.135.140.22 64.184.8.187.50415 >ESTABLISHED >tcp4 0 0 *.22 *.* LISTEN >tcp6 0 0 *.22 *.* LISTEN > > > > >>is CtrlClnt still not working? >> >> > >CORRECT >james# /var/MailRoot/bin/CtrlClnt -s host.server.com -u postmaster -p >pass useradd xmailserver.test newuser newpass U >ErrCode = -162 >ErrString = End of socket stream data > > > >>CAn you see the XMail process running (ps -alx | grep XMail), >> >> > >YES >james# ps -alx | grep XMail > 0 26443 1 0 96 0 4924 2572 select S p1 0:00.17 >/var/MailRoot/bin/XMail > > > >>or is some other app binding those ports? >> >> > >How could I find this out? I have not installed any other mail apps >except DBMail IMAP, and it hasn't even been running. I think sendmail is >running, but I replaced it with XMail's sendmail. I can't seem to kill >the sendmail processes: > >james# ps -alx | grep sendmail > 0 394 390 164 8 0 1632 1100 wait I+ con 0:00.00 >/bin/sh /usr/sbin/sendmail -L sm-mta -bd -q30m -ODaemonPortOpt > 0 395 394 164 116 0 2772 1804 select I+ con 0:00.01 >/usr/sbin/sendmail.xmail -L sm-mta -bd -q30m -ODaemonPortOptio >james# kill -HUP 394 >james# ps -alx | grep sendmail > 0 26454 24913 0 96 0 348 232 - R+ p2 0:00.00 grep >sendmail > 0 394 390 164 8 0 1632 1100 wait I+ con 0:00.00 >/bin/sh /usr/sbin/sendmail -L sm-mta -bd -q30m -ODaemonPortOpt > 0 395 394 164 116 0 2772 1804 select I+ con 0:00.01 >/usr/sbin/sendmail.xmail -L sm-mta -bd -q30m -ODaemonPortOptio > >What is port 587? Do I need to open it for XMail? >I shouldn't even need to open 6017 in my firewall if XMail is not talking >to a non-local machine, right? > >Thanks again, > >Ross Gohlke > > > >- >To unsubscribe from this list: send the line "unsubscribe xmail" in >the body of a message to [EMAIL PROTECTED] >For general help: send the line "help" in the body of a message to >[EMAIL PROTECTED] > > > > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
