Skip to contentSkip to conversation

Maildrop doesn't filter or log filters

DISCUSSION [email protected] 3 participants 5 messages May 1, 2003 – May 3, 2003

lore
Share & tools
lore
#0 lore raw

On 26.04.2003 09:19:10, Chris Rose wrote:

CR> Here's how i have things: I'm using postfix as a local MTA, and it's CR> calling maildrop with
CR> mailbox_command = /usr/bin/maildrop
CR>
CR> I have only one user that receives mail on my system, and that user CR> account has/d a ~/.mailfilter file. The problem is, whenever that file CR> exists, no mail whatsoever makes it into my Maildir. I've tested this - CR> i send a message to myself, and i receive nothing as long as there's a CR> mailfilter file existing. As soon as i rename it, i'm fine. CR>

What are the permissions on the .mailfilter file, they must be 0600. I had problems like this and this caused problems similar

Sean

--
I Didn't Climb to the Top of the Food Chain to Be a Vegetarian. -
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 14 lines · [email protected] wrote:
Quoted 11 lines · Chris Rose

Here's how i have things: I'm using postfix as a local MTA, and it's calling maildrop with
mailbox_command = /usr/bin/maildrop

I have only one user that receives mail on my system, and that user account has/d a ~/.mailfilter file. The problem is, whenever that file exists, no mail whatsoever makes it into my Maildir. I've tested this - i send a message to myself, and i receive nothing as long as there's a mailfilter file existing. As soon as i rename it, i'm fine.

Quoted 2 lines

What are the permissions on the .mailfilter file, they must be 0600. I had problems like this and this caused problems similar

Look in your mail logs / syslogs. Postfix / Maildrop is usualy pretty good about telling you what the problem is.

Regards

James Turnbull

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
Quoted 15 lines · James Turnbull
Quoted 14 lines · [email protected] wrote:
Quoted 11 lines · Chris Rose

Here's how i have things: I'm using postfix as a local MTA, and it's calling maildrop with
mailbox_command = /usr/bin/maildrop

I have only one user that receives mail on my system, and that user account has/d a ~/.mailfilter file. The problem is, whenever that file exists, no mail whatsoever makes it into my Maildir. I've tested this - i send a message to myself, and i receive nothing as long as there's a mailfilter file existing. As soon as i rename it, i'm fine.

Quoted 6 lines
Quoted 2 lines

What are the permissions on the .mailfilter file, they must be 0600. I had problems like this and this caused problems similar

Look in your mail logs / syslogs. Postfix / Maildrop is usualy pretty good about telling you what the problem is.

I cannot comment about Postfix as I never used it but Maildrop will not write to a log file if there is a permissions problem.

Sean
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#3 lore raw

Speaking from experience (sorry, should have posted my found fix on this a while ago), maildrop may not log that itself, but in the /var/log/maillog file you can find its output to stderr that indicated a permissions problem. Once i found this, all of it fell into place.

Quoted 28 lines · [email protected] wrote:
Quoted 17 lines · James Turnbull
Quoted 15 lines · [email protected] wrote:
Quoted 11 lines · Chris Rose

Here's how i have things: I'm using postfix as a local MTA, and it's calling maildrop with
mailbox_command = /usr/bin/maildrop

I have only one user that receives mail on my system, and that user account has/d a ~/.mailfilter file. The problem is, whenever that file exists, no mail whatsoever makes it into my Maildir. I've tested this - i send a message to myself, and i receive nothing as long as there's a mailfilter file existing. As soon as i rename it, i'm fine.

Quoted 6 lines
Quoted 2 lines

What are the permissions on the .mailfilter file, they must be 0600. I had problems like this and this caused problems similar

Look in your mail logs / syslogs. Postfix / Maildrop is usualy pretty good about telling you what the problem is.

Quoted 8 lines

I cannot comment about Postfix as I never used it but Maildrop will not write to a log file if there is a permissions problem.

Sean
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#4 lore raw
Quoted 6 lines · Chris Rose

Speaking from experience (sorry, should have posted my found fix on this a while ago), maildrop may not log that itself, but in the /var/log/maillog file you can find its output to stderr that indicated a permissions problem. Once i found this, all of it fell into place.

sean

No problem, maybe this will help someone else as well :)

Sean
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs