Re: Re: sendmail and cyrus-imap - delivery problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
please excuse me
I totally messed up this output...because of my pathetic try to substitute yo.com with my real domain

this output should be read as follows:

# ( echo subject: test ; echo testmsg ) | sendmail -v -Am boo@xxxxxx
boo@xxxxxxxxx Connecting to /var/imap/socket/lmtp via cyrusv2vd...
220 yo.com Cyrus LMTP v2.3.13 server ready
>>> LHLO yo.com
250-yo.com
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-SIZE
250-AUTH EXTERNAL
250 IGNOREQUOTA
>>> MAIL From:<moo@xxxxxx> SIZE=22 AUTH=moo@xxxxxx
250 2.1.0 ok
>>> RCPT To:<boo@xxxxxx>
>>> DATA
550-Mailbox unknown. Either there is no mailbox associated with this
550-name or you do not have authorization to see it.
550 5.1.1 User unknown
503 5.5.1 No recipients
>>> RSET
250 2.0.0 ok
>>> RSET
250 2.0.0 ok
mgp... Using cached LMTP connection to localhost via cyrusv2vd...
>>> MAIL From:<> SIZE=1046
250 2.1.0 ok
>>> RCPT To:<moo@xxxxxx>
>>> DATA
550-Mailbox unknown. Either there is no mailbox associated with this
550-name or you do not have authorization to see it.
550 5.1.1 User unknown
503 5.5.1 No recipients
>>> RSET
250 2.0.0 ok
>>> RSET
250 2.0.0 ok
postmaster... Using cached LMTP connection to localhost via cyrusv2vd...
>>> MAIL From:<> SIZE=2070
250 2.1.0 ok
>>> RCPT To:<postmaster@xxxxxx>
>>> DATA
550-Mailbox unknown. Either there is no mailbox associated with this
550-name or you do not have authorization to see it.
550 5.1.1 User unknown
503 5.5.1 No recipients
>>> RSET
250 2.0.0 ok
Closing connection to localhost
>>> QUIT
221 2.0.0 bye 

sorry ... again

