On 2003-02-13 20:38, Andrew Y Ng <[EMAIL PROTECTED]> wrote: > On 0, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > > On 2003-02-13 15:21, Andrew Y Ng <[EMAIL PROTECTED]> wrote: > > > this might seem stupid, but for some reasons on one of my servers > > > running freebsd -stable, mail just doesn't work, I keep seeing: > > > > > > Feb 13 14:16:52 ngbert sendmail: h1DKGqL1050411: to=ayn, > > > ctladdr=ayn (1001/1001), delay=00:00:00, xdelay=00:00:00, > > > mailer=relay, pri=30023, relay=localhost.my.domain., dsn=4.0.0, > > > stat=Deferred: Connection refused by localhost.my.domain. > > > > - What sendmail_xxx_enable options have you turned on in /etc/rc.conf? > > ayn@NGBERT:/etc>grep sendmail rc.conf > sendmail_enable="YES"
This is where the problem lies. You have only enabled mail submission through a network connection to port 25, but not submission of mail from local users. I suggest that you read at least /etc/mail/README and the rc.sendmail(8) manpage. Look at the description of sendmail_submit_enable in rc.sendmail(8) and in /etc/defaults/rc.conf. - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message