email forwarding


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users email forwarding
# 1  
Old 07-30-2009
Question email forwarding

I 've a domain and a server say mydomain.org
I need to forward all the mails i receive over here ie.
admin@mydomain.org , hello@mydomain.org , anything@mydomin.org etc.,
to another address which is admin@anotherdomain.org , hello@anotherdomain.org , anything@anotherdomain.org.
i'm using apache. How do i achieve it?

there are no login accounts like admin,hello,anything.. I want all the mails that come to my domain to be forwarded to anotherdomain which is on some other server not controlled by me. Also i dont want a copy of the emails in my server, dont mind if they are stored.

Last edited by bbala; 07-30-2009 at 11:15 AM.. Reason: detailed description
# 2  
Old 08-02-2009
I'd you're receiving mail on that host you must have an mta. Ie, exim, postfix, sendmail, etc. Just put in a forwarding rule. Exim is very good for this purpose.

Last edited by Beaknit; 08-02-2009 at 12:42 PM.. Reason: Typo
# 3  
Old 08-03-2009
thanks.. I've postfix installed now.. i found the way to add individual aliases.
like i added admin@mydomain.org admin@myotherdomain.org etc..

but is there a way to specify this for any address? like all the mails to xxx@mydomain.org to xxx@anotherdomain.org in postfix ?
# 4  
Old 08-03-2009
I'm not sure in postfix. In exim you'd skip the aliases and use rewrites.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Help on port forwarding please..

Hi experts, We have windows machine ( A ) in one network & 2 Linux Servers ( B & C ) in another network. There is a firewall between these 2 networks and SSH (TCP/22) & HTTPS (TCP/443) are allowed from A to B only (but not to C). There is no personal firewall / iptables running on any machine.... (1 Reply)
Discussion started by: magnus29
1 Replies

2. Cybersecurity

Stop email forwarding

I want if I send a mail to somebody, he will not be able to forward it to anybody. How it is possible in MS outlook? (1 Reply)
Discussion started by: amisubha
1 Replies

3. Shell Programming and Scripting

Email forwarding to shell script is not working

Trying to redirect email received to shell script using the following command in the .forward file \vudum001, "| /home/vudum001/kk $1" /home/vudum001 : Home directory kk script file in home directory kk file contents echo $1 >>file1 gave 755 access to .forward as well as script... (1 Reply)
Discussion started by: mvudugula
1 Replies

4. Linux

IP Traffic forwarding

Hello All I have the following setup of a network. Client machines sends requests to the server which is (192.168.1.50) running on Ubuntu server 8.04. And this server forwards all incoming traffic from clients to another server (192.168.1.100) when it's available. The availability is checked... (0 Replies)
Discussion started by: Anuradhai4i
0 Replies

5. Cybersecurity

ssh X-forwarding and remote forwarding behind proxy

Hi, from my workplace we use a proxy to connect to the outside world, including external ssh servers. The problem is that the server is seeing the connection coming from the proxy and knows nothing about the client behind it. The ssh connection itself works fine, but x-forwarding does not work as... (1 Reply)
Discussion started by: vampirodolce
1 Replies

6. Solaris

mail forwarding

Hello everybody, I have solaris 10 running on SF v890, I need to forward some sepecific root mails resulted from some application, (or all root mails) to other machine running Solaris 10 also. does it have anything to do with mail relay, or just change the log settings??? Thanks in Advance... (1 Reply)
Discussion started by: aladdin
1 Replies

7. UNIX for Dummies Questions & Answers

Email forwarding ? Help !

Hi, I'd like to forward my Emails from my domain to my gmx and web.de accounts. For example: bla@blabla.de to bla@gmx.de blabla@blabla.de to bla@web.de How to do this ? I know that .forward forwards all emails to one account, but that's not what I want. (8 Replies)
Discussion started by: sai
8 Replies

8. IP Networking

ip forwarding

Can anyone out there explain to me how to multi home a nic? I hate to say it but I'm a windows guy forced to learn Unix. The issue I currently have is I can't changed the ip on eth0, but in order to make it pingable by other servers I need to multi home the nic with a totally seperate Ip. Any help... (1 Reply)
Discussion started by: win2khater
1 Replies

9. Shell Programming and Scripting

virus forwarding ?

Hello, I have created a .forward file to automatically forward all e-mails from my unix account to a webmaster account. I want to know if an e-mail that is carrying a virus could infect my server or the server with the webmaster account, or both servers ? (2 Replies)
Discussion started by: silver40
2 Replies

10. IP Networking

IP Forwarding - Newbie Qu

I'm looking to enable IP forwarding from a private LAN thru a Solaris Unix box onto a general LAN. Can Anyone tell me how to go about it ? An example of hte command line would be a great help. Thanx (5 Replies)
Discussion started by: ianf
5 Replies
Login or Register to Ask a Question