procmail
[Top] [All Lists]

Re: Send file - permissions

1998-06-23 00:23:28

Hi all.

On Mon, 22 Jun 1998, David W. Tamkin wrote:

|  When I send an e-mail with a particular Subject of the form:
| XXXXXXXXXX <mailing list>, where the Xs represent a ten digit number

All right, you've considered the security aspect; do change the number from
time to time, though.

Of course. 

I've some more questions to ask before I can write some sample code.

Lay 'em on me.

Now, here are my questions:

1. Is a single message from your other account with your password subject
supposed to send *all* waiting mail (all folders and your inbox), or is each
message supposed to specify only one folder (or the inbox), or would you like
to be able to do both?

I was planning on being able to specify one folder or INBOX, but come to
think of it I'd be quite satisfied with a recipe that would send
everything at once.

2. What do you mean by "sending you the file"?  Do you mean that procmail
should email it to another email address that you have?  That's what I'm
going to assume for the rest of these questions.

You're right that this is unclear. What I meant was that the address
should be specified in the recipe. I was considering a recipe that would
send all of the stuff to the address where the request came from, but
that's a bit unsafe.

3. Where should your mail be sent?  To a static address that you can
hard-code, to the reply address of your request letter, or to an address
that you'll put into the text of your request letter?  (I recommend hard-
coding a static address, just in case someone else learns your password
subject and fakes a request.  That way your mail will not go to somebody
else and will not be lost [it will just move to one of your other
addresses].)

We agree 100% here. The address should be in the code. That's the safest
way.

4. In what form should your mail be sent to the other address?  Do you
want each folder as a single piece of mail or do you want each message to
remain a single piece of mail and arrive on the destination site as such?

I have no preference here. Whichever is easier. It would probably be
better to receive the mail as single messages, but, again, no preference
here.

What I'm really thinking is that, if you have cron access on that system,
you're best off setting up something to run from that end and periodically
send its mail to the place where you want to read it.

That's a logical conclusion, but I need this recipe for another reason. I
am able to read mail here almost everyday. What I need is the possibility
to remove mail when I'm not able to access this account for a longer
period. That way I don't lose mail from mailing lists by going nomail and
I don't stuff my account with hundreds of posts. 

I'm also wondering why you don't just have procmail forward your mail to the
other address as it comes in.

That's partialy answered above. I should add that the other account I have
is shared with one other person. Nuff said.

Thank you for your time.

Cheers,
Bernard

"When you're not looking this sentence is in Spanish."