DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th May 2008
cbrace cbrace is offline
Real Name: Colin Brace
New User
 
Join Date: May 2008
Location: Amsterdam
Posts: 2
Thanked 0 Times in 0 Posts
Default postfix + dovecot LDA: bounce, user unknown

Greetings fellow former BSDF denizens,

I recently set up Dovecot to work in conjunction with Postfix as a IMAP(s) server on my FreeBSD 7 box. It works fine.

Now, I would like to configure Dovecot as the LDA, so as to be able to use the sieve plugin for sorting mail on the server, but whenever I activate Dovecot LDA in Postfix's main.cf and send myself a test messsage, I get an error message in maillog:
Code:
May 8 20:47:17 venus postfix/pipe[36077]: 4022B5C38: to=<cb@lim.nl>, orig_to=<colin@lim.nl>, relay=dovecot, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (user unknown)
Postfix's virtual LDA has no such problem:
Code:
May 8 20:49:39 venus postfix/virtual[36181]: F3DF05C37: to=<cb@lim.nl>, relay=virtual, delay=0.05, delays=0.03/0/0/0.01, dsn=2.0.0, status=sent (delivered to maildir) 
May 8 20:49:39 venus postfix/qmgr[36091]: F3DF05C37: removed
Here is the LDA section in dovecot.conf
Code:
postmaster_address = postmaster@lim.nl
mail_plugin_dir = /usr/local/lib/dovecot/lda 
mail_plugins = cmusieve log_path = /var/log/dovecot-deliver 
info_log_path = /var/log/dovecot-deliver 
auth_socket_path = /var/run/dovecot/auth-master }
My maildirs are here:

mail_location = maildir:/home/colin/vmail/%u

and Dovecot IMAP has no problem retrieving messages from that location. What could be going wrong with Dovecot's delivery?

Thanks, and have a nice day.
Reply With Quote
  #2   (View Single Post)  
Old 9th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,051
Thanked 198 Times in 156 Posts
Default

I suspect you enabled the dovecot LDA through master.cf (?)

The option mailbox_command in main.cf should work better:
Code:
mailbox_command = /usr/local/libexec/dovecot/deliver
Not sure if this is the reason thing don't work, but you could try it...

Also note that you should separate tags with commas (,) not with spaces (You created one very long tag instead of several separate) ...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Reply

Tags
dovecot, lda, postfix, sieve

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix, Dovecot, spamassassin, mysql and maildrop hamba Guides 3 20th May 2010 06:40 PM
Maildir with Postfix/Dovecot/procmail/mutt bsdperson FreeBSD Ports and Packages 3 8th July 2009 07:05 PM
root: unknown user roddierod FreeBSD General 9 28th April 2009 10:18 PM
Problem with lid switch Inspiron 1300 sysctl: unknown oid 'hw.acpi.video.lcd0.active' pax FreeBSD General 2 6th August 2008 11:49 AM
[DOVECOT] How to choose the ports? Sunsawe FreeBSD Ports and Packages 2 7th July 2008 02:41 PM


All times are GMT. The time now is 09:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick