LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2003, 10:11 PM   #1
ImAnEwBiE
Member
 
Registered: Jul 2003
Location: Philippines
Posts: 31

Rep: Reputation: 15
mail forwarding in exim(Very newbi question)


Im running exim and i need to have forwarding running.. for example.. user1@mydomain.com mails must be forwarded to account@domain.com. How can i do this?What do i need to install?
 
Old 10-28-2003, 06:37 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Is user1@mydomain.com a real user on your system? If that is true you could create a .forward file in the user's home directory. Check that the "userforward:" part of exim.conf is correct as well.
A very simple solution but it should work.

If this applies to all users at some domain, read up on the Exim FAQ over at exim.org. Here's a snippet:
Quote:
Q0316: I would like to forward all incoming email for a particular domain to another host via SMTP. Whereabouts would I configure that?

A0316: Use this as your first router:

special:
driver = manualroute
transport = remote_smtp
route_list = the.particular.domain the.other.host

You will also need to adjust the ACL for incoming SMTP so that this domain is accepted for relaying. If you are using the default configuration, there is a domain list called relay_domains that is set up for this.
Håkan
 
Old 10-28-2003, 10:24 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
in /etc/aliases or you designated aliases file you can use this

user1: account@domain.com

you could also add more destinations on the same line

run this command to update your mail server, and then reload it

newaliases
 
  


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
Mail Forwarding in postfix/maildrop/redhat (like yahoo mail forwarding) topcat Linux - Software 1 08-31-2007 01:10 PM
Mail Forwarding Debian Woody (Exim Teapop) Masai Linux - Software 1 07-01-2004 02:16 AM
Loser Newbi question of the day konomi Fedora 3 04-07-2004 01:13 PM
exim mail server cirofren Linux - Networking 8 12-15-2003 11:44 PM
real short newbi question (bash) sleepwalker1.0 Programming 2 10-26-2002 05:06 AM


All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration