LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-22-2002, 01:02 AM   #1
Gavin
Member
 
Registered: Aug 2001
Location: Australia
Distribution: Fedora
Posts: 32

Rep: Reputation: 15
Question sendmail -- Unknown users


Hi,

Is it possible to catch e-mails, which are addressed to an invalid user on my domain and forward them to a mailbox.

Also, would it be possible to set up a return e-mail telling the sender that the user does not exist and that the e-mail is being reviewed by a member of staff. (ie. A custom postmaster message for any email which ends up in the `invalid user' mailbox.)

Currently hacking through the book & docs, but any info will be appreciated.

Thanks
Gavin.
 
Old 01-23-2002, 03:13 AM   #2
xanthium
Member
 
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218

Rep: Reputation: 30
Lightbulb yes its possible

Hi Gavin ,

Yeh its quite possible with a utility called procmail.
With RedHat Linux it comes pre installed but iam not sure about ur distribution.

It does what u want and lot more. There are numerous tutorial available on the internet whicj will guide u to accomplish ur task.


Regards,
Xanthium.

 
Old 01-23-2002, 10:33 PM   #3
Gavin
Member
 
Registered: Aug 2001
Location: Australia
Distribution: Fedora
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks xanthium,

Will look into it.

Gavin
 
Old 01-24-2002, 01:03 AM   #4
xanthium
Member
 
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218

Rep: Reputation: 30
Arrow some links

Hi Gavin ,

iam sending a few links for ur reference. Please check them out and see if they suit ur demands.

http://www.xmission.com/help/email/autoresponder.html
http://www.nemeton.com.au/sw/autoreply/
http://www.webquarry.com/tech/techautoresponder.html

look procmail will help u in autoresponding to a particular account or on any other criteria that matches however ur MTA ( sendmail ) will by default reject unknown users so there is no way procmail will come into picture ( so no autoresponder !!!!!! )
so the first thing for u to do is setup ur mail server so that it will accept all email ( even if user does not exsist) and forward it to some local account on ur machine and then procmail comes into picture and does autoresponding part.

u can accomplish the allowing of mails to non local users by making changes in the /etc/aliases file or thru sendmail's various *table features.


Hope this eases a bit for u.

Regards,
Xanthium.



Last edited by xanthium; 01-24-2002 at 01:26 AM.
 
  


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
Postfix/Unknown Users ]SK[ Linux - Software 1 07-05-2005 05:24 PM
Sendmail error: Unknown Address batmite Linux - Newbie 1 12-20-2003 07:46 AM
unknown users..... anoop_chandran Linux - Security 8 07-12-2002 08:50 AM
unknown users loganwva Linux - Security 8 06-05-2002 04:22 PM
red hat sendmail - Forward unknown users kurgan70 Linux - General 3 11-30-2001 03:58 PM


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

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