RE: Need help with mailbox error.

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

 



Thank you, it works!

I thought I had tried that but, I guess not.


List: Sorry about the double send. I'm not getting along with my e-mail
right now.

Regards
Tobias

-----Original Message-----
From: Alain Spineux [mailto:aspineux@xxxxxxxxx] 
Sent: den 15 maj 2008 12:13
To: Tobias Gustavsson
Cc: info-cyrus@xxxxxxxxxxxxxxxxxxxx
Subject: Re: Need help with mailbox error.

On Thu, May 15, 2008 at 11:32 AM, Tobias Gustavsson
<Tobias.Gustavsson@xxxxxxxxxxxx> wrote:
> Hi everybody.
>
> I am hoping someone can help me with a problem I have with Postfix
> (v2.3.3) and Cyrus (v2.3.7-Invoca-RPM-2.3.7-1.1.el5) running on
RHEL5.1.
> We are trying to migrate from a Debian Sarge system to the RHEL5.1
> server.
>
> There seems to be a problem when cyrus/lmtpunix gets a mail and tries
to
> save it to a mailbox. I get the following error in maillog:
> May 15 10:49:05 mail1 lmtpunix[25257]: verify_user(user.username)
> failed: Mailbox does not exist.
> I will include a longer paste further down.
>
> I have created the mailbox with cyradm.
> [root@mail1]# cyradm localhost
> IMAP Password:
> localhost.localdomain> lm
> username (\HasNoChildren)
> root (\HasNoChildren)
> user^username (\HasNoChildren)
> user^root (\HasNoChildren)
> userusername (\HasNoChildren)
> userroot (\HasNoChildren)
> localhost.localdomain>

You have

unixhierarchysep: yes

then the name of a mailbox in cyradm should be "user/username"

Try to create the mailbox using command

> cm user/username

Regards



>
>
> I am probably missing something obvious but I can't for the life of me
> understand what.
> We are using multiple domains in postfix which seems to work fine as
the
> correct username is forwarded to the lmtpunix daemon.
>
> /var/log/maillog
> May 15 10:48:56 mail1 postfix/smtpd[25246]: connect from
> localhost.localdomain[127.0.0.1]
> May 15 10:48:56 mail1 postfix/smtpd[25246]: lost connection after
> CONNECT from localhost.localdomain[127.0.0.1]
> May 15 10:48:56 mail1 postfix/smtpd[25246]: disconnect from
> localhost.localdomain[127.0.0.1]
> May 15 10:49:05 mail1 postfix/smtpd[25246]: connect from
> localhost.localdomain[127.0.0.1]
> May 15 10:49:05 mail1 postfix/smtpd[25246]: C5EC750083:
> client=localhost.localdomain[127.0.0.1]
> May 15 10:49:05 mail1 postfix/cleanup[25266]: C5EC750083:
> message-id=<20080515084905.C5EC750083@xxxxxxxxxxxx>
> May 15 10:49:05 mail1 postfix/qmgr[25226]: C5EC750083:
> from=<user@xxxxxxxxxx>, size=379, nrcpt=1 (queue active)
> May 15 10:49:05 mail1 postfix/smtpd[25246]: disconnect from
> localhost.localdomain[127.0.0.1]
> May 15 10:49:05 mail1 lmtpunix[25257]: accepted connection
> May 15 10:49:05 mail1 lmtpunix[25257]: lmtp connection preauth'd as
> postman
> May 15 10:49:05 mail1 lmtpunix[25257]: verify_user(user.username)
> failed: Mailbox does not exist
> May 15 10:49:05 mail1 master[25268]: about to exec
> /usr/lib/cyrus-imapd/lmtpd
> May 15 10:49:05 mail1 lmtpunix[25268]: executed
> May 15 10:49:05 mail1 postfix/lmtp[25267]: C5EC750083:
> to=<username@xxxxxxxxxxxx >, orig_to=<username@domain1>,
> relay=mail.domain1[/var/lib/imap/socket/lmtp], delay=0.12,
> delays=0.05/0.02/0/0.04, dsn=5.1.1, status=bounced (host
> mail.domain[/var/lib/imap/socket/lmtp] said: 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 (in reply to RCPT
> TO command))
> May 15 10:49:05 mail1 postfix/cleanup[25266]: DD51250086:
> message-id=<20080515084905.DD51250086@xxxxxxxxxxxx>
> May 15 10:49:05 mail1 postfix/qmgr[25226]: DD51250086: from=<>,
> size=2557, nrcpt=1 (queue active)
> May 15 10:49:05 mail1 postfix/bounce[25269]: C5EC750083: sender
> non-delivery notification: DD51250086
> May 15 10:49:05 mail1 postfix/qmgr[25226]: C5EC750083: removed
>
> /etc/postfix/main.cf
> smtpd_banner = $myhostname ESMTP $mail_name (Linux)
> biff = no
> append_dot_mydomain = no
> myhostname = mail.domain1
> relayhost =
> mynetworks = /etc/postfix/mynetworks
> mailbox_size_limit = 0
> recipient_delimiter = +
> inet_interfaces = all
> show_user_unknown_table_name = no
> mydestination = hash:/etc/postfix/mydestination_domains
> local_recipient_maps = proxy:unix:passwd.byname,
> hash:/etc/postfix/virtusertable
> virtual_maps = hash:/etc/postfix/virtusertable, hash:/etc/aliases
> local_transport = lmtp:unix:/var/lib/imap/socket/lmtp
> strict_rfc821_envelopes=yes
> header_checks = regexp:/etc/postfix/header_checks
> smtpd_sender_restrictions =
>        permit_mynetworks,
>        reject_non_fqdn_sender,
>        reject_unknown_sender_domain
> lmtp_destination_concurrency_limit = 150
> message_size_limit = 52428800
>
> /etc/cyrus.conf
> START {
>  recover       cmd="ctl_cyrusdb -r"
>  idled         cmd="idled"
> }
> SERVICES {
>  imap          cmd="imapd" listen="imap" prefork=5
>  pop3          cmd="pop3d" listen="pop3" prefork=3
>  sieve         cmd="timsieved" listen="sieve" prefork=0
>  lmtpunix      cmd="lmtpd" listen="/var/lib/imap/socket/lmtp"
prefork=1
> }
> EVENTS {
>  checkpoint    cmd="ctl_cyrusdb -c" period=30
>  delprune      cmd="cyr_expire -E 3" at=0400
>  tlsprune      cmd="tls_prune" at=0400
> }
>
> /etc/imapd.conf
> configdirectory: /var/lib/imap
> defaultpartition: default
> partition-default: /var/spool/imap
> altnamespace: yes
> unixhierarchysep: yes
> lmtp_downcase_rcpt: yes
> admins: cyrus postfix root
> lmtp_admins: postman
> allowanonymouslogin: no
> popminpoll: 0
> umask: 077
> sendmail: /usr/sbin/sendmail
> sieveusehomedir: false
> sievedir: /var/spool/sieve
> hashimapspool: true
> allowplaintext: yes
> sasl_mech_list: PLAIN
> allowapop: no
> sasl_minimum_layer: 0
> sasl_pwcheck_method: saslauthd
> sasl_auto_transition: no
> tls_session_timeout: 1440
> tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH
>
> Thanks in advance for any help.
>
> Regards
> Tobias
> ----
> 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
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you
----
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