lmtp rejecting mails for valid mailboxes
Daniel Eckl
deckl at nero.com
Tue Oct 10 10:50:25 EDT 2006
Hi!
I don't seem to see lmtp here at all.
Your MTA seems to reject these mails on SMTP layer.
Most probably your MTA can not know which mailboxes cyrus has and that's
why it rejects all mails, because local users are no system user, but by
using cyrus, they are pure virtual. So the mails don't hit lmtp delivery
to cyrus at all.
You should use local_recipient_maps for all users which are in cyrus.
These maps can reside in a file or in a mysql or in an ldap server and
the program which creates new accounts could update this table
automatically. In my case, this is webcyradm who does this for me in mysql.
http://www.postfix.org/LOCAL_RECIPIENT_README.html
Best,
Daniel
On 10.10.2006 16:01, Ramprasad wrote:
> I just configured my cyrus server to accept mails directly from my
> remote postfix server over lmtp
>
> Everything seems to work fine but sometimes lmtp gives strange errors
> like
>
> to=<X>, orig_to=<X>, relay=202.162.229.40[202.162.229.40]:24,
> delay=0.26, delays=0.25/0/0/0.01, dsn=5.1.1, status=bounced (host
> 202.162.229.40[202.162.229.40] 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))
>
>
> When actually the mailbox is valid. The same mail sent again reaches
> the mailbox without problems.
>
> What could be the reason. The cyrus server is highly loaded most of
> the time could that be a reason.
>
> Anyway I dont want lmtp failures to bounce the mail , can I send a 450
> instead of 550. Because I am already ensuring the mailbox exists before
> accepting the mail.
> How do I configure this on postfix or lmtp ?
>
>
> Thanks
> Ram
>
>
>
>
>
> ----
> 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
More information about the Info-cyrus
mailing list