On Fri, Apr 3, 2009 at 4:38 PM, ashok abraham <[email protected]> wrote:
>
> Dear all
>
> by default any bounced back message generated from send mail
> contains the subject as Returned mail: see transcript for details
> unfortunaltely this subject is blocked by many spam checking sevice
>
> how to change/Customise the bounced back message subject
> from "Returned mail: see transcript for details" to something meaningful
>
> any ideas ?
>
> regards
>
> ashok
>
> Connect with friends all over the world. Get Yahoo! India Messenger at
> http://in.messenger.yahoo.com/?wm=n/
>
> 


You can use the access file to generate messages. For example, I got
sick of spammers hitting an old email account
of mine ([email protected]) so in my access file I have:
Code:

[email protected]  ERROR:550 Mailbox disabled for this username

I re-generated the access db with the following command. That email
address no longer receives mail and the sender gets the message I have
set.
Code:

makemap -v hash /etc/mail/access < /etc/mail/access

To use the access file you need to have it enabled in sendmail.cf. You
can enable it by adding FEATURE(`access_db')dnl to sendmail.mc and
re-generating sendmail.cf.

-- 
Ashwin R.

Reply via email to