Solved

How do you forward emails?

Posted on 2000-03-01
5
225 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
Comment Utility
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
Comment Utility
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
Comment Utility
Bernardh, actually it's relaying that's disabled by default in 8.9, not forwarding.
0
 

Author Comment

by:will_do
Comment Utility
well anyway i put the .forward file in and it works

thankyou for your help
0
 
LVL 2

Expert Comment

by:bernardh
Comment Utility
yeah right.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
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…
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now