LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-14-2002, 04:58 AM   #1
elainepearl
LQ Newbie
 
Registered: Dec 2001
Location: Mandaluyong Philippines
Distribution: Redhat 6.2
Posts: 16

Rep: Reputation: 0
email notification


Good day!

I'm a newbie in sendmail and I have a question all about changing of email address. One of our employee wanted to change it email add to a new one. What she wants is that there should be a bounce email message telling the sender of the new email address.

I'm running sendmail 8.9.3.20 on a Redhat 6.2 server

Thank you very much in advance
 
Old 01-14-2002, 06:58 AM   #2
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
sendmail has nothing to do with this sort of thing, you proabbly want to use procmail and formail to generate a reply. in their home directory, you need a .procmailrc file, and in that something similar to

:0 c
| (formail -X From: ; echo "Subject: Jeff's address has changed" ; echo "Apparently, our mail server isn't good enough for jeff, ,she wants to suse hotmail for some daft reason we don't understand" ) | sendmail -t

yeah? not guarenteeing that'll work instantly, as it's from memory... close tho... you should have `man procmailex` to help you. theres also a vacancy program i think that might be useful
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
email notification mbegovic LQ Suggestions & Feedback 6 04-01-2004 01:36 PM
New Email Notification lapthorn Linux - Software 0 02-04-2004 10:44 AM
Email Notification ezra143 LQ Suggestions & Feedback 6 01-12-2004 11:17 AM
Email notification jeremy LQ Suggestions & Feedback 6 11-07-2002 02:16 PM
Cron Email Notification(?) jamesyreid Linux - General 2 12-17-2001 11:30 AM


All times are GMT -5. The time now is 07:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration