Solved

How do you forward emails?

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Configuring Apache Camel to send and recieive from QPID Broker 2 72
error while installing php56 in redhat enterprise linux 20 101
Can't connect to FTP 18 151
Enable SPF on IMSVA 6 65
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

737 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