Return receipts on an SMTP relay machine...

2001-05-31 Thread Peter . Fredriksson

Hi all,

I'm running qmail on an OpenBSD2.7 as an relay for incoming and outgoing
mail to/from the internet and our internal Exchange server.
Before the switch to qmail, I was running sendmail. Sendmail had one feature
that I can't for my life figure out how to get in qmail.

After a mail had been relayed to the internet, sendmail sent a receipt back
to the sender. I can't get qmail to do that.
I have read qreceipt's man page, but that only seems to apply to users on
the local machine. This machine only has root and a couple of daemon users.

I realize that I have to patch qreceipt to recognize Outlooks SMTP tag for
receipts, but how do I do that? I use a OpenBSD binary install.

I use tcpserver to have separate relaying rules depending on where the mail
comes from. Could this also be used as an receipt mechanism?

I anything is unclear, please mail me.
Also, Please point me towards TFM.. Or speculations.. or ideas.. or..
ANYTHING!?!? =)
A bit desperate, yep..

With Best Regards,

Peter Fredriksson
Compu-Mark Nordic AB
Email:  [EMAIL PROTECTED]
Phone:  +46-8-4417730
Fax:+46-8-6980909
ICQ#:   6166226




Re: Return receipts on an SMTP relay machine...

2001-05-31 Thread Dave Sill

[EMAIL PROTECTED] wrote:

After a mail had been relayed to the internet, sendmail sent a receipt back
to the sender. I can't get qmail to do that.

Hmm. So Sendmail on your relay sent a message to the sender of each
message it relayed informing them of the fact that it'd relayed the
message? And you found this desirable? What if every relay on the net
starting doing that? You'd often get 4-5 relay notifications for each
message you send. What's the point?

I have read qreceipt's man page, but that only seems to apply to users on
the local machine. This machine only has root and a couple of daemon users.

Yes, qreceipt allows users to confirm final delivery to senders who
request confirmation. That's much more reasonable than what you're
asking for.

I realize that I have to patch qreceipt to recognize Outlooks SMTP tag for
receipts, but how do I do that?

If you really want to do that, I think you'll have to hack
qmail-scanner[1] or implement a custom filter[2].

-Dave

Footnotes: 
[1]  http://qmail-scanner.sourceforge.net/

[2]  http://www.faqts.com/knowledge_base/view.phtml/aid/2142/fid/206



RE: Return receipts on an SMTP relay machine...

2001-05-31 Thread Peter . Fredriksson

Dave,

This function is very, very good when you have a client that can't tell the
sender that the message has been received. 

An example is below. This is generated by sendmail. If I get two (one like
this, and one from the receiving client), it OK.
I don't like to rely on the receivers ability to tell me that they have
received the message.


From: Mail Delivery Subsystem [mailto:[EMAIL PROTECTED]]
Sent: den 21 maj 2001 14:17
To: [EMAIL PROTECTED]
Subject: Return receipt


The original message was received at Mon, 21 May 2001 14:16:29 +0200 (CEST)
from dmz.skriptor.com [195.84.158.65]

   - The following addresses had successful delivery notifications -
[EMAIL PROTECTED]  (relayed to non-DSN-aware mailer)

   - Transcript of session follows -
[EMAIL PROTECTED]... relayed; expect no further notifications


Any better suggestions then hacking? =)

With Best Regards,

Peter Fredriksson
Compu-Mark Nordic AB
Email:  [EMAIL PROTECTED]
Phone:  +46-8-4417730
Fax:+46-8-6980909
ICQ#:   6166226


-Original Message-
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: den 31 maj 2001 15:51
To: [EMAIL PROTECTED]
Subject: Re: Return receipts on an SMTP relay machine...


[EMAIL PROTECTED] wrote:

After a mail had been relayed to the internet, sendmail sent a receipt back
to the sender. I can't get qmail to do that.

Hmm. So Sendmail on your relay sent a message to the sender of each
message it relayed informing them of the fact that it'd relayed the
message? And you found this desirable? What if every relay on the net
starting doing that? You'd often get 4-5 relay notifications for each
message you send. What's the point?

I have read qreceipt's man page, but that only seems to apply to users on
the local machine. This machine only has root and a couple of daemon users.

Yes, qreceipt allows users to confirm final delivery to senders who
request confirmation. That's much more reasonable than what you're
asking for.

I realize that I have to patch qreceipt to recognize Outlooks SMTP tag for
receipts, but how do I do that?

If you really want to do that, I think you'll have to hack
qmail-scanner[1] or implement a custom filter[2].

-Dave

Footnotes: 
[1]  http://qmail-scanner.sourceforge.net/

[2]  http://www.faqts.com/knowledge_base/view.phtml/aid/2142/fid/206