>Странно, обязательно должно быть. Тот ли конфиг ? еще раз проверил!
ниже текст конфига:
divert(-1)
dnl ---------------------------------------------------------------------------
dnl Sendmail & ClamAV & Clammilter & CyrusIMAP & Cyrus SASL & Spamassasin & Spammilter
dnl ---------------------------------------------------------------------------
divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30.2.2 2006/08/23 03:31:00 gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)
dnl ---------------------------------------------------------------------------
dnl Аутентификация пользователей
dnl ---------------------------------------------------------------------------
define(`confAUTH_OPTIONS', `A p y')dnl
TRUST_AUTH_MECH(`LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl
dnl ---------------------------------------------------------------------------
FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')dnl
FEATURE(blacklist_recipients)dnl
FEATURE(local_lmtp)dnl
FEATURE(mailertable, `hash -o /etc/mail/mailertable')dnl
dnl FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
dnl Uncomment to allow relaying based on your MX records.
dnl NOTE: This can allow sites to use your server as a backup MX without
dnl your permission.
dnl FEATURE(relay_based_on_MX)
dnl DNS based black hole lists
dnl --------------------------------
dnl DNS based black hole lists come and go on a regular basis
dnl so this file will not serve as a database of the available servers.
dnl For that, visit
dnl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/
dnl Uncomment to activate Realtime Blackhole List
dnl information available at http://www.mail-abuse.com/
dnl NOTE: This is a subscription service as of July 31, 2001
dnl FEATURE(dnsbl)
dnl Alternatively, you can provide your own server and rejection message:
dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}')
dnl ---------------------------------------------------------------------------
dnl Подключение ClamAV
dnl ---------------------------------------------------------------------------
dnl INPUT_MAIL_FILTER(`clmilter',`S=local:/var/clamav/clmilter.sock, F=T, T=C:1m;S:5m;R:5m;E:1h')
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, F=, T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `clmilter')dnl
dnl ---------------------------------------------------------------------------
dnl Подключиние SpamAssassin
dnl ---------------------------------------------------------------------------
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl
dnl ---------------------------------------------------------------------------
dnl Dialup users should uncomment and define this appropriately
dnl define(`SMART_HOST', `your.isp.mail.server')
dnl Uncomment the first line to change the location of the default
dnl /etc/mail/local-host-names and comment out the second line.
dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw')
define(`confCW_FILE', `-o /etc/mail/local-host-names')
dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
dnl ---------------------------------------------------------------------------
dnl Подключиние CyrusIMAP
dnl ---------------------------------------------------------------------------
define(`confLOCAL_MAILER', `cyrusv2')dnl
define(`CYRUS_LMTP_SOCKET',`/var/imap/socket/lmtp')dnl
dnl ---------------------------------------------------------------------------
MAILER(local)
MAILER(smtp)
MAILER(`cyrusv2')dnl
после чего:
ns# ./Build sendmail.cf
/usr/bin/m4 -D_CF_DIR_=/usr/local/share/sendmail/cf/ /usr/local/share/sendmail/cf/m4/cf.m4 sendmail.mc > sendmail.cf
ns# /etc/rc.d/sendmail stop
Stopping sendmail.
Stopping sendmail_clientmqueue.
ns# /etc/rc.d/sendmail start
Starting sendmail.
ns#
потом:
ns# telnet localhost 25
Trying ::1...
Connected to localhost.domen.ru.
Escape character is '^]'.
220 ns.domen.ru ESMTP Sendmail 8.14.1/8.14.1; Wed, 25 Apr 2007 16:51:24 +0300 (EEST)
EHLO localhost
250-ns.domen.ru Hello localhost.domen.ru [IPv6:::1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
quit
221 2.0.0 ns.domen.ru closing connection
Connection closed by foreign host.
ns#
все так как я писал...