thank you.


 >Mario Pavlov  wrote:
 >
 >> Hi,
 >> thanks for the response.
 >>
 >> I did what you suggested
 >> I defined new mailer like this:
 >>
 >> # cat /usr/share/sendmail/cf/mailer/cyrusv2vd.m4
 >> PUSHDIVERT(-1)
 >> #
 >> # Copyright (c) 2002 Sendmail, Inc. and its suppliers.
 >> #       All rights reserved.
 >> #
 >> # By using this file, you agree to the terms and conditions set
 >> # forth in the LICENSE file which can be found at the top level of
 >> # the sendmail distribution.
 >> #
 >> #       Contributed by Kenneth Murchison.
 >> #
 >>
 >> _DEFIFNOT(`_DEF_CYRUSV2_MAILER_FLAGS', `lsDFMnqXz')
 >> _DEFIFNOT(`CYRUSV2_MAILER_FLAGS', `A@/:|m')
 >> ifdef(`CYRUSV2_MAILER_ARGS',, `define(`CYRUSV2_MAILER_ARGS', `FILE /var/imap/socket/lmtp')')
 >> define(`_CYRUSV2_QGRP', `ifelse(defn(`CYRUSV2_MAILER_QGRP'),`',`', ` Q=CYRUSV2_MAILER_QGRP,')')dnl
 >>
 >> POPDIVERT
 >>
 >> #########################################
 >> ###   Cyrus V2 Mailer specification   ###
 >> #########################################
 >>
 >> VERSIONID(`$Id: cyrusv2vd.m4,v 1.1 2002/06/01 21:14:57 ca Exp $')
 >>
 >> Mcyrusv2vd,     P=[IPC], F=_MODMF_(CONCAT(_DEF_CYRUSV2_MAILER_FLAGS, CYRUSV2_MAILER_FLAGS), `CYRUSV2'),
 >>                 S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n,
 >>                 _OPTINS(`CYRUSV2_MAILER_MAXMSGS', `m=', `, ')_OPTINS(`CYRUSV2_MAILER_MAXRCPTS', `r=', `, ')_OPTINS(`CYRUSV2_MAILER_CHARSET', `C=', `, ')T=DNS/RFC822/SMTP,_CYRUSV2_QGRP
 >>                 A=CYRUSV2_MAILER_ARGS
 >>
 >>
 >> which is of course copy of cyrusv2.m4 with the modifications you suggested
 >> and in my yo.com.mc file I just replaced all occurances of cyrusv2 with cyrusv2vd
 >> then I rebuilt sendmail.cf and restarted sendmail
 >> it seemed to accept the new mailer
 >> however the result is exactly the same
 >>
 >> Mar 22 16:28:22 yo sm-mta[97935]: n2MGSLe6097935: from=, size=1575, class=0, nrcpts=1, msgid=, proto=ESMTP, daemon=IPv4, relay=mail-fx0-f163.google.com [209.85.220.163]
 >> Mar 22 16:28:22 yo sm-mta[97937]: n2MGSLe6097935: to=, delay=00:00:00, xdelay=00:00:00, mailer=cyrusv2vd, pri=31575, relay=localhost, dsn=5.1.1, stat=User unknown
 >> Mar 22 16:28:22 yo sm-mta[97937]: n2MGSLe6097935: n2MGSMe6097937: DSN: User unknown
 >>
 >> I tried this:
 >> # ( echo subject: test ; echo testmsg ) | sendmail -v -Am boo@xxxxxx
 >> pesho@xxxxxxxxxxxxx Connecting to /var/imap/socket/lmtp via cyrusv2vd...
 >> 220 e-soul.org Cyrus LMTP v2.3.13 server ready
 >>>>> LHLO yo.com
 >> 250-yo.com
 >> 250-8BITMIME
 >> 250-ENHANCEDSTATUSCODES
 >> 250-PIPELINING
 >> 250-SIZE
 >> 250-AUTH EXTERNAL
 >> 250 IGNOREQUOTA
 >>>>> MAIL From: SIZE=22 AUTH=moo@xxxxxx
 >> 250 2.1.0 ok
 >>>>> RCPT To:
 >>>>> DATA
 >> 550-Mailbox unknown.  Either there is no mailbox associated with this
 >> 550-name or you do not have authorization to see it.
 >> 550 5.1.1 User unknown
 >> 503 5.5.1 No recipients
 >>>>> RSET
 >> 250 2.0.0 ok
 >>>>> RSET
 >> 250 2.0.0 ok
 >> mgp... Using cached LMTP connection to localhost via cyrusv2vd...
 >>>>> MAIL From: SIZE=1046
 >> 250 2.1.0 ok
 >>>>> RCPT To:
 >>>>> DATA
 >> 550-Mailbox unknown.  Either there is no mailbox associated with this
 >> 550-name or you do not have authorization to see it.
 >> 550 5.1.1 User unknown
 >> 503 5.5.1 No recipients
 >>>>> RSET
 >> 250 2.0.0 ok
 >>>>> RSET
 >> 250 2.0.0 ok
 >> postmaster... Using cached LMTP connection to localhost via cyrusv2vd...
 >>>>> MAIL From: SIZE=2070
 >> 250 2.1.0 ok
 >>>>> RCPT To:
 >>>>> DATA
 >> 550-Mailbox unknown.  Either there is no mailbox associated with this
 >> 550-name or you do not have authorization to see it.
 >> 550 5.1.1 User unknown
 >> 503 5.5.1 No recipients
 >>>>> RSET
 >> 250 2.0.0 ok
 >> Closing connection to localhost
 >>>>> QUIT
 >> 221 2.0.0 bye
 >>
 >> it now seems like sendmail doesn't strip the domain
 >> but cyrus still can't "find" the mailbox
 >
 >It seems that sendmail strips yo.com domain and appends yoo.com domain.
 >Sendmail strips domain before selecting local mailer or its substitute.
 >You have defined "with domain" rules in you mailer, so sendmail appends
 >"this host email name" ($j) as the domain to "domainless recipients".
 >
 >> yes, the mailbox is there
 >> I check this over and over
 >> and it's always there
 >>
 >> any quick suggestions before I try rtcyrus3 ?
 >>
 >> thank you.
 >> [...]
 >
 >-- 
 >[pl>en: Andrew] Andrzej Adam Filip : anfi@xxxxxxx
 >What's love but a second-hand emotion?
 >  -- Tina Turner
 >----
 >Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 >Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 >List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 >
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux