LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-17-2007, 10:52 PM   #1
gnirtS
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian (usually testing)
Posts: 26

Rep: Reputation: 15
(lenny) postfix + maildrop -- cant set correct maildir


Using the latest versions of the above packages.

postfix is setup and works using mysql. SMTPD works using authdaemond for authentication so that bit is fine.

My postfix master.cf has:

maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d {$recipient}

enabled.

Package courier-maildrop is installed.

Firstly using postfix internal delivery (virtual_transport=virtual) it works perfectly and mail goes to the correct user.
Also using maildrop -V 7 -d me@test.testdomain.co.uk results in correct recognition and filtering to the virtual users mail box so i assume the maildroprc file is fine.

The problem is when i try to get postfix to deliver via maildrop by setting virtual_transport = maildrop.

Suddenly now i get errors.

In /var/log/mail/log i have
Quote:
Dec 18 05:27:07 me postfix/pipe[703]: 84E0B11411D: to=<me@test.testdomain.co.uk>, relay=maildrop, delay=0.3, delays=0.16/0/0/0.14, dsn=5.1.1, status=bounced (user unknown. Command output: Invalid user specified. )
When i try to send a mail to that user.

Any idea what's wrong or broken here? Im a bit stuck given postfix works with its internal delivery, maildrop works with authtest and direct commend line but invalid user when combined with postfix to receive.

Last edited by gnirtS; 12-17-2007 at 11:35 PM.
 
Old 12-18-2007, 08:49 AM   #2
gnirtS
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian (usually testing)
Posts: 26

Original Poster
Rep: Reputation: 15
Bad form to reply to own post but a little more information now.

This problem seems to be entirely how postfix is calling Maildrop.

Maildrop command line runs fine and puts mails in the proper directory.

However with the following in my postfix/master.cf:

Quote:
maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
it tries to put all the mail in /home/vmail/.Mairdir

Somehow postfix isnt sending or maildrop isn't receiving the correct path for the users mail directory.

Any ideas at all why this is?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix maildrop warning gabsik Linux - Software 2 09-24-2006 10:58 AM
postfix and maildrop problem eduac Linux - Software 4 07-15-2006 02:01 AM
Postfix, Maildrop help Dasha Linux - General 3 03-08-2005 04:22 PM
installing maildrop after postfix with mysql kubicon Linux - Networking 0 02-18-2004 07:45 AM
sending mail to maildir -- maildrop kubicon Linux - Networking 4 02-06-2004 07:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration