LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-07-2004, 07:51 AM   #1
Dasha
LQ Newbie
 
Registered: Apr 2004
Distribution: Redhat 9.0
Posts: 19

Rep: Reputation: 0
Postfix, Maildrop help


Hi,

Can anyone help me here?? Bin at this for days!!! So far have everything working cept, cant get maildrop to deliver to /Maildir. I have installed maildrop with the alteration to config.h to make sure it uses Maildir format. But when I recieve a message it sits in the que with this messaga :
temporary failure. Command output: sh: Line 1: USER:
command not found /usr/local/bin/maildrop: unable to create log file
(taken from webmin)

All the files seem to be in the right place and I can send emails no probs. Can anyone suggest where I can start looking to fix this?

Postfix main.cf
mailbox_command = /usr/local/bin/maildrop -d $(USER)
home_mailbox = Maildir/

Much appreciated. Thanx.
Dasha
 
Old 09-07-2004, 07:57 PM   #2
Dasha
LQ Newbie
 
Registered: Apr 2004
Distribution: Redhat 9.0
Posts: 19

Original Poster
Rep: Reputation: 0
Hi yus,
Fixed this problem by editing the maildroprc file. However, now have another problem........ "unable to open mailbox" error. There seem to be a few post on this in google.....but no solution. Can anyone help me here??
Ta.
Dasha
 
Old 09-08-2004, 12:43 AM   #3
Dasha
LQ Newbie
 
Registered: Apr 2004
Distribution: Redhat 9.0
Posts: 19

Original Poster
Rep: Reputation: 0
Hee hee........fixed it. Can't explain y it worx....just that it does!!
Deleted the maildroprc file from /etc and all worx! I thought this file was required for maildrop to work?? Can anyone explain??
 
Old 03-08-2005, 04:22 PM   #4
Ateo
Member
 
Registered: Sep 2004
Location: Long Beach, CA
Distribution: FreeBSD,Ubuntu,Gentoo,MacOS
Posts: 139

Rep: Reputation: 15
Digging up an old thread during a search....

The reason why it works is because maildrop first checks to see if maildroprc exists.. if it doesn't, it then checks if ~/.mailfilter exists.. If neither exists, it delivers the mail without any checking.

So, if you're not going to use maildrop for anything special, might as well not have mail piped to maildrop but that's up to you. Just an extra (and useless) process that your message goes through. You can set (in main.cf) home_mailbox = XXXX to whatever you want however, you'll need to recompile postfix with mbox support rather than maildir support.

Either way, it seems to work no?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Forwarding in postfix/maildrop/redhat (like yahoo mail forwarding) topcat Linux - Software 1 08-31-2007 12:10 PM
problem with maildrop I think jrafalek Linux - Software 1 03-08-2005 03:40 PM
Maildrop is giving me a headache LiquidKernel Linux - Software 2 09-15-2004 07:53 AM
installing maildrop after postfix with mysql kubicon Linux - Networking 0 02-18-2004 07:45 AM
Using maildrop with Courier MTA LiquidKernel Linux - Software 3 08-05-2003 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:36 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration