Re: [exim] How do I customise the messages that Exim sends?

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-users
Subject: Re: [exim] How do I customise the messages that Exim sends?
chuckee <mi6@???> (Mo 13 Nov 2006 04:56:41 CET):
>
> Hi,
> I was wondering how I can get Exim to send a 'deny message' to people using
> Outlook and Outlook Express.
> I have an Exim server, and want to only allow certain peope to send emails,
> based on certain conditions. All of that works fine. The only problem is
> that the deny message is not seen in Outlook or Outlook Express, even though
> it shows up in some other email clients.
> I've shown one of my 'deny conditions' below (from my Exim configuration
> file), which includes the particular deny message for that deny condition.
>
> deny condition = ${lookup pgsql{ select 1 from allowableemails \
>         where allowableemails.email_address = '$sender_address' \
>         and member.record_id=allowableemails.member_id \
>         and member.account_status = '2CO_PAYMENT_PENDING' }{$value}}
>         message = Your account has not been activated, but will be activated
> as soon as your payment is verified.


As far as I know Outlook has problems if you use multiline responses.
(But your message doesn't look like a multiline response though.)

AFAIK you've to click on 'Details' if you want to see the real message
from the mailserver.

The general question is, if you should reject the message at SMTP level
or if generating a bounce mail is much more user friendly, because this
should work with /any/ mail client.


    Best regards from Dresden
    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 -