>It would be neat to add a ?id=X after the link, where X is a variable for the error-
>code '550' in this case. So the user could be redirected instantly to a webserver 
>showing
>information matching his or her specific error-code. what do you think? Should be 
>easy,
>shouldn't it?

yes, that's a good idea. However,  an alternative suggestion would be to take this a 
step further
and have an (alternative) directive being able to take the src of a file/output of 
script as message
describing the problem indepth within the postmaster reply. +With that the being able 
to pass on
any valid macros like used in a true filters/mproc "external" manner, being able to 
further customize
the message.

Left to contemplain about would be if an alternative CustomSMTPMessageFile directive 
should
cause XMail to take the output as a new message with:
1) headers and all as a string, (cool)
2) file-ref to to newly created message (even cooler)
3) just have it include the stringified output in the stock error message.
The former two cases (with nods to *2) would be completely awsome since it would allow
complete freedom to build the new message in whatever way u like.
I would be most willing to contribute with such a template error-reply script if  
Davide would
find this idea compelling. (PERL/WSH/PHP/.. whatever)

"CustomSMTPMessage" "Please open 
http://www.xmailserver.test/smtp_errors.html?data=@@ERRCODE";
--or as a new alternative directive --
CustomSMTPMessageFile "/var/Mailroot/bin/smtp-error-reply.pl" "@@ERRCODE" "@@FROM" 
"@@RCPT" "@@FILE"  ...
--having the script utputting whatever... (perl pseudocode example)

<<_ENDMESS_
Message from $ARGV[1] to $ARGV[2] could not be delivered
due to $ERR_DESCRIPTIONS{$ARGV[0]}.
Please visit http://www.mydomain.tld/smtp_errors.php?code=$ARGV[0]
or send a message to [EMAIL PROTECTED]  for further information.

[A copy of your original message has been attached with this message.]


Thank you!
Peter Fonda
Mail Admin at mydomain.tld.
[EMAIL PROTECTED]
_ENDMESS_


---

just my 0.18 Swedish Kronor.
/thomas.




----- Original Message -----
From: "Henrik Steffen" <[EMAIL PROTECTED]>
Newsgroups: saltstorm.xmail
Sent: Thursday, August 15, 2002 7:01 PM
Subject: [xmail] idea for CustomSMTPMessage



Hello Davide,

I have got an idea to enhance the CustomSMTPMessage-feature:

Is it possible to provide a variable for the CustomSMTPMessage
containing the Error-Code?

I have set up our mail server with a CustomSMTPMessage like this:

550 Mailbox unavailable <[EMAIL PROTECTED]> - Questions? Send an email to 
[EMAIL PROTECTED] or see
http://mail.city-map.de for further information. Thank you!


It would be neat to add a ?id=X after the link, where X is a variable for the error-
code '550' in this case. So the user could be redirected instantly to a webserver 
showing
information matching his or her specific error-code. what do you think? Should be easy,
shouldn't it?

thanks in advance


Mit freundlichem Gru�

Henrik Steffen
Gesch�ftsf�hrer

top concepts Internetmarketing GmbH
Am Steinkamp 7 - D-21684 Stade - Germany
--------------------------------------------------------
http://www.topconcepts.com          Tel. +49 4141 991230
mail: [EMAIL PROTECTED]       Fax. +49 4141 991233
--------------------------------------------------------
24h-Support Hotline:  +49 1908 34697 (EUR 1.86/Min,topc)
--------------------------------------------------------
Ihr SMS-Gateway: JETZT NEU unter: http://sms.city-map.de
System-Partner gesucht: http://www.franchise.city-map.de
--------------------------------------------------------
Handelsregister: AG Stade HRB 5811 - UstId: DE 213645563
--------------------------------------------------------


-- Binary/unsupported file stripped by Ecartis --
-- Type: application/x-pkcs7-signature
-- File: smime.p7s


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

--

____________________________________________________________
[xm2nntp v2.28  |  smtp->nntp gateway  |  2002-08-15 16:58:51Z]
 <nntp://news.saltstorm.net/saltstorm.xmail/1260>

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to