Talk Root - PC Hardware, Software and Web Development forums

Go Back   Talk Root - PC Hardware, Software and Web Development forums > System Administration > Mail Servers > Sendmail


Welcome to the Talk Root - PC Hardware, Software and Web Development forums. Are you a programmer, web developer, IT guy or a computer guru? We invite you to join our forums and participate in friendly discussion. It doesn't matter your skill level, we are here to help everyone.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Sponsored Links
Reply
 
LinkBack Thread Tools Rate Thread
Old 01-13-2004, 01:07 PM   #1
Marco Senft
 
Posts: n/a
Re: Autoreplying for obsolete domain name

Sylvain Fauvel wrote:

> Hello,
>
> I have a server for a domain that also accept an old domain
> name (using virtusertable).
>
> I want to remove the old domain name but want to send
> automatic reply to people sending to the old domain.
> Is there an easy way to do this? All i could think
> for now seem quite complicated.


To reject all mail going to this domain using an appropriate error
message, use FEATURE(`blacklist_recipients') as described in cf/README.

Another way is FEATURE(`redirect'), also explained in cf/README.

These methods both will generate error messages to their senders. If you
want to send back something more "user friendly", i think a combination
of catch-all-alias and autoresponder might be of use.


--
Marco Senft
Technische Treuhand GmbH http://www.t2g.ch/

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 01-13-2004, 11:39 PM   #2
Chuck Yerkes
 
Posts: n/a
Re: Autoreplying for obsolete domain name

Sylvain Fauvel wrote:
> I have a server for a domain that also accept an old domain
> name (using virtusertable).
>
> I want to remove the old domain name but want to send
> automatic reply to people sending to the old domain.
> Is there an easy way to do this? All i could think
> for now seem quite complicated.



I think of a virtusertable:

postmaster@example.com You
abuse@example.com You
@example.com ALocalRoleUser

And the LocalRoleUser will simply have a |/usr/bin/vacation alias
and vacation setup in their home directory.

This will send back a response.

if you want a response for EVERY message that a user sends rahter than
one message per sender per $Period? then make the .db file readonly and
owned by root (vacation can't write to it).

Want fancier? There are a billion autoresponder scripts out there in
perl, C, procmail (man procmailex) etc.

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 11:10 AM.


Sponsors
Banner Best Deals 24x7 @ Geeks.com!
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0 RC8
vB Ad Management by =RedTyger=
© 2006 TalkRoot.com -