Dustin Puryear wrote:
>
> I would like user names to be in the form of [EMAIL PROTECTED], but I
> found that cyradm rejects the '.'. Instead, I am using
> dpuryear~hostname~tld. Is this just plain impossible?
Grab Cyrus v2.1.0 or the latest code from CVS.
Ken
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of prune
> > Sent: Tuesday, December 18, 2001 4:20 PM
> > To: Dustin Puryear
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Virtual domains and Postfix..
> >
> >
> > Hi,
> >
> > this will not solve your problem, but if you're working on a new mail
> > system, why don't you use the latest cyrus server, and use LMTP to pass
> > mails from postfix to cyrus ?
> >
> > for your problem... is the output of "lm" in cyradm different between
> > cyrus 1.x and 2.X ???
> > when I do a "lm", I have something like :
> >
> > user.foo
> > user.foo.Trash
> > ...
> > ...
> >
> > are you sure you mailboxes are well created ?
> >
> > Cheers,
> >
> > Prune
> >
> > Dustin Puryear wrote:
> >
> > >I looked in the archives, but couldn't find my exact problem. If it's in
> > >there, please let me know. (Also, the list archives doesn't seem to allow
> > >browsers to follow threads easily. Just a note.) A quick
> > summary: my problem
> > >is that Cyrus/Postfix keeps telling me a mailbox doesn't exist
> > when I test
> > >an account on a system configured for virtual domains. More
> > details follow.
> > >
> > >First, following are the versions of the software that I am using:
> > >
> > >cyrus-1.6.24_2 The cyrus mail server, supporting POP3,
> > KPOP, and IMAP4
> > >pro
> > >cyrus-sasl-1.5.24_7 RFC 2222 SASL (Simple Authentication and
> > Security Layer)
> > >db3-3.2.9_2,1 The Berkeley DB package, revision 3
> > >pcre-3.4 Perl Compatible Regular Expressions library
> > >postfix-20010228.3_2 Alternative Mail Transfer Agent (MTA)
> > >
> > >This was installed from the ports tree on FreeBSD 4.4-RELEASE.
> > >
> > >I have Postfix configured for virtual domains, and the test before I
> > >installed Cyrus was successful. I then installed Cyrus and
> > changed Postfix's
> > >main.cf to:
> > >
> > >mailbox_transport = cyrus
> > >
> > >I then restarted Postfix:
> > >
> > ># postfix reload
> > >
> > >Next, I created a mailbox named user.dpuryear:
> > >
> > >mail# cyradm -u mailadmin mail
> > >Please enter your password:
> > >mail.actioncore.com> Dec 18 15:03:10 mail imapd[60477]: login:
> > >mail.actioncore.com[10.0.0.5] mailadmin CRAM-MD5 User logged in
> > >lm
> > >[EMAIL PROTECTED] root
> > >dpuryear~lenderhost~com user.dpuryear
> > >
> > >Next, I update the virtual table:
> > >
> > ># postmap virtual
> > >
> > >I then set the password using saslpasswd, but that shouldn't be necessary
> > >just to send mail to the mailbox, correct? Ok, so I try a test message:
> > >
> > >mail# mail [EMAIL PROTECTED]
> > >Subject: hi
> > >.
> > >EOT
> > >Null message body; hope that's ok
> > >
> > >mail# tail /var/log/maillog
> > >Dec 18 15:06:10 mail postfix/pickup[60394]: 8D11E60E03: uid=0 from=<root>
> > >Dec 18 15:06:10 mail postfix/cleanup[60496]: 8D11E60E03:
> > >message-id=<[EMAIL PROTECTED]>
> > >Dec 18 15:06:10 mail postfix/qmgr[60416]: 8D11E60E03:
> > >from=<[EMAIL PROTECTED]>, size=305, nrcpt=1 (queue active)
> > >Dec 18 15:06:10 mail postfix/pipe[60499]: 8D11E60E03:
> > >to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=bounced
> > >(user unknown. Command output: user.dpuryear: Mailbox does not exist _ )
> > >Dec 18 15:06:10 mail postfix/cleanup[60496]: C0D7A60E04:
> > >message-id=<[EMAIL PROTECTED]>
> > >Dec 18 15:06:10 mail postfix/qmgr[60416]: C0D7A60E04: from=<>, size=2015,
> > >nrcpt=1 (queue active)
> > >Dec 18 15:06:11 mail postfix/pipe[60499]: C0D7A60E04:
> > >to=<[EMAIL PROTECTED]>, relay=cyrus, delay=1, status=bounced (user
> > >unknown. Command output: root: Mailbox does not exist _ )
> > >
> > >I am confused. What is going on? Shouldn't that mail be going to
> > >user.dpuryear mailbox? And what about root? Any help is appreciated. I'm
> > >sure it's something silly. Anyway, following is my Postfix config if that
> > >helps:
> > >
> > >mail# grep -v # main.cf
> > >
> > >queue_directory = /var/spool/postfix
> > >command_directory = /usr/local/sbin
> > >daemon_directory = /usr/local/libexec/postfix
> > >
> > >mail_owner = postfix
> > >
> > >myhostname = mail.actioncore.com
> > >mydomain = actioncore.com
> > >
> > >myorigin = $mydomain
> > >
> > >mydestination = $myhostname localhost.$mydomain $mydomain
> > >
> > >inet_interfaces = all
> > >
> > >notify_classes = resource, software
> > >
> > >initial_destination_concurrency_limit = 5
> > >default_destination_concurrency_limit = 15
> > >
> > >relay_domains = hash:/usr/local/etc/postfix/relay_domains
> > >
> > >mailbox_transport = cyrus
> > >virtual_maps = hash:/usr/local/etc/postfix/virtual
> > >
> > >Regards, Dustin
> > >
> > >---
> > >Dustin Puryear <[EMAIL PROTECTED]>
> > >Information Systems Consultant
> > >http://members.telocity.com/~dpuryear
> > >In the beginning the Universe was created.
> > >This has been widely regarded as a bad move. - Douglas Adams
> > >
> > >
> >
> >
> >
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp