Solved

How do you forward emails?

Posted on 2000-03-01
5
231 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 50 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

705 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