Jon Hardcastle <jd_hardcastle@???> (Di 15 Sep 2009 22:48:51 CEST):
> Ok,
>
> I have it doing abit more. It isn't sending bounce emails anymore but rejects on the smtp. I did that by putting a require recipient verification before the line that accepts everything from the relays (which is how I am allow emails from my desktop machine to the linux box with exim).
But you should know that the recipient check (even the callout) is by no
means something you can rely on. There are other reasons that can happen
before/during/after final delivery.
(…)
> Does anyone know if it is an unreasonable request to want to somehow get the spool id? I am writing in c# .net using the SmtpClient class....
Again, I'm not sure if I understand well enough. Exim tells you the
queue ID at the final OK:
(…)
~> MAIL FROM:<hs@???>
<~ 250 OK
~> RCPT TO:<hs@???>
<~ 250 Accepted
~> DATA
<~ 354 Enter message, ending with "." on a line by itself
~> Date: Tue, 15 Sep 2009 23:00:42 +0200
~> To: hs@???
~> From: hs@???
~> Subject: test Tue, 15 Sep 2009 23:00:42 +0200
~> X-Mailer: swaks v20061116.0 jetmore.org/john/code/#swaks
~>
~> This is a test mailing
~>
~> .
<~ 250 OK id=1Mnf9n-00085S-Ef
(…)
But I do not know if your c#/.net library can tell you the full
response.
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann HS12-RIPE -----------------------------------------
gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B -