Re: Message contains NUL characters (in reply to end of DATA command)

2004-02-19 Thread Craig Ringer
On Fri, 2004-02-20 at 03:02, Rafel Amer wrote:

> Message contains NUL characters (in reply to end of DATA command))
> 
> Does anybody know how I can solve this problem?

Fix the mail client? Perhaps an updated version of Outlook might help.
What version of Outlook are you using? Alternately, is it possible that
Outlook is just failing to properly encode an attachment (note: wild
guess)?

Does this only happen with Outlook - have you tested another mail
client, just to make sure?


Craig Ringer

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: cyradmin login failed

2004-02-19 Thread Simon Matter
> Yes I have read the list archives, I found some tips about but I still
> have the same message.
>
> This is how I run saslauthd:
> saslauthd -c -a pam&

Okay, your saslauthd uses PAM.

>
> when I run testsaslauthd -u cyrus -p cyruspass
> I received: 0: OK "Success"
>
> sasldblistusers2:

sasldb2 doesn't come into the game here.

The question is how you have configured PAM? Check /var/log/messages to
see the error messages from PAM.

Simon

> [EMAIL PROTECTED]: userPassword
> [EMAIL PROTECTED]: cmusaslsecretOTP
>
> My sasldb2 has the following permisssions:
> -rw-r-1 cyrusmail12288 2004-02-18 17:59 sasldb2
>
> These are the options I used to configure:
>
> ./configure --enable-anon --enable-plain --enable-login --disable-krb4
> --disable-otp --disable-cram --disable-digest
> --with-saslauthd=/var/run/saslauthd --with-pam=/lib/security
> --with-dblib=berkeley --with-bdb-libdir=/usr/local/bdb/lib
> --with-bdb-incdir=/usr/local/bdb/include --with-openssl=/usr/local/ssl
> --with-plugindir=/usr/local/lib/sasl2
>
> Thanks for your help.
>
> Luis.
>
> Simon Matter wrote:
>
>>>Hi!!
>>>
>>>I intalled cyrus-imapd following the Luc's Howto, but I'm at the final
>>>part of the doc where it says:
>>>
>>>To use the cyradm CLI please take care that the tool does recognize
>>>standard CLI- options like -u and similar. Please follow the syntax like
>>>descried in the man page cyradm1 , like the followinf example:
>>>
>>>#cyadm --user cyrus --server localhost --auth plain
>>>Password:SASL2 password
>>>IMAP password: here I give a password that I have just introduced
>>>
>>>Then I received the following message:
>>>
>>>Login failed: authentication failure at
>>>/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Cyrus/IMAP/Admin.pm
>>>line 118
>>>cyradm: cannot authenticate to server with plain as cyrus
>>>
>>>
>>
>>Is saslauthd running? Is saslauthd configured properly?
>>Maybe you can find your answer in the list archives, this has been
>>discussed before.
>>
>>Simon
>>
>>
>>
>>>This is my imapd.conf
>>>postmaster: postmaster
>>>configdirectory: /var/imap
>>>partition-default: /var/spool/imap
>>>admins: cyrus
>>>allowanonymouslogin: no
>>>allowplaintext: yes
>>>sasl_mech_list: PLAIN
>>>servername: linux.local
>>>autocreatequota: 1
>>>reject8bit: no
>>>quotawarn: 90
>>>timeout: 30
>>>poptimeout: 10
>>>dracinterval: 0
>>>drachost: localhost
>>>sasl_pwcheck_method: saslauthd
>>>sievedir: /usr/sieve
>>>sendmail: /usr/sbin/sendmail
>>>sieve_maxscriptsize: 32
>>>sieve_maxscripts: 5
>>>#unixhierarchysep: yes
>>>
>>>
>>>
>>
>>
>>---
>>Home Page: http://asg.web.cmu.edu/cyrus
>>Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
>>List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>>
>>
>>
>
>


---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: cyradmin login failed

2004-02-19 Thread Luis Barrón




Yes I have read the list archives, I found some tips about but I still have
the same message.

This is how I run saslauthd:
saslauthd -c -a pam&

when I run testsaslauthd -u cyrus -p cyruspass
I received: 0: OK "Success"

sasldblistusers2:
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: cmusaslsecretOTP

My sasldb2 has the following permisssions:
-rw-r-    1 cyrus    mail    12288 2004-02-18 17:59 sasldb2

These are the options I used to configure:

./configure --enable-anon --enable-plain --enable-login --disable-krb4 --disable-otp
--disable-cram --disable-digest --with-saslauthd=/var/run/saslauthd --with-pam=/lib/security
--with-dblib=berkeley --with-bdb-libdir=/usr/local/bdb/lib --with-bdb-incdir=/usr/local/bdb/include
--with-openssl=/usr/local/ssl --with-plugindir=/usr/local/lib/sasl2

Thanks for your help.

Luis.

Simon Matter wrote:

  
Hi!!

I intalled cyrus-imapd following the Luc's Howto, but I'm at the final
part of the doc where it says:

To use the cyradm CLI please take care that the tool does recognize
standard CLI- options like -u and similar. Please follow the syntax like
descried in the man page cyradm1 , like the followinf example:

#cyadm --user cyrus --server localhost --auth plain
Password:SASL2 password
IMAP password: here I give a password that I have just introduced

Then I received the following message:

Login failed: authentication failure at
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Cyrus/IMAP/Admin.pm
line 118
cyradm: cannot authenticate to server with plain as cyrus

  
  
Is saslauthd running? Is saslauthd configured properly?
Maybe you can find your answer in the list archives, this has been
discussed before.

Simon

  
  
This is my imapd.conf
postmaster: postmaster
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus
allowanonymouslogin: no
allowplaintext: yes
sasl_mech_list: PLAIN
servername: linux.local
autocreatequota: 1
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: saslauthd
sievedir: /usr/sieve
sendmail: /usr/sbin/sendmail
sieve_maxscriptsize: 32
sieve_maxscripts: 5
#unixhierarchysep: yes


  
  

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

  






Re: db.spec.patch not successful :-(

2004-02-19 Thread Edward Rudd
all versions of DB use the same symbols (really annoying) so an
executable can only be linked against one version of DB..
the easiest way to convert from DB3 to DB4 is to dump and load the
databases..
if you have the db3-utils and db4-utils packages installed you can do
this..
mv mailboxes.db mailboxes.db3
db3_dump mailboxes.db3 | db4_load mailboxes.db4
cp mailboxes.db4 mailboxes.db

To figure out what version a DB is in use the file command
file mailboxes.db
DB3 is Version 7, DB4 is version 8,
skiplist should say "data" unless you add the skiplist file magic..

On Thu, 2004-02-19 at 00:50, Ruth Ivimey-Cook wrote:
> On Thu, 19 Feb 2004, Simon Matter wrote:
> 
> >There are some more things to mention:
> >
> >1) The rpms are using FHS compliant directories (/var/spool/imap and
> >/var/lib/imap). Everything should work with different configdir's but I
> >have never tested it.
> >
> >2) The only db magic which the rpms don't do is converting db3 database
> >files to db4. IIRC their binary format differs and one can not just move
> >the db3 files to a box with db4 and expect it to work.
> >
> >Simon
> 
> I suspect, then, (2) is my problem; I think the db's are v3 format, not v4. I
> had hoped that db4 could at least read v3 :-(
> 
> What is my best course of action to get a v3-based imapd that I can use to
> convert to v4? Can I have v3 and v4 in the same executables, or do I have to
> use two sets with, e.g., skiplist as the intermediary?
> 
> Thanks,
> 
> Ruth
-- 
Edward Rudd <[EMAIL PROTECTED]>
Website http://outoforder.cc/

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Delete ACL problem

2004-02-19 Thread Rob Siemborski
On Thu, 19 Feb 2004, Brenden Conte wrote:

> In short, heres a demonstration.
>
>   localhost.localdomain> cm user.test
>   localhost.localdomain> sam user.test conteb all
>   localhost.localdomain> dam user.test conteb
>   deleteaclmailbox: conteb: Unexpected extra arguments to Deleteacl

Can you get a telemetry log of this, it works for me:

MAIL5.andrew.cmu.edu> sam user.rjs3 foo rl
MAIL5.andrew.cmu.edu> dam user.rjs3 foo
MAIL5.andrew.cmu.edu>

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Cyrus mailers in sendmail

2004-02-19 Thread Andrzej Filip
Gary Mills wrote:
On Thu, Feb 19, 2004 at 09:46:15PM +0100, Andrzej Filip wrote:

I would like to donate new cyrusv3 mailer file (cf/mailer/cyrusv3.m4) to 
sendmail.org distribution.

I would like to make cyrusv3 mailer file implement 3 mailer:

cyrus-deliver - delivery via "deliver" program with domain stripping
cyrus-local   - delivery via lmtp socket with domain stripping
cyrus-dom - delivery via lmtp socket without domain stripping
Would you suggests another names or yet another mailer ?
Do you have any suggestions ?
Could you arrange for one of these to be called `local'?  What I do
now is to redefine the local mailer to deliver via lmtp.  I'd like
to continue this practice.
You can use the following line in *.mc file you use to generate sendmail.cf:
define(`confLOCAL_MAILER',`cyrusv2')
It will make sendmail use cyrusv2 insted of local mailer.
http://www.sendmail.org/m4/tweaking_config.html#confLOCAL_MAILER
I promote a few alternative ways of cyrus and sendmail integration, all of 
them use local mailer for some users and curys||cyrusv2 for other
[ e.g. http://anfi.webhop.net/sendmail/localtab.html ]

I do not share the view that "there should be only one local mailer" so do not 
expect me to "overload" local mailer name :)

