Hi!
In the process of making mysystem work again, having just done a reinstall of 6.3 x86_64.
I have a considerable collection of procmail recipes for filtering mail in various ways, and since the upgrade none of 'em is working.
procmail passes every mail thru spambayes, which gives back a rating on spamminess. this happens, so it's not as if procmail is simply punting.
that is followed by tests for which mailbox it should go into, depending on the mailing list, or otherwise who it's from.
these ARE NOT working.
these recipes all use formail to append a header identifying the mail folder Procmail decided to use, and then the mail is appended to the mailbox.
This has been working without problem for YEARS.
but now, it all ends up in my main mailbox, where only those things that fail all the filters are supposed to go. aparently all the filters are failing.
each filter is akin to this one:
:0: * ^X-BeenThere: centos@centos.org | $FORMAIL -A"X-procmail: Centos-users" >>$HOME/Mail/centos
which checks to see if it came from the centos mailing list, and if so should append a X"-Procmail: Centos-users" header then append the mail to $HOME/Mail/centos. Only it doesn't append the header, and it doesn't drop the mail in the centos mailbox.
anyone out there got a clue?
thanks!
Fred
On Sun, Feb 24, 2013 at 08:53:05PM -0500, Fred Smith wrote:
Hi!
In the process of making mysystem work again, having just done a reinstall of 6.3 x86_64.
I have a considerable collection of procmail recipes for filtering mail in various ways, and since the upgrade none of 'em is working.
procmail passes every mail thru spambayes, which gives back a rating on spamminess. this happens, so it's not as if procmail is simply punting.
that is followed by tests for which mailbox it should go into, depending on the mailing list, or otherwise who it's from.
these ARE NOT working.
these recipes all use formail to append a header identifying the mail folder Procmail decided to use, and then the mail is appended to the mailbox.
This has been working without problem for YEARS.
but now, it all ends up in my main mailbox, where only those things that fail all the filters are supposed to go. aparently all the filters are failing.
each filter is akin to this one:
:0:
- ^X-BeenThere: centos@centos.org
| $FORMAIL -A"X-procmail: Centos-users" >>$HOME/Mail/centos
Replying to myself, I see I didn't show the fact that "$FORMAIL" is defined earlier on as FORMAIL=/usr/bin/formail
which checks to see if it came from the centos mailing list, and if so should append a X"-Procmail: Centos-users" header then append the mail to $HOME/Mail/centos. Only it doesn't append the header, and it doesn't drop the mail in the centos mailbox.
anyone out there got a clue?
thanks!
Fred
---- Fred Smith -- fredex@fcshome.stoneham.ma.us ----------------------------- The eyes of the Lord are everywhere, keeping watch on the wicked and the good. ----------------------------- Proverbs 15:3 (niv) ----------------------------- _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Sun, Feb 24, 2013 at 08:54:41PM -0500, Fred Smith wrote:
On Sun, Feb 24, 2013 at 08:53:05PM -0500, Fred Smith wrote:
Hi!
In the process of making mysystem work again, having just done a reinstall of 6.3 x86_64.
I have a considerable collection of procmail recipes for filtering mail in various ways, and since the upgrade none of 'em is working.
procmail passes every mail thru spambayes, which gives back a rating on spamminess. this happens, so it's not as if procmail is simply punting.
that is followed by tests for which mailbox it should go into, depending on the mailing list, or otherwise who it's from.
these ARE NOT working.
these recipes all use formail to append a header identifying the mail folder Procmail decided to use, and then the mail is appended to the mailbox.
This has been working without problem for YEARS.
but now, it all ends up in my main mailbox, where only those things that fail all the filters are supposed to go. aparently all the filters are failing.
each filter is akin to this one:
:0:
- ^X-BeenThere: centos@centos.org
| $FORMAIL -A"X-procmail: Centos-users" >>$HOME/Mail/centos
Replying to myself, I see I didn't show the fact that "$FORMAIL" is defined earlier on as FORMAIL=/usr/bin/formail
which checks to see if it came from the centos mailing list, and if so should append a X"-Procmail: Centos-users" header then append the mail to $HOME/Mail/centos. Only it doesn't append the header, and it doesn't drop the mail in the centos mailbox.
anyone out there got a clue?
thanks!
Looking in /var/log/messages, I see a whole bunch of these:
Feb 24 16:53:32 fcshome kernel: type=1400 audit(1361742812.414:9): avc: denied { search } for pid=3381 comm="procmail" name="Mail" dev=dm-2 ino=6162243 scontext=unconfined_u:system_r:procmail_t:s0 tcontext=unconfined_u:object_r:unlabeled_t:s0 tclass=dir
which I GUESS is telling me selinxu is whining about SOMETHING, but I don't know enough about it to tell what.
Advice would be appreciated, thanks!
Fred
On 02/24/2013 08:29 PM, Fred Smith wrote:
Looking in /var/log/messages, I see a whole bunch of these:
Feb 24 16:53:32 fcshome kernel: type=1400 audit(1361742812.414:9): avc: denied { search } for pid=3381 comm="procmail" name="Mail" dev=dm-2 ino=6162243 scontext=unconfined_u:system_r:procmail_t:s0 tcontext=unconfined_u:object_r:unlabeled_t:s0 tclass=dir
which I GUESS is telling me selinxu is whining about SOMETHING, but I don't know enough about it to tell what.
Somehow your "Mail" directory has lost its SELinux labeling ("tcontext=unconfined_u:object_r:unlabeled_t:s0"). At a minimum, you should run "restorecon -rv $HOME" to restore the contexts for everything under your home directory. It might be best to relabel the whole system by doing "touch /.autorelabel" and rebooting, but that can take a long time if you have large filesystems.
On Sun, Feb 24, 2013 at 10:30:54PM -0600, Robert Nichols wrote:
On 02/24/2013 08:29 PM, Fred Smith wrote:
Looking in /var/log/messages, I see a whole bunch of these:
Feb 24 16:53:32 fcshome kernel: type=1400 audit(1361742812.414:9): avc: denied { search } for pid=3381 comm="procmail" name="Mail" dev=dm-2 ino=6162243 scontext=unconfined_u:system_r:procmail_t:s0 tcontext=unconfined_u:object_r:unlabeled_t:s0 tclass=dir
which I GUESS is telling me selinxu is whining about SOMETHING, but I don't know enough about it to tell what.
Somehow your "Mail" directory has lost its SELinux labeling ("tcontext=unconfined_u:object_r:unlabeled_t:s0"). At a minimum, you should run "restorecon -rv $HOME" to restore the contexts for everything under your home directory. It might be best to relabel the whole system by doing "touch /.autorelabel" and rebooting, but that can take a long time if you have large filesystems.
Thanks, Robert, I'll look into that.
Fred