LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2005, 02:23 PM   #1
thekillerbean
Member
 
Registered: Jan 2002
Distribution: Ubuntu 12.04.2 (Precise)
Posts: 90

Rep: Reputation: 16
Email change notification in SendMail.


I've added an entry to the /etc/mail/access file so that users sending messages to people no longer working at the company get notified. This is working as expected in that the messages are not accepted and they get a reject message telling them why.

What I'm looking for is the documentation on whether one can change the subject line as many users do no normally read reject messages and may never see that the section where the notification is being plugged. An example of what they are getting is:

Code:
Subject:  Returned mail: see transcript for details

The original message was received at Wed, 12 Oct 2005 22:29:34 +1000
from dsl-202-173-xxx-yyy.some_isp_domain.com [202.173.xxx.yyy]

   ----- The following addresses had permanent fatal errors -----
<user@domain.com>
    (reason: 550 5.0.0 <user@domain.com>... Please note
new email address:user@newdomain.com)

   ----- Transcript of session follows -----
... while talking to mail.domain.com.:
>>> DATA
<<< 550 5.0.0 <user@domain.com>... Please note new email
address:user@newdomain.com
550 5.1.1 <user@domain.com>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)
As can be seen, the subject line does not immediately notify the user that a new email address is needed to communicate with the user. I'd like to change the subject line so that senders can immediately tell what the reject reason is and hence prompt them to read the reject message to extract the proper address.

Is this doable in sendmail-8.12.10-1?

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
email notification mbegovic LQ Suggestions & Feedback 6 04-01-2004 12:36 PM
New Email Notification lapthorn Linux - Software 0 02-04-2004 09:44 AM
how to change notification email for portsentry and how to test portsentry roorings Linux - Security 1 11-04-2003 10:36 AM
Email notification jeremy LQ Suggestions & Feedback 6 11-07-2002 01:16 PM
email notification elainepearl Linux - General 1 01-14-2002 05:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration