Linux / UNIX Tech Support Forum
This is a discussion on Redirect / forward mail to another user from specific address. within the Mail Servers forums, part of the Mastering Servers category; Hello, I wish to intercept/forward emails that is sent to one user on multi user mail server.I only want email ...
|
|||||||
| Mail Servers Discussion on Postfix/Sendmail Mail servers and related program such as IMAP/POP3, Anti-Spam technologies. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello,
I wish to intercept/forward emails that is sent to one user on multi user mail server.I only want email from one specific address or group,to be redirected and it will be redirected to another user on same server. The email should not arrive in original users inbox. ".forward" file can not give me such solution,because ".forward" file will forward all mails to another specific mail id,which i don't want. I want only specific users mails onto another local user. Is this possible in sendmail? Anybody have clear idea of "virtusetable" & "aliases" file? Server runs sendmail only. Shall "procmail" give us any solution? Advanced Thanks, Nishith Vyas |
| Sponsored Links | ||
|
|
|
|||
|
Hi nishith,
You can use the alias file, wher you can define for one group which has all of those email address which need to be forwarded. For example there are two groups support and info the it should be like this vi /etc/aliases Code: support: bob, tom, harry, george@domain.com, sam@domain2.com info: ritesh, snajay, vivek, sony@domain1.com So here bob, tom and harry are local user, whereas george an same are remote user. Regards Manish |
|
|||
|
Dear Friend,
I think , /etc/aliases concept can not work due to limitation. Just tell me how it is possible to forward particular group mails onto another mail id? This is a biggest question & i don't think alias file will work. If i have 30 users & i have made a group i.e. "admin" in "/etc/aliases" file. Then how could i forward all "admin" group mails onto another mail id? Can alias is having a facility to forward mails? or redirect mails ? Please confirm. I don't know more about "procmail". But, if anyone is having any idea & usability of PROCMAIL, please let me know. May b i can get soln. by using PROCMAIL!!!!!!!! Thanks, Nishith |
|
|||
|
Hi Nishit,
Did you tried it by editing /etc/aliases file Suppose the emails are sent to admin@domain.com and you want to forward it to different email account then edit vi /etc/aliases Code:
admin: bob, tom, harry, george@domain.com, sam@domain2.com For more information you can see this url How To Forward Email with Aliases and Virtusertable You have to try out, unless you not gone try out, it will be in restricted mode and you will not get the solution. Thank you Manish |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Per user mail attachment filtering | rslrdx | Mail Servers | 1 | 26-03-2009 02:45 AM |
| VSFTPD: Only One IP Address allowed for one user | javora | Web servers | 2 | 13-03-2009 01:36 PM |
| store sender mail address of incoming mails | ephdia | Databases servers | 0 | 26-08-2008 12:19 PM |
| mail forward between ISPs | picioslug | Shell scripting | 2 | 23-09-2006 04:53 PM |
| FetchMail/GetMail/Procmail mail forward between providers | picioslug | Linux software | 0 | 19-09-2006 04:33 PM |