Is there a reason for any site to use
more than one of your three mailers?
I think most sites will use only one of the above 3 cyrus mailers - it will be 
cyrus-local or cyrus-dom depending on version of cyrus used.

But I want all cyrus installation to use the same cf/mailer/cyrusv3.m4 file.

* cyrus-local can be used in
define(`confLOCAL_MAILER',`cyrus-local')
* cyrus-dom can be used in mailertable or via
FEATURE(`stickyhost')
define(`MAIL_HUB',`cyrus-dom')
* cyrus-deliver can be used as hook for a custom wrapper program
(e.g. for debugging of for custom filtering)
--
Andrzej [en:Andrew] Adam Filip http://anfi.webhop.net backup: [EMAIL PROTECTED]
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


[Fwd: Re: web-cyradm]

2004-02-19 Thread Luis Barrón




 

 Original Message 

  

  Subject: 
  Re: web-cyradm


  Date: 
  Thu, 19 Feb 2004 15:08:10 -0600


  From: 
  Luis Barrón <[EMAIL PROTECTED]>


  To: 
  Dwight Tovey <[EMAIL PROTECTED]>


  References: 
  <[EMAIL PROTECTED]>

  

 

Here you can download the following version:

http://www.web-cyradm.org/#download

web-cyradm-0.5.4-rc3.tar.gz



Dwight Tovey wrote:

>I've seen web-cyradm mentioned here a couple of times, so I did some
>searching and found the home page for the project:
>http://www.web-cyradm.org/
>
>Unfortunately, when I go to download the "Latest Release", I get a "Not
>Found" error.  I can download the "Latest release-candidate", but it
>gives lots of warnings about not using it unless you know what your are
>doing (which in this case I don't).
>
>So, does anybody have any pointers on where I can get the latest stable
>version?
>
>Also, the documentation talks about web-cyradm with cyrus imap and
>postfix.  I'm currently using sendmail.  Will I be able to use
>web-cyradm at all (with some loss of functionality) or will I have to
>switch to postfix first?
>
>I realize that this is slightly off-topic for this list, but I'm hoping
>that I'll be forgiven since web-cyradm is used for administering cyrus. 
>I've also tried to subscribe to the web-cyradm mailing list in order to
>ask my questions, but it looks like there is a problem with the
>list-server in that I haven't received a confirmation of my subscription
>(two attempts now).
>
>Thanks for any help.
>
>/dwight
>
>---
>Home Page: http://asg.web.cmu.edu/cyrus
>Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
>List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>  
>







Re: Message contains NUL characters (in reply to end of DATA command)

2004-02-19 Thread Henrique de Moraes Holschuh
On Thu, 19 Feb 2004, Rafel Amer wrote:
> /var/lib/cyrus/socket/lmtp[/var/lib/cyrus/socket/lmtp] said: 554 5.6.0 
> Message contains NUL characters (in reply to end of DATA command))
> 
> Does anybody know how I can solve this problem?

Get your MTA to strip NULs from "messages".  Note that something that
contains NULs is NOT a valid email to begin with, so you are perfectly right
if you decide that you will just keep bouncing that crap.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Delete ACL problem

2004-02-19 Thread Brenden Conte
In short, heres a demonstration.

  localhost.localdomain> cm user.test
  localhost.localdomain> sam user.test conteb all
  localhost.localdomain> dam user.test conteb
  deleteaclmailbox: conteb: Unexpected extra arguments to Deleteacl

I've looked in the archives, but found nothing that worked.  Just
performed an upgrade from 2.1.16.  It worked prior to the upgrade.

Any help with this would be appreciated. 

-
name   : Cyrus IMAPD
version: v2.2.3 2004/01/14 02:11:03
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : Linux
os-version : 2.4.9-e.12smp
environment: Built w/Cyrus SASL 2.1.17
 Running w/Cyrus SASL 2.1.17
 Built w/Sleepycat Software: Berkeley DB 3.3.11: (July 12,
2001)
 Running w/Sleepycat Software: Berkeley DB 3.3.11: (July 12,
2001)
 Built w/OpenSSL 0.9.6b [engine] 9 Jul 2001
 Running w/OpenSSL 0.9.6b [engine] 9 Jul 2001
 CMU Sieve 2.2
 TCP Wrappers
 mmap = shared
 lock = fcntl
 nonblock = fcntl
 auth = unix
 idle = poll
-

Thanks,
-- 
Brenden Conte
System Programmer, C&CT
Rensselaer Polytechnic Institute
(518)276-2540

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Cyrus mailers in sendmail

2004-02-19 Thread Gary Mills
On Thu, Feb 19, 2004 at 09:46:15PM +0100, Andrzej Filip wrote:
> I would like to donate new cyrusv3 mailer file (cf/mailer/cyrusv3.m4) to 
> sendmail.org distribution.
> 
> I would like to make cyrusv3 mailer file implement 3 mailer:
> 
> cyrus-deliver - delivery via "deliver" program with domain stripping
> cyrus-local   - delivery via lmtp socket with domain stripping
> cyrus-dom - delivery via lmtp socket without domain stripping
> 
> Would you suggests another names or yet another mailer ?
> Do you have any suggestions ?

Could you arrange for one of these to be called `local'?  What I do
now is to redefine the local mailer to deliver via lmtp.  I'd like
to continue this practice.  Is there a reason for any site to use
more than one of your three mailers?

-- 
-Gary Mills--Unix Support--U of M Academic Computing and Networking-
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: cyradmin login failed

2004-02-19 Thread Simon Matter
> Hi!!
>
> I intalled cyrus-imapd following the Luc's Howto, but I'm at the final
> part of the doc where it says:
>
> To use the cyradm CLI please take care that the tool does recognize
> standard CLI- options like -u and similar. Please follow the syntax like
> descried in the man page cyradm1 , like the followinf example:
>
> #cyadm --user cyrus --server localhost --auth plain
> Password:SASL2 password
> IMAP password: here I give a password that I have just introduced
>
> Then I received the following message:
>
> Login failed: authentication failure at
> /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Cyrus/IMAP/Admin.pm
> line 118
> cyradm: cannot authenticate to server with plain as cyrus

Is saslauthd running? Is saslauthd configured properly?
Maybe you can find your answer in the list archives, this has been
discussed before.

Simon

>
> This is my imapd.conf
> postmaster: postmaster
> configdirectory: /var/imap
> partition-default: /var/spool/imap
> admins: cyrus
> allowanonymouslogin: no
> allowplaintext: yes
> sasl_mech_list: PLAIN
> servername: linux.local
> autocreatequota: 1
> reject8bit: no
> quotawarn: 90
> timeout: 30
> poptimeout: 10
> dracinterval: 0
> drachost: localhost
> sasl_pwcheck_method: saslauthd
> sievedir: /usr/sieve
> sendmail: /usr/sbin/sendmail
> sieve_maxscriptsize: 32
> sieve_maxscripts: 5
> #unixhierarchysep: yes
>
> Please help me!!!
> Does anyone have any idea?
> Thank you
>
> Luis.
>


---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Fw: Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-19 Thread Andrzej Filip
Christopher Paluch wrote:
echo "=M"|sendmail -bt|grep cyrus
mailer 3 (cyrusv2): P=[IPC] S=EnvFromSMTP/HdrFromL 
> R=EnvToL/HdrToL M=0 U=0:0 F=/:@ADFMXlmnqsz|
> L=0 E=\r\n T=DNS/RFC822/SMTP r=100 A=FILE /var/imap/socket/lmtp
It looks like my overrides for S= and R= aren't working, 
> which is causing this problem.  Along with upgrading Cyrus,
> I will try to figure out why this isn't happening eventhough
> it seems to be in my sendmail.mc and sendmail.cf files.
>[...]
I suggest you copuing cf/feature/cyrusv2.m4 to cf/feature/cyrusv3.m4 and 
modyfying R= in cyrusv3.m4 [use cyrusv3 mailer instead of cyrusv2]

--
Andrzej [en:Andrew] Adam Filip http://anfi.webhop.net backup: [EMAIL PROTECTED]
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Cyrus mailers in sendmail

2004-02-19 Thread Andrzej Filip
I would like to donate new cyrusv3 mailer file (cf/mailer/cyrusv3.m4) to 
sendmail.org distribution.

I would like to make cyrusv3 mailer file implement 3 mailer:

cyrus-deliver - delivery via "deliver" program with domain stripping
cyrus-local   - delivery via lmtp socket with domain stripping
cyrus-dom - delivery via lmtp socket without domain stripping
Would you suggests another names or yet another mailer ?
Do you have any suggestions ?
[ I need no help writing the m4 file itself]
--
Andrzej [en:Andrew] Adam Filip http://anfi.webhop.net backup: [EMAIL PROTECTED]
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Fw: Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-19 Thread Christopher Paluch
echo "=M"|sendmail -bt|grep cyrus
mailer 3 (cyrusv2): P=[IPC] S=EnvFromSMTP/HdrFromL R=EnvToL/HdrToL M=0 U=0:0 
F=/:@ADFMXlmnqsz| L=0 E=\r\n T=DNS/RFC822/SMTP r=100 A=FILE /var/imap/socket/lmtp

It looks like my overrides for S= and R= aren't working, which is causing this 
problem.  Along with upgrading Cyrus, I will try to figure out why this isn't 
happening eventhough it seems to be in my sendmail.mc and sendmail.cf files.

-Original Message-
From: Andrzej Filip <[EMAIL PROTECTED]>
Sent: Feb 19, 2004 12:54 PM
To: [EMAIL PROTECTED]
Cc: Christopher Paluch <[EMAIL PROTECTED]>
Subject: Re: Fw: Re: Virtual domains, [EMAIL PROTECTED]: Mailbox unknown

Christopher Paluch wrote:
> It looks like from the output of the "sendmail -X", that the problem is sendmail is 
> sending Cyrus, test.one as the mailbox, not [EMAIL PROTECTED]  I've modified the 
> sendmail.cf file so it will send the full domain, but it doesn't seem to be doing 
> that.  So am I reading this log incorrectly or is there something else I'm supposed 
> to do to get the domain sent?
> 
> 05420 <<< EHLO ecnmail.posnetservices.com
> 05420 >>> 250-server.adomain.com Hello [68.248.99.56], pleased to meet you
> 05420 >>> 250-ENHANCEDSTATUSCODES
> 05420 >>> 250-PIPELINING
> 05420 >>> 250-8BITMIME
> 05420 >>> 250-SIZE
> 05420 >>> 250-DSN
> 05420 >>> 250-ETRN
> 05420 >>> 250-AUTH DIGEST-MD5 CRAM-MD5
> 05420 >>> 250-DELIVERBY
> 05420 >>> 250 HELP
> 05420 <<< MAIL From:<[EMAIL PROTECTED]> SIZE=500
> 05420 >>> 250 2.1.0 <[EMAIL PROTECTED]>... Sender ok
> 05420 <<< RCPT To:<[EMAIL PROTECTED]>
> 05420 >>> 250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok
> 05420 <<< DATA
> 05420 >>> 354 Enter mail, end with "." on a line by itself
> 05420 <<< Received: from web40405.mail.yahoo.com (web40405.mail.yahoo.com [66.21
> 05420 <<<   by ecnmail.posnetservices.com (8.12.8/8.12.8) with SMTP id i1JHK
> 05420 <<<   for <[EMAIL PROTECTED]>; Thu, 19 Feb 2004 11:20:02 -0600
> 05420 <<< Message-ID: <[EMAIL PROTECTED]>
> 05420 <<< Received: from [68.248.99.41] by web40405.mail.yahoo.com via HTTP; Thu
> 05420 <<< Date: Thu, 19 Feb 2004 09:20:01 -0800 (PST)
> 05420 <<< From: <[EMAIL PROTECTED]>
> 05420 <<< Subject: Kill me now
> 05420 <<< To: [EMAIL PROTECTED]
> 05420 <<< MIME-Version: 1.0
> 05420 <<< Content-Type: text/plain; charset=us-ascii
> 05420 <<<
> 05420 <<< Kill me now.
> 05420 <<<
> 05420 <<< __
> 05420 <<< Do you Yahoo!?
> 05420 <<< Yahoo! Mail SpamGuard - Read only the mail you want.
> 05420 <<< http://antispam.yahoo.com/tools
> 05420 <<< .
> 05420 >>> 250 2.0.0 i1JHK3jk005420 Message accepted for delivery
> 05422 === CONNECT localhost
> 05420 <<< QUIT
> 05420 >>> 221 2.0.0 server.adomain.com closing connection
> 05422 <<< 220 server.adomain.com LMTP Cyrus v2.1.16 ready
> 05422 >>> LHLO server.adomain.com
> 05422 <<< 250-server.adomain.com
> 05422 <<< 250-8BITMIME
> 05422 <<< 250-ENHANCEDSTATUSCODES
> 05422 <<< 250-PIPELINING
> 05422 <<< 250-SIZE
> 05422 <<< 250-AUTH EXTERNAL
> 05422 <<< 250 IGNOREQUOTA
> 05422 >>> MAIL From:<[EMAIL PROTECTED]> SIZE=723
> 05422 <<< 250 2.1.0 ok
> 05422 >>> RCPT To:
> 05422 >>> DATA
> 05422 <<< 550-Mailbox unknown.  Either there is no mailbox associated with this
> 05422 <<< 550-name or you do not have authorization to see it.
> 05422 <<< 550 5.1.1 User unknown
> 05422 <<< 503 5.5.1 No recipients
> 05422 >>> RSET
> 05422 <<< 250 2.0.0 ok
> 05422 >>> This is a MIME-encapsulated message
> 05422 >>>
> 05422 >>> --i1JHK3jk005422.1077211203/server.adomain.com
> 05422 >>>
> 05422 >>> The original message was received at Thu, 19 Feb 2004 11:20:03 -0600
> 05422 >>> from [68.248.99.56]
> 05422 >>>
> 05422 >>>- The following addresses had permanent fatal errors -
> 05422 >>> <[EMAIL PROTECTED]>
> 05422 >>> (reason: 550-Mailbox unknown.  Either there is no mailbox associat
> 05422 >>>
> 05422 >>>- Transcript of session follows -
> 05422 >>> ... while talking to localhost:
> 05422 >>> >>> DATA
> 05422 >>> <<< 550-Mailbox unknown.  Either there is no mailbox associated with t
> 05422 >>> <<< 550-name or you do not have authorization to see it.
> 05422 >>> <<< 550 5.1.1 User unknown
> 05422 >>> 550 5.1.1 <[EMAIL PROTECTED]>... User unknown
> 05422 >>> <<< 503 5.5.1 No recipients
> 05422 >>>
> 05422 >>> --i1JHK3jk005422.1077211203/server.adomain.com
> 05422 >>> Content-Type: message/delivery-status
> 05422 >>>
> 05422 >>> Reporting-MTA: dns; server.adomain.com
> 05422 >>> Received-From-MTA: DNS; [68.248.99.56]
> 05422 >>> Arrival-Date: Thu, 19 Feb 2004 11:20:03 -0600
> 05422 >>>
> 05422 >>> Final-Recipient: RFC822; [EMAIL PROTECTED]
> 05422 >>> X-Actual-Recipient: RFC822; [EMAIL PROTECTED]
> 05422 >>> Action: failed
> 05422 >>> Status: 5.1.1
> 05422 >>> Diagnostic-Code: SMTP; 550-Mailbox unknown.  Either there is no mailbox
> 05422 >>> Last-Attempt-Date: Thu, 19 Feb 2004 11:20:03 -0600
> 
> Thanks,
> Chris Paluch
> 
> -Original Message-
> From: Christian Schulte <[

Re: Fw: Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-19 Thread Christopher Paluch
@$#%?!   I thought I was running the latest version of Cyrus.  I am a doofus.

Let me install the 2.2.3 version and see what happens.  

I will send out an update in a day or two on the results of this.

Thanks everyone.

-Original Message-
From: Mike O'Rourke <[EMAIL PROTECTED]>
Sent: Feb 19, 2004 1:19 PM
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Fw: Re: Virtual domains, [EMAIL PROTECTED]: Mailbox unknown


>05420 >>> 221 2.0.0 server.adomain.com closing connection
>05422 <<< 220 server.adomain.com LMTP Cyrus v2.1.16 ready


This might give us a valuable clue. Virtual domain support is _only_ in
2.2.x; however, this still does not explain why sendmail is not sending
the full address along!





---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Fw: Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-19 Thread Mike O'Rourke
Warning: In-line response at your LMTP conversation!!
>>> Christopher Paluch <[EMAIL PROTECTED]> 02/19/04 07:07pm >>>
>It looks like from the output of the "sendmail -X", that the problem
is sendmail is sending Cyrus, test.one as 
>the mailbox, not [EMAIL PROTECTED]  I've modified the sendmail.cf
file so it will send the full domain, but it 
>doesn't seem to be doing that.  So am I reading this log incorrectly
or is there something else I'm supposed to 
>do to get the domain sent?
>
>05420 <<< EHLO ecnmail.posnetservices.com
>05420 >>> 250-server.adomain.com Hello [68.248.99.56], pleased to meet
you
>05420 >>> 250-ENHANCEDSTATUSCODES
>05420 >>> 250-PIPELINING
>05420 >>> 250-8BITMIME
>05420 >>> 250-SIZE
>05420 >>> 250-DSN
>05420 >>> 250-ETRN
>05420 >>> 250-AUTH DIGEST-MD5 CRAM-MD5
>05420 >>> 250-DELIVERBY
>05420 >>> 250 HELP
>05420 <<< MAIL From:<[EMAIL PROTECTED]> SIZE=500
>05420 >>> 250 2.1.0 <[EMAIL PROTECTED]>... Sender ok
>05420 <<< RCPT To:<[EMAIL PROTECTED]>
>05420 >>> 250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok
>05420 <<< DATA
>05420 >>> 354 Enter mail, end with "." on a line by itself
>05420 <<< Received: from web40405.mail.yahoo.com
(web40405.mail.yahoo.com [66.21
>05420 <<<   by ecnmail.posnetservices.com (8.12.8/8.12.8) with
SMTP id i1JHK
>05420 <<<   for <[EMAIL PROTECTED]>; Thu, 19 Feb 2004 11:20:02
-0600
>05420 <<< Message-ID:
<[EMAIL PROTECTED]>
>05420 <<< Received: from [68.248.99.41] by web40405.mail.yahoo.com via
HTTP; Thu
>05420 <<< Date: Thu, 19 Feb 2004 09:20:01 -0800 (PST)
>05420 <<< From: <[EMAIL PROTECTED]>
>05420 <<< Subject: Kill me now
>05420 <<< To: [EMAIL PROTECTED] 
>05420 <<< MIME-Version: 1.0
>05420 <<< Content-Type: text/plain; charset=us-ascii
>05420 <<<
>05420 <<< Kill me now.
>05420 <<<
>05420 <<< __
>05420 <<< Do you Yahoo!?
>05420 <<< Yahoo! Mail SpamGuard - Read only the mail you want.
>05420 <<< http://antispam.yahoo.com/tools 
>05420 <<< .
>05420 >>> 250 2.0.0 i1JHK3jk005420 Message accepted for delivery
>05422 === CONNECT localhost
>05420 <<< QUIT
>05420 >>> 221 2.0.0 server.adomain.com closing connection
>05422 <<< 220 server.adomain.com LMTP Cyrus v2.1.16 ready


This might give us a valuable clue. Virtual domain support is _only_ in
2.2.x; however, this still does not explain why sendmail is not sending
the full address along!


>05422 >>> LHLO server.adomain.com
>05422 <<< 250-server.adomain.com
>05422 <<< 250-8BITMIME
>05422 <<< 250-ENHANCEDSTATUSCODES
>05422 <<< 250-PIPELINING
>05422 <<< 250-SIZE
>05422 <<< 250-AUTH EXTERNAL
>05422 <<< 250 IGNOREQUOTA
>05422 >>> MAIL From:<[EMAIL PROTECTED]> SIZE=723
>05422 <<< 250 2.1.0 ok
>05422 >>> RCPT To:
>05422 >>> DATA
>05422 <<< 550-Mailbox unknown.  Either there is no mailbox associated
with this
>05422 <<< 550-name or you do not have authorization to see it.
>05422 <<< 550 5.1.1 User unknown
>05422 <<< 503 5.5.1 No recipients
>05422 >>> RSET
>05422 <<< 250 2.0.0 ok
>05422 >>> This is a MIME-encapsulated message
>05422 >>>
>05422 >>> --i1JHK3jk005422.1077211203/server.adomain.com
>05422 >>>
>05422 >>> The original message was received at Thu, 19 Feb 2004
11:20:03 -0600
>05422 >>> from [68.248.99.56]
>05422 >>>
>05422 >>>- The following addresses had permanent fatal errors
-
>05422 >>> <[EMAIL PROTECTED]>
>05422 >>> (reason: 550-Mailbox unknown.  Either there is no
mailbox associat
>05422 >>>
>05422 >>>- Transcript of session follows -
>05422 >>> ... while talking to localhost:
>05422 >>> >>> DATA
>05422 >>> <<< 550-Mailbox unknown.  Either there is no mailbox
associated with t
>05422 >>> <<< 550-name or you do not have authorization to see it.
>05422 >>> <<< 550 5.1.1 User unknown
>05422 >>> 550 5.1.1 <[EMAIL PROTECTED]>... User unknown
>05422 >>> <<< 503 5.5.1 No recipients
>05422 >>>
>05422 >>> --i1JHK3jk005422.1077211203/server.adomain.com
>05422 >>> Content-Type: message/delivery-status
>05422 >>>
>05422 >>> Reporting-MTA: dns; server.adomain.com
>05422 >>> Received-From-MTA: DNS; [68.248.99.56]
>05422 >>> Arrival-Date: Thu, 19 Feb 2004 11:20:03 -0600
>05422 >>>
>05422 >>> Final-Recipient: RFC822; [EMAIL PROTECTED] 
>05422 >>> X-Actual-Recipient: RFC822; [EMAIL PROTECTED] 
>05422 >>> Action: failed
>05422 >>> Status: 5.1.1
>05422 >>> Diagnostic-Code: SMTP; 550-Mailbox unknown.  Either there is
no mailbox
>05422 >>> Last-Attempt-Date: Thu, 19 Feb 2004 11:20:03 -0600
>
>Thanks,
>Chris Paluch
>
>-Original Message-
>From: Christian Schulte <[EMAIL PROTECTED]>
>Sent: Feb 19, 2004 10:54 AM
>To: Christopher Paluch <[EMAIL PROTECTED]>
>Cc: [EMAIL PROTECTED] 
>Subject: Re: Fw: Re: Virtual domains, [EMAIL PROTECTED]: Mailbox
unknown
>
>Am Donnerstag, 19. Februar 2004 17:00 schrieb Christopher Paluch:
>> This is the output from the maillog:
>>
>> Feb 19 09:22:54 ecnsrc01 sendmail[4856]: i1JFMsuJ004856:
>> to=<[EMAIL PROTECTED]>, delay=00:00:00,
xdelay=00:00:00,
>> mailer=cyrusv2, pri=31408, relay=localhost [[UNIX:
/var/imap/socket/lmtp]],
>> d

Message contains NUL characters (in reply to end of DATA command)

2004-02-19 Thread Rafel Amer
Hi,

I have installed postfix+cyrus-imapd and I use the lmtp as a mail 
transport. When somebody sends
a message with Outlook, I get the following error message

Feb 18 18:49:40 claimcenter postfix/lmtp[23894]: 47B9D133: 
to=<[EMAIL PROTECTED]>, 
relay=/var/lib/cyrus/socket/lmtp[/var/lib/cyrus/socket/lmtp], delay=1, 
status=bounced (host 
/var/lib/cyrus/socket/lmtp[/var/lib/cyrus/socket/lmtp] said: 554 5.6.0 
Message contains NUL characters (in reply to end of DATA command))

Does anybody know how I can solve this problem?

Thanks.

R. Amer
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Fw: Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-19 Thread Andrzej Filip
Christopher Paluch wrote:
It looks like from the output of the "sendmail -X", that the problem is sendmail is sending Cyrus, test.one as the mailbox, not [EMAIL PROTECTED]  I've modified the sendmail.cf file so it will send the full domain, but it doesn't seem to be doing that.  So am I reading this log incorrectly or is there something else I'm supposed to do to get the domain sent?

05420 <<< EHLO ecnmail.posnetservices.com
05420 >>> 250-server.adomain.com Hello [68.248.99.56], pleased to meet you
05420 >>> 250-ENHANCEDSTATUSCODES
05420 >>> 250-PIPELINING
05420 >>> 250-8BITMIME
05420 >>> 250-SIZE
05420 >>> 250-DSN
05420 >>> 250-ETRN
05420 >>> 250-AUTH DIGEST-MD5 CRAM-MD5
05420 >>> 250-DELIVERBY
05420 >>> 250 HELP
05420 <<< MAIL From:<[EMAIL PROTECTED]> SIZE=500
05420 >>> 250 2.1.0 <[EMAIL PROTECTED]>... Sender ok
05420 <<< RCPT To:<[EMAIL PROTECTED]>
05420 >>> 250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok
05420 <<< DATA
05420 >>> 354 Enter mail, end with "." on a line by itself
05420 <<< Received: from web40405.mail.yahoo.com (web40405.mail.yahoo.com [66.21
05420 <<<   by ecnmail.posnetservices.com (8.12.8/8.12.8) with SMTP id i1JHK
05420 <<<   for <[EMAIL PROTECTED]>; Thu, 19 Feb 2004 11:20:02 -0600
05420 <<< Message-ID: <[EMAIL PROTECTED]>
05420 <<< Received: from [68.248.99.41] by web40405.mail.yahoo.com via HTTP; Thu
05420 <<< Date: Thu, 19 Feb 2004 09:20:01 -0800 (PST)
05420 <<< From: <[EMAIL PROTECTED]>
05420 <<< Subject: Kill me now
05420 <<< To: [EMAIL PROTECTED]
05420 <<< MIME-Version: 1.0
05420 <<< Content-Type: text/plain; charset=us-ascii
05420 <<<
05420 <<< Kill me now.
05420 <<<
05420 <<< __
05420 <<< Do you Yahoo!?
05420 <<< Yahoo! Mail SpamGuard - Read only the mail you want.
05420 <<< http://antispam.yahoo.com/tools
05420 <<< .
05420 >>> 250 2.0.0 i1JHK3jk005420 Message accepted for delivery
05422 === CONNECT localhost
05420 <<< QUIT
05420 >>> 221 2.0.0 server.adomain.com closing connection
05422 <<< 220 server.adomain.com LMTP Cyrus v2.1.16 ready
05422 >>> LHLO server.adomain.com
05422 <<< 250-server.adomain.com
05422 <<< 250-8BITMIME
05422 <<< 250-ENHANCEDSTATUSCODES
05422 <<< 250-PIPELINING
05422 <<< 250-SIZE
05422 <<< 250-AUTH EXTERNAL
05422 <<< 250 IGNOREQUOTA
05422 >>> MAIL From:<[EMAIL PROTECTED]> SIZE=723
05422 <<< 250 2.1.0 ok
05422 >>> RCPT To:
05422 >>> DATA
05422 <<< 550-Mailbox unknown.  Either there is no mailbox associated with this
05422 <<< 550-name or you do not have authorization to see it.
05422 <<< 550 5.1.1 User unknown
05422 <<< 503 5.5.1 No recipients
05422 >>> RSET
05422 <<< 250 2.0.0 ok
05422 >>> This is a MIME-encapsulated message
05422 >>>
05422 >>> --i1JHK3jk005422.1077211203/server.adomain.com
05422 >>>
05422 >>> The original message was received at Thu, 19 Feb 2004 11:20:03 -0600
05422 >>> from [68.248.99.56]
05422 >>>
05422 >>>- The following addresses had permanent fatal errors -
05422 >>> <[EMAIL PROTECTED]>
05422 >>> (reason: 550-Mailbox unknown.  Either there is no mailbox associat
05422 >>>
05422 >>>- Transcript of session follows -
05422 >>> ... while talking to localhost:
05422 >>> >>> DATA
05422 >>> <<< 550-Mailbox unknown.  Either there is no mailbox associated with t
05422 >>> <<< 550-name or you do not have authorization to see it.
05422 >>> <<< 550 5.1.1 User unknown
05422 >>> 550 5.1.1 <[EMAIL PROTECTED]>... User unknown
05422 >>> <<< 503 5.5.1 No recipients
05422 >>>
05422 >>> --i1JHK3jk005422.1077211203/server.adomain.com
05422 >>> Content-Type: message/delivery-status
05422 >>>
05422 >>> Reporting-MTA: dns; server.adomain.com
05422 >>> Received-From-MTA: DNS; [68.248.99.56]
05422 >>> Arrival-Date: Thu, 19 Feb 2004 11:20:03 -0600
05422 >>>
05422 >>> Final-Recipient: RFC822; [EMAIL PROTECTED]
05422 >>> X-Actual-Recipient: RFC822; [EMAIL PROTECTED]
05422 >>> Action: failed
05422 >>> Status: 5.1.1
05422 >>> Diagnostic-Code: SMTP; 550-Mailbox unknown.  Either there is no mailbox
05422 >>> Last-Attempt-Date: Thu, 19 Feb 2004 11:20:03 -0600
Thanks,
Chris Paluch
-Original Message-
From: Christian Schulte <[EMAIL PROTECTED]>
Sent: Feb 19, 2004 10:54 AM
To: Christopher Paluch <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Fw: Re: Virtual domains, [EMAIL PROTECTED]: Mailbox unknown
Am Donnerstag, 19. Februar 2004 17:00 schrieb Christopher Paluch:

This is the output from the maillog:

Feb 19 09:22:54 ecnsrc01 sendmail[4856]: i1JFMsuJ004856:
to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00,
mailer=cyrusv2, pri=31408, relay=localhost [[UNIX: /var/imap/socket/lmtp]],
dsn=5.1.1, stat=User unknown Feb 19 09:22:54 ecnsrc01 sendmail[4856]:
i1JFMsuJ004856: i1JFMsuK004856: return to sender: User unknown
From this I assumed it was getting to Cyrus and he was rejecting it, but I
will try your suggestions and see what else I can find.  Thanks.


/etc/mail/mailertable:
test.com � � � �cyrusv2:/var/imap/socket/lmtp
Maybe you want to also put your servers name in there as 

Re: Fw: Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-19 Thread Christopher Paluch
It looks like from the output of the "sendmail -X", that the problem is sendmail is 
sending Cyrus, test.one as the mailbox, not [EMAIL PROTECTED]  I've modified the 
sendmail.cf file so it will send the full domain, but it doesn't seem to be doing 
that.  So am I reading this log incorrectly or is there something else I'm supposed to 
do to get the domain sent?

05420 <<< EHLO ecnmail.posnetservices.com
05420 >>> 250-server.adomain.com Hello [68.248.99.56], pleased to meet you
05420 >>> 250-ENHANCEDSTATUSCODES
05420 >>> 250-PIPELINING
05420 >>> 250-8BITMIME
05420 >>> 250-SIZE
05420 >>> 250-DSN
05420 >>> 250-ETRN
05420 >>> 250-AUTH DIGEST-MD5 CRAM-MD5
05420 >>> 250-DELIVERBY
05420 >>> 250 HELP
05420 <<< MAIL From:<[EMAIL PROTECTED]> SIZE=500
05420 >>> 250 2.1.0 <[EMAIL PROTECTED]>... Sender ok
05420 <<< RCPT To:<[EMAIL PROTECTED]>
05420 >>> 250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok
05420 <<< DATA
05420 >>> 354 Enter mail, end with "." on a line by itself
05420 <<< Received: from web40405.mail.yahoo.com (web40405.mail.yahoo.com [66.21
05420 <<<   by ecnmail.posnetservices.com (8.12.8/8.12.8) with SMTP id i1JHK
05420 <<<   for <[EMAIL PROTECTED]>; Thu, 19 Feb 2004 11:20:02 -0600
05420 <<< Message-ID: <[EMAIL PROTECTED]>
05420 <<< Received: from [68.248.99.41] by web40405.mail.yahoo.com via HTTP; Thu
05420 <<< Date: Thu, 19 Feb 2004 09:20:01 -0800 (PST)
05420 <<< From: <[EMAIL PROTECTED]>
05420 <<< Subject: Kill me now
05420 <<< To: [EMAIL PROTECTED]
05420 <<< MIME-Version: 1.0
05420 <<< Content-Type: text/plain; charset=us-ascii
05420 <<<
05420 <<< Kill me now.
05420 <<<
05420 <<< __
05420 <<< Do you Yahoo!?
05420 <<< Yahoo! Mail SpamGuard - Read only the mail you want.
05420 <<< http://antispam.yahoo.com/tools
05420 <<< .
05420 >>> 250 2.0.0 i1JHK3jk005420 Message accepted for delivery
05422 === CONNECT localhost
05420 <<< QUIT
05420 >>> 221 2.0.0 server.adomain.com closing connection
05422 <<< 220 server.adomain.com LMTP Cyrus v2.1.16 ready
05422 >>> LHLO server.adomain.com
05422 <<< 250-server.adomain.com
05422 <<< 250-8BITMIME
05422 <<< 250-ENHANCEDSTATUSCODES
05422 <<< 250-PIPELINING
05422 <<< 250-SIZE
05422 <<< 250-AUTH EXTERNAL
05422 <<< 250 IGNOREQUOTA
05422 >>> MAIL From:<[EMAIL PROTECTED]> SIZE=723
05422 <<< 250 2.1.0 ok
05422 >>> RCPT To:
05422 >>> DATA
05422 <<< 550-Mailbox unknown.  Either there is no mailbox associated with this
05422 <<< 550-name or you do not have authorization to see it.
05422 <<< 550 5.1.1 User unknown
05422 <<< 503 5.5.1 No recipients
05422 >>> RSET
05422 <<< 250 2.0.0 ok
05422 >>> This is a MIME-encapsulated message
05422 >>>
05422 >>> --i1JHK3jk005422.1077211203/server.adomain.com
05422 >>>
05422 >>> The original message was received at Thu, 19 Feb 2004 11:20:03 -0600
05422 >>> from [68.248.99.56]
05422 >>>
05422 >>>- The following addresses had permanent fatal errors -
05422 >>> <[EMAIL PROTECTED]>
05422 >>> (reason: 550-Mailbox unknown.  Either there is no mailbox associat
05422 >>>
05422 >>>- Transcript of session follows -
05422 >>> ... while talking to localhost:
05422 >>> >>> DATA
05422 >>> <<< 550-Mailbox unknown.  Either there is no mailbox associated with t
05422 >>> <<< 550-name or you do not have authorization to see it.
05422 >>> <<< 550 5.1.1 User unknown
05422 >>> 550 5.1.1 <[EMAIL PROTECTED]>... User unknown
05422 >>> <<< 503 5.5.1 No recipients
05422 >>>
05422 >>> --i1JHK3jk005422.1077211203/server.adomain.com
05422 >>> Content-Type: message/delivery-status
05422 >>>
05422 >>> Reporting-MTA: dns; server.adomain.com
05422 >>> Received-From-MTA: DNS; [68.248.99.56]
05422 >>> Arrival-Date: Thu, 19 Feb 2004 11:20:03 -0600
05422 >>>
05422 >>> Final-Recipient: RFC822; [EMAIL PROTECTED]
05422 >>> X-Actual-Recipient: RFC822; [EMAIL PROTECTED]
05422 >>> Action: failed
05422 >>> Status: 5.1.1
05422 >>> Diagnostic-Code: SMTP; 550-Mailbox unknown.  Either there is no mailbox
05422 >>> Last-Attempt-Date: Thu, 19 Feb 2004 11:20:03 -0600

Thanks,
Chris Paluch

-Original Message-
From: Christian Schulte <[EMAIL PROTECTED]>
Sent: Feb 19, 2004 10:54 AM
To: Christopher Paluch <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Fw: Re: Virtual domains, [EMAIL PROTECTED]: Mailbox unknown

Am Donnerstag, 19. Februar 2004 17:00 schrieb Christopher Paluch:
> This is the output from the maillog:
>
> Feb 19 09:22:54 ecnsrc01 sendmail[4856]: i1JFMsuJ004856:
> to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00,
> mailer=cyrusv2, pri=31408, relay=localhost [[UNIX: /var/imap/socket/lmtp]],
> dsn=5.1.1, stat=User unknown Feb 19 09:22:54 ecnsrc01 sendmail[4856]:
> i1JFMsuJ004856: i1JFMsuK004856: return to sender: User unknown
>
> From this I assumed it was getting to Cyrus and he was rejecting it, but I
> will try your suggestions and see what else I can find.  Thanks.

/etc/mail/mailertable:
test.com � � � �cyrusv2:/var/imap/socket/lmtp

Maybe you want to also put your servers name in there as w

cyradmin login failed

2004-02-19 Thread Luis Barrón




Hi!!

I intalled cyrus-imapd following the Luc's Howto, but I'm at the final part
of the doc where it says:

To use the cyradm CLI please take care that the tool does recognize standard
CLI- options like -u and similar. Please follow the syntax like descried
in the man page cyradm1 , like the followinf example:

#cyadm --user cyrus --server localhost --auth plain
Password:SASL2 password
IMAP password: here I give a password that I have just introduced

Then I received the following message:

Login failed: authentication failure at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Cyrus/IMAP/Admin.pm
line 118
cyradm: cannot authenticate to server with plain as cyrus

This is my imapd.conf
postmaster: postmaster
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus
allowanonymouslogin: no
allowplaintext: yes
sasl_mech_list: PLAIN
servername: linux.local
autocreatequota: 1
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: saslauthd
sievedir: /usr/sieve
sendmail: /usr/sbin/sendmail
sieve_maxscriptsize: 32
sieve_maxscripts: 5
#unixhierarchysep: yes

Please help me!!!
Does anyone have any idea?
Thank you

Luis.




Re: Fw: Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-19 Thread Christopher Paluch
Sorry for the confusion, the problem I'm trying to solve right now is to get mail 
delivered to [EMAIL PROTECTED]  That is the account that keeps on coming back with 
"user/Mailbox unknown".

-Original Message-
From: Christian Schulte <[EMAIL PROTECTED]>
Sent: Feb 19, 2004 10:54 AM
To: Christopher Paluch <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Fw: Re: Virtual domains, [EMAIL PROTECTED]: Mailbox unknown

Am Donnerstag, 19. Februar 2004 17:00 schrieb Christopher Paluch:
> This is the output from the maillog:
>
> Feb 19 09:22:54 ecnsrc01 sendmail[4856]: i1JFMsuJ004856:
> to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00,
> mailer=cyrusv2, pri=31408, relay=localhost [[UNIX: /var/imap/socket/lmtp]],
> dsn=5.1.1, stat=User unknown Feb 19 09:22:54 ecnsrc01 sendmail[4856]:
> i1JFMsuJ004856: i1JFMsuK004856: return to sender: User unknown
>
> From this I assumed it was getting to Cyrus and he was rejecting it, but I
> will try your suggestions and see what else I can find.  Thanks.

/etc/mail/mailertable:
test.com � � � �cyrusv2:/var/imap/socket/lmtp

Maybe you want to also put your servers name in there as well ? Like

ecnsrc01.rm.posnetservices.com  cyrusv2:/var/imap/socket/lmtp

After

"cm user/[EMAIL PROTECTED]"

root should be able to receive mail. Of course this depends on other things 
and is more a guess than a solution but may work. Do you also get "User 
unknown" for a mail delivery for [EMAIL PROTECTED] ? Does delivery in 
test.com domain work ?

--
Christian





---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Fw: Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-19 Thread Christian Schulte
Am Donnerstag, 19. Februar 2004 17:00 schrieb Christopher Paluch:
> This is the output from the maillog:
>
> Feb 19 09:22:54 ecnsrc01 sendmail[4856]: i1JFMsuJ004856:
> to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00,
> mailer=cyrusv2, pri=31408, relay=localhost [[UNIX: /var/imap/socket/lmtp]],
> dsn=5.1.1, stat=User unknown Feb 19 09:22:54 ecnsrc01 sendmail[4856]:
> i1JFMsuJ004856: i1JFMsuK004856: return to sender: User unknown
>
> From this I assumed it was getting to Cyrus and he was rejecting it, but I
> will try your suggestions and see what else I can find.  Thanks.

/etc/mail/mailertable:
test.com        cyrusv2:/var/imap/socket/lmtp

Maybe you want to also put your servers name in there as well ? Like

ecnsrc01.rm.posnetservices.com  cyrusv2:/var/imap/socket/lmtp

After

"cm user/[EMAIL PROTECTED]"

root should be able to receive mail. Of course this depends on other things 
and is more a guess than a solution but may work. Do you also get "User 
unknown" for a mail delivery for [EMAIL PROTECTED] ? Does delivery in 
test.com domain work ?

--
Christian


---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Fw: Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-19 Thread Christopher Paluch

This is the output from the maillog:

Feb 19 09:22:54 ecnsrc01 sendmail[4856]: i1JFMsuJ004856: to=<[EMAIL PROTECTED]>, 
delay=00:00:00, xdelay=00:00:00, mailer=cyrusv2, pri=31408, relay=localhost [[UNIX: 
/var/imap/socket/lmtp]], dsn=5.1.1, stat=User unknown
Feb 19 09:22:54 ecnsrc01 sendmail[4856]: i1JFMsuJ004856: i1JFMsuK004856: return
to sender: User unknown

>From this I assumed it was getting to Cyrus and he was rejecting it, but I will try 
>your suggestions and see what else I can find.  Thanks.

-Original Message-
From: Christian Schulte <[EMAIL PROTECTED]>
Sent: Feb 19, 2004 9:49 AM
To: Christopher Paluch <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Fw: Re: Virtual domains, [EMAIL PROTECTED]: Mailbox unknown

Am Donnerstag, 19. Februar 2004 16:09 schrieb Christopher Paluch:
> -Forwarded Message-
> From: Christopher Paluch <[EMAIL PROTECTED]>
> Sent: Feb 19, 2004 8:50 AM
> To: Mike O'Rourke <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: Re: Virtual domains, [EMAIL PROTECTED]: Mailbox unknown

[config]

>
> Again I ask, when I read "Configuring Virtual Domains" it says I don't have
> to specify multiple IP addresses.  Is that correct or do I have to do that
> to get this to work?
>
> Thanks,
>  Chris Paluch

Virtual domain support does not require multiple IP addresses. Does sendmail 
reach to lmtpd and thus is lmtpd rejecting with "User unknown" or is it 
sendmail not talking lmtp ? What do telemetry logs say for lmtpd ? What 
happens in the output of sendmail started with -X ?

man sendmail:

-X logfile
  Log all traffic in and out of mailers in the indicated log file.
  This  should  only be used as a last resort for debugging mailer
  bugs.  It will log a lot of data very quickly.

And from cyrus' overview.html:

 "log" Directory
   
   The subdirectory "log" under the configuration directory permits
   administrators to keep protocol telemetry logs on a per-user basis.
   
   If a subdirectory of "log" exists with the same name as a user, the
   IMAP and POP3 servers will keep a telemetry log of protocol sessions
   authenticating as that user. The telemetry log is stored in the
   subdirectory with a filename of the server process-id and starts with
   the first command following authentication.


--
Christian




---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Fw: Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-19 Thread Christian Schulte
Am Donnerstag, 19. Februar 2004 16:09 schrieb Christopher Paluch:
> -Forwarded Message-
> From: Christopher Paluch <[EMAIL PROTECTED]>
> Sent: Feb 19, 2004 8:50 AM
> To: Mike O'Rourke <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: Re: Virtual domains, [EMAIL PROTECTED]: Mailbox unknown

[config]

>
> Again I ask, when I read "Configuring Virtual Domains" it says I don't have
> to specify multiple IP addresses.  Is that correct or do I have to do that
> to get this to work?
>
> Thanks,
>  Chris Paluch

Virtual domain support does not require multiple IP addresses. Does sendmail 
reach to lmtpd and thus is lmtpd rejecting with "User unknown" or is it 
sendmail not talking lmtp ? What do telemetry logs say for lmtpd ? What 
happens in the output of sendmail started with -X ?

man sendmail:

-X logfile
  Log all traffic in and out of mailers in the indicated log file.
  This  should  only be used as a last resort for debugging mailer
  bugs.  It will log a lot of data very quickly.

And from cyrus' overview.html:

 "log" Directory
   
   The subdirectory "log" under the configuration directory permits
   administrators to keep protocol telemetry logs on a per-user basis.
   
   If a subdirectory of "log" exists with the same name as a user, the
   IMAP and POP3 servers will keep a telemetry log of protocol sessions
   authenticating as that user. The telemetry log is stored in the
   subdirectory with a filename of the server process-id and starts with
   the first command following authentication.


--
Christian

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Mailbox list in txt file

2004-02-19 Thread Bartosz Jozwiak
Yes that one worked!
Thank you very much.
One more question:

When I have already a file mailboxlist.txt, and let's say I want to recover
my mailboxes
how I apply that mailboxlist.txt back to new instalation of Cyrus?

Bartosz

- Original Message - 
From: "Oleksiy Shostak" <[EMAIL PROTECTED]>
To: "Bartosz Jozwiak" <[EMAIL PROTECTED]>
Cc: "Sebastian Hagedorn" <[EMAIL PROTECTED]>; "Cyrus-IMAP"
<[EMAIL PROTECTED]>
Sent: Thursday, February 19, 2004 9:52 AM
Subject: Re: Mailbox list in txt file


> I guess cyrus user have /bin/false shell so U should try
> sudo -u cyrus /usr/cyrus/bin/ctl_mboxlist -d
>
> Bartosz Jozwiak wrote:
>
> >This is what i get:
> >
> >bartek:/# su - cyrus
> >bartek:/# /usr/cyrus/bin/ctl_mboxlist -d
> >fatal error: must run as the Cyrus user
> >
> >
> >--On Donnerstag, 19. Februar 2004 8:38 Uhr -0300 Bartosz Jozwiak
> ><[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >>I have been trying to create a txt file with list of mailboxes:
> >>su - cyrus -c "/usr/cyrus/bin/ctl_mboxlist -d" > /cyrus/mailboxlist.txt
> >>
> >>What I only get is emply txt file :( why ?
> >>
> >>
> >
> >If I were you I'd do it in separate steps to find out:
> >
> >su - cyrus
> >/usr/cyrus/bin/ctl_mboxlist -d
> >
> >Does this return anything?
> >
> >Cheers, Sebastian Hagedorn
> >--
> >Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18
> >Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
> >Universität zu Köln / Cologne University - Tel. +49-221-478-5587
> >
> >---
> >Home Page: http://asg.web.cmu.edu/cyrus
> >Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> >List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
> >
> >
> >
>
>

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Piecemeal migration?

2004-02-19 Thread Shelley Waltz
I plan on migrating my cyrus-1.6.24/db3 mailboxes to
a cyrus-2.2.3(Simon Matter src rpm for Redhat).

Is there a way I can migrate user's mailboxes piecemeal rather than in one 
fell swoop?  Can I setup the accounts and create the mailboxes for each 
user and then move the users mail from the old server to the new?
If this is possible are there any caveats?

Shelley Waltz

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Fw: Re: Virtual domains, user@domain.com: Mailbox unknown

2004-02-19 Thread Christopher Paluch


-Forwarded Message-
From: Christopher Paluch <[EMAIL PROTECTED]>
Sent: Feb 19, 2004 8:50 AM
To: Mike O'Rourke <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Virtual domains, [EMAIL PROTECTED]: Mailbox unknown

First let me thank everyone for their help so far and I apologize if some of this is 
really "sendmail" issues and not a pure "cyrus" issue.  

I have basically given up the idea of trying to keeping local mail delivery via 
procmail and I hopefully have eliminated it, since I can't send mail to root anymore 
(User unknown) nor send email to another Linux server via the mail command (data 
format error).  I will look into those after I solve this one.

This is what's happening now:

Server name:  server.adomain.com

I have created a mailbox via the command:  cm user/[EMAIL PROTECTED]

/etc/cyrus.conf has changed from default setup, which was listed in a previous email.

/etc/imapd.conf:
configdirectory:/var/imap
partition-default:  /var/spool/imap
admins: cyrus root
srvtab: /var/imap/srvtab
allowanonymouslogin:no
sasl_passwd_check:  saslauthd
unixhierarchysep:   yes
sendmail:   /usr/sbin/sendmail
sievedir:   /usr/sieve
sieveusehomedir:no
postuser:   shared
altnamespace:   yes
virtdomains:yes
defaultdomain:   future .com
loginrealms:future.com test.com

/etc/mail/local-host-names:
localhost
server.adomain.com
adomain.com

/etc/mail/virtusertable is empty

/etc/mail/mailertable:
test.comcyrusv2:/var/imap/socket/lmtp

/etc/mail/sendmail.mc:
divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
define(`confDEF_USER_ID',``8:12'')dnl
define(`confTRUSTED_USER', `smmsp')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
dnl define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`UUCP_MAILER_MAX', `200')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`confTO_IDENT', `0')dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
dnl FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db',`hash -T -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
FEATURE(`accept_unresolvable_domains')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(smtp)dnl
dnl MAILER(procmail)dnl
MAILER(cyrusv2)dnl
define(`confLOCAL_MAILER', `cyrusv2')dnl

PUSHDIVERT(-1)
_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: cyrusv2.m4,v 1.1 2002/06/01 21:14:57 ca Exp $')

Mcyrusv2,   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



After all this I still get "User unknown", when I send mail to [EMAIL PROTECTED]

Again I ask, when I read "Configuring Virtual Domains" it says I don't have to specify 
multiple IP addresses.  Is that correct or do I have to do that to get this to work?

Thanks,
 Chris Paluch




---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Mailbox list in txt file

2004-02-19 Thread Oleksiy Shostak
I guess cyrus user have /bin/false shell so U should try
sudo -u cyrus /usr/cyrus/bin/ctl_mboxlist -d
Bartosz Jozwiak wrote:

This is what i get:

bartek:/# su - cyrus
bartek:/# /usr/cyrus/bin/ctl_mboxlist -d
fatal error: must run as the Cyrus user
--On Donnerstag, 19. Februar 2004 8:38 Uhr -0300 Bartosz Jozwiak
<[EMAIL PROTECTED]> wrote:
 

I have been trying to create a txt file with list of mailboxes:
su - cyrus -c "/usr/cyrus/bin/ctl_mboxlist -d" > /cyrus/mailboxlist.txt
What I only get is emply txt file :( why ?
   

If I were you I'd do it in separate steps to find out:

su - cyrus
/usr/cyrus/bin/ctl_mboxlist -d
Does this return anything?

Cheers, Sebastian Hagedorn
--
Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Mailbox list in txt file

2004-02-19 Thread Bartosz Jozwiak
Yes, I think I am still root after su cyrus
:(

- Original Message - 
From: "Sebastian Hagedorn" <[EMAIL PROTECTED]>
To: "Bartosz Jozwiak" <[EMAIL PROTECTED]>
Cc: "Cyrus-IMAP" <[EMAIL PROTECTED]>
Sent: Thursday, February 19, 2004 9:42 AM
Subject: Re: Mailbox list in txt file



---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Mailbox list in txt file

2004-02-19 Thread Pascal Gienger
Zitat von Bartosz Jozwiak <[EMAIL PROTECTED]>:

> This is what i get:
> 
> bartek:/# su - cyrus
> bartek:/# /usr/cyrus/bin/ctl_mboxlist -d
> fatal error: must run as the Cyrus user

Your "cyrus" user account does not have a valid shell or home directory.
Check this.

Pascal Gienger
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Mailbox list in txt file

2004-02-19 Thread Sebastian Hagedorn
--On Donnerstag, 19. Februar 2004 9:27 Uhr -0300 Bartosz Jozwiak 
<[EMAIL PROTECTED]> wrote:

This is what i get:

bartek:/# su - cyrus
bartek:/# /usr/cyrus/bin/ctl_mboxlist -d
fatal error: must run as the Cyrus user
You're still root after the su. Maybe the shell for cyrus isn't set 
correctly?

Cheers, Sebastian Hagedorn
--
Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587

pgp0.pgp
Description: PGP signature


Re: Mailbox list in txt file

2004-02-19 Thread Bartosz Jozwiak
This is what i get:

bartek:/# su - cyrus
bartek:/# /usr/cyrus/bin/ctl_mboxlist -d
fatal error: must run as the Cyrus user


--On Donnerstag, 19. Februar 2004 8:38 Uhr -0300 Bartosz Jozwiak
<[EMAIL PROTECTED]> wrote:

> I have been trying to create a txt file with list of mailboxes:
> su - cyrus -c "/usr/cyrus/bin/ctl_mboxlist -d" > /cyrus/mailboxlist.txt
>
> What I only get is emply txt file :( why ?

If I were you I'd do it in separate steps to find out:

su - cyrus
/usr/cyrus/bin/ctl_mboxlist -d

Does this return anything?

Cheers, Sebastian Hagedorn
--
Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Mailbox list in txt file

2004-02-19 Thread Sebastian Hagedorn
--On Donnerstag, 19. Februar 2004 8:38 Uhr -0300 Bartosz Jozwiak 
<[EMAIL PROTECTED]> wrote:

I have been trying to create a txt file with list of mailboxes:
su - cyrus -c "/usr/cyrus/bin/ctl_mboxlist -d" > /cyrus/mailboxlist.txt
What I only get is emply txt file :( why ?
If I were you I'd do it in separate steps to find out:

su - cyrus
/usr/cyrus/bin/ctl_mboxlist -d
Does this return anything?

Cheers, Sebastian Hagedorn
--
Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587

pgp0.pgp
Description: PGP signature


Mailbox list in txt file

2004-02-19 Thread Bartosz Jozwiak
Hello,

I have been trying to create a txt file with list of mailboxes:
su - cyrus -c "/usr/cyrus/bin/ctl_mboxlist -d" > /cyrus/mailboxlist.txt

What I only get is emply txt file :( why ?

Bart

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html