[Dovecot] dovecot created mailbox empty - all mail forwarded to main MX server and cyrus-dovecot conflict

Hans Neukomm hans at kriyayoga.com
Sat Jul 3 15:36:03 EEST 2010


Hi all


after lots of trial and error and the help of THIS mail list, finally my
dovecot-postfix combination seems to work
yet
the dovecot mail spool always is empty 
all mail forwarded to my main mail server - but i have no mail relay
configured.

why is the mail NOT in the dovecot inbox but forwarded to another mail
server ??
and why does postconf -A show cyrus and NOT dovecot ??

below some relevant config data.

my goal is to have a clean simple dovecot+postfix mail system with
nothing else (cyrus or so) involved when ever possible.

---------- DNS MX stuff

dig mx kriyayoga.com
;; ANSWER SECTION:
kriyayoga.com.          3600    IN      MX      10 smtp.kriyayoga.com.
kriyayoga.com.          3600    IN      MX      0 mail.kriyayoga.com.

the new dovecot setup is tested on smtp.kriyayoga.com and when
successfully working shall be used on both mail MX servers.

---------- 

postfix stuff relevant to dovecot

 >  postconf -A
cyrus

 >  postconf -a
cyrus
dovecot

my postconf -n shows nothing about cyrus in the config
NOR
anything about mail-relay to my main MX

relayhost =
mailbox_transport =
mailbox_command =
smtpd_sasl_type = dovecot
virtual_transport = dovecot

---------- below the mail log for sending mail to my dovecot box 

Jul  3 20:31:08 kriyayoga postfix/smtpd[27801]: connect from
unknown[124.108.51.96]
Jul  3 20:31:08 kriyayoga dovecot: auth(default): new auth connection:
pid=27801
Jul  3 20:31:09 kriyayoga dovecot: auth(default): client in:
AUTH#0111#011PLAIN#011service=smtp#011nologin#011lip=78.46.101.111#011rip=124.108.51.96#011resp=aGFucwBoYW5zAEk4Q3Nhd084MUR4Y1JlTTh1QmgwTA==
Jul  3 20:31:09 kriyayoga dovecot: auth(default):
passwd-file(hans,124.108.51.96): lookup: user=hans
file=/etc/dovecot/passwd
Jul  3 20:31:09 kriyayoga dovecot: auth(default): client out:
OK#0111#011user=hans
Jul  3 20:31:09 kriyayoga postfix/smtpd[27801]: BC90129D9F:
client=unknown[124.108.51.96], sasl_method=PLAIN, sasl_username=hans
Jul  3 20:31:10 kriyayoga postfix/cleanup[27807]: BC90129D9F:
message-id=<201007032031.07830.hans at kriyayoga.com>
Jul  3 20:31:10 kriyayoga postfix/qmgr[14627]: BC90129D9F:
from=<hans at kriyayoga.com>, size=1287, nrcpt=2 (queue active)
Jul  3 20:31:10 kriyayoga postfix/smtp[27808]: BC90129D9F:
to=<hans at kriyayoga.com>, relay=mail.kriyayoga.com[88.198.14.45]:25,
delay=0.95, delays=0.5/0.01/0.17/0.26, dsn=2.0.0, status=sent (250 Ok:
queued as 97FCE138024)
Jul  3 20:31:10 kriyayoga postfix/smtp[27808]: BC90129D9F:
to=<hans at kriyayoga.com>, relay=mail.kriyayoga.com[88.198.14.45]:25,
delay=0.95, delays=0.5/0.01/0.17/0.26, dsn=2.0.0, status=sent (250 Ok:
queued as 97FCE138024)
Jul  3 20:31:10 kriyayoga postfix/qmgr[14627]: BC90129D9F: removed


at this point the mail is gone already - NO mail in my dovecot inbox -
NO error - just automatically relayed to my main MX

----------

any help or tip or pointer to a howto is welcome and highly appreciated.


greetings

Hans <hans at kriyayoga.com>
Cyberspace Ashram
http://www.kriyayoga.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20100703/74c642e3/attachment.bin 


More information about the dovecot mailing list