Re: ASK Maintenance

John Bullock <[email protected]> Tue, 30 Mar 2004 19:35:36 -0600
Newsgroups gmane.mail.spam.active-spam-killer.general
Message-ID <[email protected]>
Thanks to Paga and Peter for the help.

The UMASK  worked, but since i'm a novice at
procmail and really have no experience with it, heres the .procmailrc:

UMASK=007
:0 w
| /usr/local/ask-2.4.1/ask.py --home=/home/jbullock
EXITCODE=$?
DEFAULT=/dev/null

It took me a while to find that the UMASK line goes before the ':0' rule.

Thanks a bunch!
John




At 02:37 PM 3/30/2004, Marco Paganini wrote:
>Hi John,
>
>ASK does not mess with the file permissions at all. The file creation
>mask is passed by your MTA (postfix) when it invokes ASK. I don't know
>postfix enough to tell you how to fix it, but most MTAs allow you to
>specify the mask. Check the documentation for postfix about it. If
>you're using procmail, you just need to set the UMASK variable inside
>your .procmailrc to something suitable.
>
>Regards,
>Paga
>
>On Mon, Mar 29, 2004 at 07:18:54AM -0600, John Bullock wrote:
> > I'm trying to get the maintenance utility running, and have run into a
> > little problem.  When the queue files are written, the perm's are 600,
> > I've tried everything I can think of to get the files to be 660 with no
> > success.
> >
> > I can get it working if I manually change the perms on the queue files.
> >
> > I'm running postfix for the mail server.
> >
> > How can I get the perms strait on the queue files?
> >
> > thanks
> > John
> >
> > --
> > John Bullock  Senior Engineer
> > Titan  Systems Corp.  - Astronautics Engineering Unit
> > Johnson Space Center / Houston, TX / [email protected]
> > (281) 483-1569 (work) / (713) 617-3952 (pager)
> > - Just Nod If You Can Hear Me
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > GenToo technologies. Learn everything from fundamentals to system
> > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > A-S-K-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/a-s-k-users
> >
>
>--
>Marco Paganini          | UNIX / Linux / Networking
>[email protected]   | PGP: http://www.paganini.net/pgp/
>http://www.paganini.net | Magnus Frater te spectat...
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>_______________________________________________
>A-S-K-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/a-s-k-users




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click