Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357329 - Some invalid step and enhancement on mail filtering guide
Summary: Some invalid step and enhancement on mail filtering guide
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: nm (RETIRED)
URL: http://www.gentoo.org/doc/en/mailfilt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-04 10:29 UTC by Tupone Alfredo
Modified: 2011-03-04 20:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tupone Alfredo gentoo-dev 2011-03-04 10:29:15 UTC
I run through the document and have some suggestion/fix to give:

In the step :
chown -R spamtrap:mailusers /home/spamtrap/.maildir

the group mailusers has not been yet created, and even if you create it, when you access spamtrap with squirrelmail, it expect the maildir directory to have the couurect uid/gid.
I think, and locally did, that is better to add spamtrap to the group mailusers instead

In the Installing revised smtpclient we can use the mail-client/smtpclient-1.0.1 that already seems to have an option to process the headers. The option seems to be -w instead of -F so even the deliver.pl should be changed.

Reproducible: Always
Comment 1 nm (RETIRED) gentoo-dev 2011-03-04 18:12:13 UTC
(In reply to comment #0)
> I run through the document and have some suggestion/fix to give:
> 
> In the step :
> chown -R spamtrap:mailusers /home/spamtrap/.maildir
> 
> the group mailusers has not been yet created, and even if you create it, when
> you access spamtrap with squirrelmail, it expect the maildir directory to have
> the couurect uid/gid.
> I think, and locally did, that is better to add spamtrap to the group mailusers
> instead

What are the steps?
Comment 2 Tupone Alfredo gentoo-dev 2011-03-04 19:44:30 UTC
(In reply to comment #1)
> What are the steps?
6.  Autolearning and sidelining emails -> Creating the spamtrap user
Comment 3 nm (RETIRED) gentoo-dev 2011-03-04 19:59:53 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > What are the steps?
> 6.  Autolearning and sidelining emails -> Creating the spamtrap user

I meant, can you please write down the instructions and where they should go. I'm not familiar with spamtrap, so none of what you said makes any sense, sorry.
Comment 4 Tupone Alfredo gentoo-dev 2011-03-04 20:09:45 UTC
(In reply to comment #3)
chown -R spamtrap:mailusers /home/spamtrap/.maildir

 must become

chown -R spamtrap:spamtrap /home/spamtrap/.maildir


That should work to fix my first point

The other point, I think you already fix it
Comment 5 nm (RETIRED) gentoo-dev 2011-03-04 20:45:19 UTC
(In reply to comment #4)
> (In reply to comment #3)
> chown -R spamtrap:mailusers /home/spamtrap/.maildir
> 
>  must become
> 
> chown -R spamtrap:spamtrap /home/spamtrap/.maildir
> 
> 
> That should work to fix my first point

Thanks for clarifying. Fixed in CVS.