Здравствуйте!
Есть почтовый сервер в локальной сети Excange там же AD <domain>.kz
Есть Sendmail который ходит в мир <domain.kz>
внутри сети Exchange работает на внешку не ходит и не получает из вне письма
вот конфиги sendmaila:hostname smtp
divert(0)
VERSIONID(`$FreeBSD: releng/9.1/etc/sendmail/freebsd.mc 223068 2011-06-14 04:33:43Z gshapiro $')
OSTYPE(freebsd6)
DOMAIN(generic)
FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
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://www.google.com/Top/Computers/Internet/E-mail/Spam/Bla.../
dnl Uncomment to activate your chosen DNS based blacklist
dnl FEATURE(dnsbl, `dnsbl.example.com')
dnl Alternatively, you can provide your own server and rejection message:
dnl FEATURE(dnsbl, `dnsbl.example.com', ``"550 Mail from " $&{client_addr} " rejected'')
dnl Dialup users should uncomment and define this appropriately
dnl define(`SMART_HOST', `your.isp.mail.server')
define(`confSMTP_LOGIN_MSG', `Phenix Mail Server 3.8.11 for CP/M ')
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(`confTO_IDENT', `0')
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)
access:
<domain>.kz RELAY
192.168.90.100 RELAY
mailertable:
<domain>.kz smtp:[192.168.90.100]
ответ от комады HELO и EHLO
501 5.0.0 HELO requires domain address
Пробвал следуйщий конфигиг
access:
smtp.<domain>.kz RELAY
192.168.90.100 RELAY
mailertable:
smtp.<domain>.kz smtp:[192.168.90.100]
ответ от комады получаю все тотже HELO и EHLO
501 5.0.0 HELO requires domain address
если посылаю почту от mail.ru
то получаю следующие
Mail delivery failed: returning message to sender
От кого: Mail Delivery System <Mailer-Daemon@f69.mail.ru>
Кому: mtu2006@mail.ru
Вчера, 23:43
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
admin@velcon.kz
SMTP error from remote mail server after RCPT TO:<admin@velcon.kz>:
host velcon.kz [xx.xx.xx.xx]: 550 5.1.1 <admin@<domain>.kz>... User unknown
------ This is a copy of the message, including all the headers. ------
Перелазил весь гугл нужен совет форумчатов
Я так понял что sendmail не релеет
Подскажите почему не работает relay или что я делаю не так ?
Или как правильно настроить sendmail?
Заранее спасибо!