?
Solved

How do you forward emails?

Posted on 2000-03-01
5
Medium Priority
?
232 Views
Last Modified: 2013-12-16
How do you forward emails?

I using sendmail

0
Comment
Question by:will_do
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 200 total points
ID: 2574728
Are you asking how to get the system to auto-forward a particular user's email? If so...

The ordinary way is to just put a .forward file containing the desired address in that users home dir. The exception to this would be if the system was running the Cyrus IMAP service (which by default diables forwarding) of if sendmail had been configured for a non-standard forward.

The other method is to add a alias to sendmail's aliases file, typically /etc/aliases (/etc/mail/aliases on Solaris). Remeber to run newaliases after adding the entry.
0
 
LVL 2

Expert Comment

by:bernardh
ID: 2574804
Forwarding of SMTP messages is not permitted by default, as of sendmail version 8.9.

One simple approach is to list the domains you are willing to relay in the file /etc/mail/relay-domains.

You must then restart sendmail after this file is modified.

0
 
LVL 40

Expert Comment

by:jlevie
ID: 2574816
Bernardh, actually it's relaying that's disabled by default in 8.9, not forwarding.
0
 

Author Comment

by:will_do
ID: 2574839
well anyway i put the .forward file in and it works

thankyou for your help
0
 
LVL 2

Expert Comment

by:bernardh
ID: 2577318
yeah right.
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month10 days, 6 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question