Re: Modify bounce text

1999-06-11 Thread Andre Oppermann

Roger Merchberger wrote:
-snip-
> >> >Is there a simple way to drop in a new text for these types of
> >> >failure notices, without modifying qmail-send.c ?
> >>
> >> No.
> 
> >Sigh. Oh well =)
> 
> Is it that you're deathly afraid / unknowledgeable of C programming? To
> modify qmail-send.c to change the input from immediate (within the program)
> to a file in /var/qmail/control shouldn't be hard at all -- even I could do
> it and I'm no wizard in C, by any means.

There's a working patch to qmail-send.c in the qmail-ldap patch at
http://www.nrg4u.com.

> What would take the longest (for me) is quadruple-checking my work to make
> sure that it doesn't open up any security holes... I wouldn't want to make
> the most secure MTA available any less so due to a screw-up on my part.
> 
> However, opening a file every time there's a bounce would slow down qmail
> some -- if you generate quite a few bounces this could mean a bit of a
> performance hit.

Not at all. First those control files are read only at startup of qmail
and second how many bounce message do you generate per second?

> Let me know if you need my help in making the change!
> 
> Hope this helps,
> Roger "Merch" Merchberger

-- 
Andre



Re: Modify bounce text

1999-06-10 Thread £ukasz Michalski

Roger Merchberger wrote:
> 
> 
> However, opening a file every time there's a bounce would slow down qmail
> some -- if you generate quite a few bounces this could mean a bit of a
> performance hit.
> 

I don't think so. First time it will read it from disk, next time it
will find it in cache.
-- 
£ukasz Michalski mailto:[EMAIL PROTECTED] --- 
tel/sms: mailto:[EMAIL PROTECTED]



Re: Modify bounce text

1999-06-10 Thread Roger Merchberger

Rumor has it that Jonathan W Herbert may have mentioned these words:
>Dave Sill wrote:
>> And you think that's bad? It would be better if it "looked" like an
>> error message?
>
>Well, in a way, yes. I like qmail, i couldn't care less about the bounce
>
>text either, but your average joe user seems to have a hard time
>operating
>under the pretense that their ISP's mail server occasionally tries to
>hold
>a conversation with them.

Some of the cutest email replies I've seen are from people responding to
those -- and when they find out it's actually the computer responding to
them, they seem rather tickled.

My vote: Just enjoy it! ;-)

>> >Is there a simple way to drop in a new text for these types of
>> >failure notices, without modifying qmail-send.c ?
>>
>> No.

>Sigh. Oh well =)

Is it that you're deathly afraid / unknowledgeable of C programming? To
modify qmail-send.c to change the input from immediate (within the program)
to a file in /var/qmail/control shouldn't be hard at all -- even I could do
it and I'm no wizard in C, by any means.

What would take the longest (for me) is quadruple-checking my work to make
sure that it doesn't open up any security holes... I wouldn't want to make
the most secure MTA available any less so due to a screw-up on my part.

However, opening a file every time there's a bounce would slow down qmail
some -- if you generate quite a few bounces this could mean a bit of a
performance hit.

Let me know if you need my help in making the change!

Hope this helps,
Roger "Merch" Merchberger
--
Roger "Merch" Merchberger   ---   sysadmin, Iceberg Computers
Recycling is good, right???  Ok, so I'll recycle an old .sig.

If at first you don't succeed, nuclear warhead
disarmament should *not* be your first career choice.



Re: Modify bounce text

1999-06-10 Thread Jonathan W Herbert

Dave Sill wrote:

> And you think that's bad? It would be better if it "looked" like an
> error message?

Well, in a way, yes. I like qmail, i couldn't care less about the bounce

text either, but your average joe user seems to have a hard time
operating
under the pretense that their ISP's mail server occasionally tries to
hold
a conversation with them.

> >Is there a simple way to drop in a new text for these types of
> >failure notices, without modifying qmail-send.c ?
>
> No.

Sigh. Oh well =)

--
Jonathan W. Herbert
Systems Administrator

Tortus Tek, Inc.
1789 Northampton Street Phone:(413)535-5080
Holyoke, Ma.  01040 URL: tortus-tek.com

Tortus Tek: A-head of Art, A-head of Science





Re: Modify bounce text

1999-06-10 Thread Dave Sill

Jonathan W Herbert <[EMAIL PROTECTED]> wrote:
>
>A recent example showed a user replying to the mailer-daemon,
>trying to thank it for trying so hard to deliver his message before
>finally deciding to give up.

And you think that's bad? It would be better if it "looked" like an
error message?

>Is there a simple way to drop in a new text for these types of
>failure notices, without modifying qmail-send.c ?

No.

-Dave