Hi,
I am trying to set up my own mail server (to get off Google) and I have a problem with mail delivery. I'm using Postfix as a SMTP front-end, and use the LMTP server included in dovecot to receive mail from postfix.
I have a setup which works with the dovecot LDA, it involves calling dovecot-lda with the -d flag. Postfix computes the username by removing what's after the recipient_delimiter and the domain from the mail address, and gives this username to dovecot.
But, I'd prefer using LMTP, as it is possible to reject unknown e-mails without having to duplicate the user database (it is explained here: http://wiki2.dovecot.org/LDA/Postfix )
I set up LMTP so that postfix uses the socket provided by dovecot, and it works. Only I get the following error message in the logs:
Feb 10 18:05:53 ashley postfix/smtpd[9298]: NOQUEUE: reject: RCPT from mail-wi0-f179.google.com[209.85.212.179]: 450 4.1.1 mildred@mildred.fr: Recipient address rejected: unverified address: host mail.mildred.fr[private/dovecot-lmtp] said: 550 5.1.1 mildred@mildred.fr User doesn't exist: mildred@mildred.fr(in reply to RCPT TO command); from=< shanti@sogilis.com> to=mildred@mildred.fr proto=ESMTP helo=< mail-wi0-f179.google.com> Feb 10 18:06:52 ashley postfix/smtpd[9298]: NOQUEUE: reject: RCPT from mail-wi0-f179.google.com[209.85.212.179]: 450 4.1.1 mildred-test@mildred.fr: Recipient address rejected: unverified address: host mail.mildred.fr[private/dovecot-lmtp] said: 550 5.1.1 mildred-test@mildred.fr User doesn't exist: mildred-test@mildred.fr (in reply to RCPT TO command); from=< shanti@sogilis.com> to=mildred-test@mildred.fr proto=ESMTP helo=< mail-wi0-f179.google.com>
I followed the explanations here: http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP
The problem is that my passwd-like file only contains a user named "mildred". I tried to add a user mildred@mildred.fr and mildred%mildred.frbut it doesn't work either.
Do you know how I could tell dovecot to guess the username correctly ?
Thanks,
Mildred
-- Mildred Ki'Lya http://mildred.fr