Cyrus 2.1.12 / Sendmail 8.12.8 / Solaris 9 - Data format error

Martin Robson martin at radialsoftware.com
Tue Mar 25 15:02:20 EST 2003


Software Versions:

Cyrus IMAP 2.1.12
Cyrus SASL 2.1.12
Sendmail 8.12.8
Solaris 9 / SunOS 5.9
Berkley DB 4.1.25
Openssl 0.9.7a

Hi, I'm having an issue with sendmail processing emails and using cyrus
as a mailer. What's happening is if I send an email locally to an
account that has been created using cyradm and can authenticate using
shadow/saslauthd I will get the message but the message will not have
any body. If I try to send the email from a remote smtp server I get a
bounced message from my IMAP/Sendmail server saying: 

"<<< 553 5.1.2 <martin at radialsoftware.com>... Unrecognized host name
radialsoftware.com. 501 5.6.0 Data format error"

The sendmail logs on the server relaying the message say:

Mar 25 11:27:42 spiderman sendmail[4165]: h2PJRYtZ004165:
from=<martin at radialsoftware.com>, size=670, class=0, nrcpts=1,
msgid=<006301c2f304$88747ef0$7501a8c0 at LAPTOP>, proto=ESMTP, daemon=MTA,
relay=h24-84-55-229.vc.shawcable.net [24.84.55.229]
Mar 25 11:27:42 spiderman sendmail[4167]: h2PJRYtZ004165:
to=<martin at digitalninja.com>, delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=30451, relay=superman.radialsoftware.com.
[64.40.110.32], dsn=5.6.0, stat=Data format error
Mar 25 11:27:42 spiderman sendmail[4167]: h2PJRYtZ004165:
h2PJRgtY004167: DSN: Data format error

I configured Sendmail to use cyrusv2.m4 and have checked that
sendmail.cf contains what appear to be the correct values for cyrus.
Here is what was added to sendmail.cf using that M4 configuration:


R<@>                    $#cyrusv2 $: <@>                special case
error msgs
R$=L < @ $=w . >        $#cyrusv2 $: @ $1               special local
names
R$+ < @ $=w . >         $#cyrusv2 $: $1                 regular local
name
R$=L                    $#cyrusv2 $: @ $1               special local
names
R$+                     $#cyrusv2 $: $1                 regular local
names
R$+ + *                 $#cyrusv2 $@ $&h $: $1
R$+ + $*                $#cyrusv2 $@ + $2 $: $1 + *
R< > < $+ > + $*        $#cyrusv2 $@ $2 $: @ $1         strip the extra
+
R< > $* < @ $* > $*             $#cyrusv2 $@ $1@$2 $: $1
R< > $+                         $#cyrusv2 $@ $1    $: $1
R< $+ > $* <@ $* > $*           $#cyrusv2 $@ $2@$3 $: $1
R< $+ > $*                      $#cyrusv2 $@ $2    $: $1

#####  $Id: cyrusv2.m4,v 1.1 2002/06/01 21:14:57 ca Exp $  #####
Mcyrusv2,       P=[IPC], F=lsDFMnqXzA@/:|m,

Any help would be greatly appreciated, thanks in advance.

Martin Robson
martin at radialsoftware.com






More information about the Info-cyrus mailing list