Grant Taylor wrote:
> Is it possible to return custom messages when accepting a message?
See the fine source code:
#if _FFR_MSG_ACCEPT
/* allow to override "Message accepted for delivery" */
> I'd like to return a custom message when I accept a message into a spam
> trap. I.e.
So the message would be only for some mails?
Then the answer is: probably not... but check out what doexpand()
does, it might be possible using macros:
Macros are interpolated using the construct $x,
where x is the name of the macro to be interpolated.
This interpolation is done when the configuration file
is read, except in M lines. The special construct $&x
can be used in R lines to get deferred interpolation.
Conditionals can be specified using the syntax:
$?x text1 $| text2 $.
This interpolates text1 if the macro $x is set and
non-null, and text2 otherwise. The "else" ($|) clause
may be omitted.
--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.