OK - after trying this out with another program (mailman), I've realized
that this is not a dspam issue. So, I apologize for the bandwith here,
and remain very thankful to Franz for his help, above and beyond. I am
going to broaden my search of a solution - now that I knwo that mailman
is affected as well.
On 1/28/2011 12:52 PM, news...@acrocat.com wrote:
> Maybe this is interesting, maybe not. I can train the messages from
> the quarantine via the webui. Now, doesn't the webui make the same
> call as sending to s...@....com?
>
> On 1/28/2011 9:42 AM, Edward P. Ross wrote:
>> 1.) I changed my smrsh folder perms and ownership to what you had.
>> 2.) Then I installed ubuntu fresh on a VM, and saw that it had
>> drwxr-sr-x 2 smmta smmsp so I chagned it to that
>>
>> Both ways gave me the same original error.
>>
>> Then I tried to disable smrsh by taking out the line:
>> "FEATURE(`smrsh', `/usr/sbin/smrsh')"
>> And that gave me errors like:
>> dspam[30718]: Unable to open file for reading: firstrun.txt:
>> Permission denied
>>
>> So I put it back in.
>>
>> Old, RHEL4 system was:
>>
>> uid=51(smmsp) gid=51(smmsp) groups=51(smmsp)
>> id: smmta: No such user
>> uid=551(dspam) gid=105(monit) groups=105(monit),12(mail),51(smmsp)
>> uid=8(mail) gid=12(mail) groups=12(mail)
>>
>>
>> My new system:
>>
>> uid=51(smmsp) gid=51(smmsp) groups=51(smmsp),45(sasl)
>> uid=103(smmta) gid=106(smmta) groups=106(smmta),45(sasl)
>> uid=551(dspam) gid=8(mail) groups=8(mail),51(smmsp)
>> uid=8(mail) gid=8(mail) groups=8(mail)
>>
>>
>> I wonder if smrsh is sensitive to the value of uid, perhaps?
>>
>> On 1/28/2011 2:44 AM, Frantisek Hanzlik wrote:
>>>
>>> I write small script to uncover alias program environment:
>>>
>>> #!/bin/bash
>>> echo "$UID, $EUID , $#." >>/tmp/testrun
>>> id >>/tmp/testrun
>>> cat >>/tmp/testrun
>>> printenv >>/tmp/testrun
>>>
>>> which is running from /etc/aliases:
>>> testrun: "|/usr/local/bin/testrun --user root --class=spam --source=error"
>>>
>>> And discover, that script is running as user mail (which is what
>>> define(`confDEF_USER_ID', ``8:12'')
>>> in sendmail.mc define (DefaultUser) - user mail (UID=8), group
>>> mail(GID=12) in my system).
>>>
>>> Then I'm only doubt about:
>>>
>>> - when You have "FEATURE(`smrsh', `/usr/sbin/smrsh')" defined in your
>>> sendmail.mc (with correct smrsh path).
>>>
>>> - which are smrsh permissions. Mine:
>>> ls -l /usr/sbin/smrsh
>>> -rwxr-xr-x. 1 root root 65656 14. zář 11.35 /usr/sbin/smrsh
>>>
>>> eventually, smrsh and dspam directories should not be world-writable. But
>>> in this case will be error message probably different.
>>>
>>> Franta Hanzlik
>>>
>>> ------------------------------------------------------------------------------
>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>>> Finally, a world-class log management solution at an even better price-free!
>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>>> February 28th, so secure your free ArcSight Logger TODAY!
>>> http://p.sf.net/sfu/arcsight-sfd2d
>>> _______________________________________________
>>> Dspam-user mailing list
>>> Dspam-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>> Finally, a world-class log management solution at an even better price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>>
>> !DSPAM:1,4d4283ee312128729115136!
>>
>>
>> _______________________________________________
>> Dspam-user mailing list
>> Dspam-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspam-user
>>
>>
>> !DSPAM:1,4d4283ee312128729115136!
> !DSPAM:1,4d42b07c41108223618803!
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
>
> !DSPAM:1,4d42b07c41108223618803!
>
>
> _______________________________________________
> Dspam-user mailing list
> Dspam-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspam-user
>
>
> !DSPAM:1,4d42b07c41108223618803!
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user