Solved

How do you forward emails?

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

I using sendmail

0
Comment
Question by:will_do
  • 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Choosing CentOS 16 82
how can I get a RHEL kickstart file to attach a specific red hat network subscription ? 9 49
ifconfig 4 46
Bash script - Exit out of choice loop 2 30
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

809 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