Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 274055

Summary: mail-filter/maildrop-2.10: fail to deliver mails from (global) fetchmail: "you are not a trusted user"
Product: Gentoo Linux Reporter: Hannes Nagel <pge03eda>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: adds fetchmail user to --trusted-user in maildrop ebuild

Description Hannes Nagel 2009-06-13 20:12:46 UTC
mail-filter/maildrop fails to switch user for local delivery when called by fetchmail (configured to use mda maildrop in /etc/fetchmailrc). 

This is because the user fetchmail is not listed in the --trusted-users option in the maildrop ebuild.

Solution:
Add 'fetchmail ' to --restricted-users in maildrop ebuilds 
(rebuild maildrop ebuild manifest, rebuild maildrop if the tree ebuild is not changed)

Reproducible: Always

Steps to Reproduce:
1. install/configure /etc/fetchmailrc to use mda maildrop
2. have a look into the fetchmail log file
Actual Results:  
fetchmail logfile says:
/usr/bin/maildrop: You are not a trusted user
and cannot deliver mail

Expected Results:  
deliver mail locally
Comment 1 Hannes Nagel 2009-06-13 20:17:08 UTC
Created attachment 194590 [details, diff]
adds fetchmail user to --trusted-user in maildrop ebuild

trivial patch
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2009-06-14 21:01:57 UTC
Done. Thanks.