Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-06-2007, 07:43 AM   #1
LQ Newbie
Registered: Sep 2002
Location: Lewisville, Texas
Distribution: Debian / [K]Ubuntu
Posts: 13

Rep: Reputation: 0
custom bounce message with Sendmail

Hey Folks,
I have inherited a sendmail rollout and need to be able to generate a customized bounce message when mail comes in for a particular email alias ( Since sendmail is new to me I'm reading a few oreilly books but I need to get this config set ASAP. Does anyone have any input on this particular problem?

Old 06-07-2007, 06:20 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
You can use the access file to generate messages. For example, I got sick of spammers hitting an old email account of mine ( so in my access file I have:
Code:  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.
makemap -v hash /etc/mail/access < /etc/mail/access
To use the access file you need to have it enabled in You can enable it by adding FEATURE(`access_db')dnl to and re-generating
Old 07-26-2007, 09:12 PM   #3
LQ Newbie
Registered: Sep 2002
Location: Lewisville, Texas
Distribution: Debian / [K]Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
cool! thanks for the post


custom, message, sendmail

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
Postfix: why is 'Return-Path' of bounce message empty Chowroc Linux - Networking 1 12-28-2005 03:52 AM
Bounce back email with a message? tauras911 Linux - Newbie 3 02-10-2005 03:44 PM
Copies of bounce messages in sendmail ejacobs Linux - Software 0 06-29-2004 03:53 PM
Custom welcome-message? herc Linux - Software 8 05-20-2004 02:13 AM
Sendmail Bounce Development echid Programming 0 11-18-2003 02:35 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:26 PM.

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