DNS и IP конечно же тестовые с dovecot-ом только разбираюсь1. DNS
nslookup simonid.ru
Server: 192.168.5.11
Address: 192.168.5.11#53
Name: simonid.ru
Address: 192.168.5.11
nslookup -type=mx simonid.ru
Server: 192.168.5.11
Address: 192.168.5.11#53
simonid.ru mail exchanger = 10 simonid.ru.
2. отрывок с dovecot.conf
first_valid_uid = 900
last_valid_uid = 900
first_valid_gid = 900
last_valid_gid = 900
protocol imap {
login_executable = /usr/libexec/dovecot/imap-login
mail_executable = /usr/libexec/dovecot/imap
}
protocol pop3 {
login_executable = /usr/libexec/dovecot/pop3-login
mail_executable = /usr/libexec/dovecot/pop3
pop3_uidl_format = XuXv
}
mail_location = maildir:/opt/mail/%d/%u
mail_extra_groups = mail
auth default {
mechanisms = digest-md5 cram-md5 apop
# userdb static {
# args = uid=vmail gid=vmail home=/opt/mail/%d/%n
# }
userdb passwd-file {
args = /opt/mail/%d/etc/passwd.pwd
}
passdb passwd-file {
args = /opt/mail/%d/etc/cram-md5.pwd
}
user = vmail
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = vmail
group = vmail
}
client {
path = /var/run/dovecot/auth-client
mode = 0660
user = smail
group = smail
}
3. sendmail
+ MAILER(dovecot)
Mdovecot, P=/usr/libexec/dovecot/deliver, F=DFMPhnu9,
S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrFromSMTP,
T=DNS/RFC822/X-Unix,
A=deliver -d $u
на выходе
sendmail[6054]: l7G5ifs2006054: assigned id
sendmail[6054]: NOQUEUE: connect from ns.simonid.ru [192.168.5.11]
sendmail[6054]: AUTH: available mech=DIGEST-MD5 CRAM-MD5, allowed mech=DIGEST-MD5 CRAM-MD5
sendmail[6054]: l7G5ifs2006054: Milter: no active filter
sendmail[6054]: l7G5ifs2006054: --- 220 ns.simonid.ru ESMTP Sendmail; Thu, 16 Aug 2007 16:44:41 +1100
sendmail[6054]: l7G5ifs2006054: <-- EHLO ns.simonid.ru
sendmail[6054]: l7G5ifs2006054: --- 250-ns.simonid.ru Hello ns.simonid.ru [192.168.5.11], pleased to meet you
sendmail[6054]: l7G5ifs2006054: --- 250-ENHANCEDSTATUSCODES
sendmail[6054]: l7G5ifs2006054: --- 250-PIPELINING
sendmail[6054]: l7G5ifs2006054: --- 250-8BITMIME
sendmail[6054]: l7G5ifs2006054: --- 250-SIZE
sendmail[6054]: l7G5ifs2006054: --- 250-DSN
sendmail[6054]: l7G5ifs2006054: --- 250-AUTH DIGEST-MD5 CRAM-MD5
sendmail[6054]: l7G5ifs2006054: --- 250-STARTTLS
sendmail[6054]: l7G5ifs2006054: --- 250-DELIVERBY
sendmail[6054]: l7G5ifs2006054: --- 250 HELP
sendmail[6054]: l7G5ifs2006054: <-- MAIL FROM:<dimas@simonid.ru> SIZE=365
sendmail[6054]: l7G5ifs2006054: --- 250 2.1.0 <dimas@simonid.ru>... Sender ok
sendmail[6054]: l7G5ifs2006054: <-- RCPT TO:<tuktuk@simonid.ru>
sendmail[6054]: l7G5ifs2006054: --- 550 5.1.1 <tuktuk@simonid.ru>... User unknown
sendmail[6054]: l7G5ifs2006054: <tuktuk@simonid.ru>... User unknown
sendmail[6054]: l7G5ifs2006054: <-- QUIT
sendmail[6054]: l7G5ifs2006054: --- 221 2.0.0 ns.simonid.ru closing connection
sendmail[6054]: l7G5ifs2006054: disconnect level 1
sendmail[6054]: l7G5ifs2006054: in background, pid=6054
sendmail[6054]: l7G5ifs2006054: from=<dimas@simonid.ru>, size=365, class=0, nrcpts=0, proto=ESMTP, daemon=MSA, relay=ns.simonid.ru [192.168.5.11]
sendmail[6054]: l7G5ifs2006054: dropenvelope, e_flags=0x4009, OpMode=d, pid=6054
sendmail[6054]: l7G5ifs2006054: unlink ./dfl7G5ifs2006054
sendmail[6054]: l7G5ifs2006054: ./dfl7G5ifs2006054: unlink-fail 2
sendmail[6054]: l7G5ifs2006054: unlink ./qfl7G5ifs2006054
sendmail[6054]: l7G5ifs2006054: ./qfl7G5ifs2006054: unlink-fail 2
sendmail[6054]: l7G5ifs2006054: unlock
sendmail[6054]: l7G5ifs2006054: unlink ./xfl7G5ifs2006054
sendmail[6054]: l7G5ifs2006054: ./xfl7G5ifs2006054: unlink-fail 2
sendmail[6054]: NOQUEUE: finis, pid=6054
подскажите в чем может быть причина!!!
сам dovecot работает (POP3 точно, IMAP не проверял)