08-02-2009
I'd you're receiving mail on that host you must have an mta. Ie, exim, postfix, sendmail, etc. Just put in a forwarding rule. Exim is very good for this purpose.
Last edited by Beaknit; 08-02-2009 at 12:42 PM..
Reason: Typo
10 More Discussions You Might Find Interesting
1. IP Networking
I'm looking to enable IP forwarding from a private LAN thru a Solaris Unix box onto a general LAN. Can Anyone tell me how to go about it ? An example of hte command line would be a great help.
Thanx (5 Replies)
Discussion started by: ianf
5 Replies
2. Shell Programming and Scripting
Hello,
I have created a .forward file to automatically forward all e-mails from my unix account to a webmaster account.
I want to know if an e-mail that is carrying a virus could infect my server or the server with the webmaster account, or both servers ? (2 Replies)
Discussion started by: silver40
2 Replies
3. IP Networking
Can anyone out there explain to me how to multi home a nic? I hate to say it but I'm a windows guy forced to learn Unix. The issue I currently have is I can't changed the ip on eth0, but in order to make it pingable by other servers I need to multi home the nic with a totally seperate Ip. Any help... (1 Reply)
Discussion started by: win2khater
1 Replies
4. UNIX for Dummies Questions & Answers
Hi, I'd like to forward my Emails from my domain to my gmx and web.de accounts. For example:
bla@blabla.de to bla@gmx.de
blabla@blabla.de to bla@web.de
How to do this ? I know that .forward forwards all emails to one account, but that's not what I want. (8 Replies)
Discussion started by: sai
8 Replies
5. Solaris
Hello everybody,
I have solaris 10 running on SF v890, I need to forward some sepecific root mails resulted from some application, (or all root mails) to other machine running Solaris 10 also.
does it have anything to do with mail relay, or just change the log settings???
Thanks in Advance... (1 Reply)
Discussion started by: aladdin
1 Replies
6. Cybersecurity
Hi,
from my workplace we use a proxy to connect to the outside world, including external ssh servers.
The problem is that the server is seeing the connection coming from the proxy and knows nothing about the client behind it. The ssh connection itself works fine, but x-forwarding does not work as... (1 Reply)
Discussion started by: vampirodolce
1 Replies
7. Linux
Hello All
I have the following setup of a network. Client machines sends requests to the server which is (192.168.1.50) running on Ubuntu server 8.04. And this server forwards all incoming traffic from clients to another server (192.168.1.100) when it's available. The availability is checked... (0 Replies)
Discussion started by: Anuradhai4i
0 Replies
8. Shell Programming and Scripting
Trying to redirect email received to shell script using the following command
in the .forward file
\vudum001, "| /home/vudum001/kk $1"
/home/vudum001 : Home directory
kk script file in home directory
kk file contents
echo $1 >>file1
gave 755 access to .forward as well as script... (1 Reply)
Discussion started by: mvudugula
1 Replies
9. Cybersecurity
I want if I send a mail to somebody, he will not be able to forward it to anybody. How it is possible in MS outlook? (1 Reply)
Discussion started by: amisubha
1 Replies
10. UNIX for Advanced & Expert Users
Hi experts,
We have windows machine ( A ) in one network & 2 Linux Servers ( B & C ) in another network. There is a firewall between these 2 networks and SSH (TCP/22) & HTTPS (TCP/443) are allowed from A to B only (but not to C). There is no personal firewall / iptables running on any machine.... (1 Reply)
Discussion started by: magnus29
1 Replies
forward(4) Kernel Interfaces Manual forward(4)
NAME
forward - forward mail
SYNOPSIS
/var/adm/forward/username $HOME/.forward
DESCRIPTION
The .forward file allows a user to forward messages to another host, or to invoke programs (such as vacation(1)) to process their mail. It
is formatted as a series of comma-separated addresses in the form: addr_1, addr_2, ... Alternatively, each address can be on a separate
line.
The newer sendmail.v8 program also allows the use of comments (lines that begin with a ``#'') and blank lines.
As with the aliases(4) file, mail messages can be forwarded to another host or given to programs for further processing. The following is
an example of the vacation program. Assuming that the user's name is myra, create a .forward file and add the following line: myra,
"|/usr/bin/vacation myra"
The previous example forwards mail to myra (the backslash prevents an accidental aliasing loop), and also sends a copy of the message to
the vacation program.
For security reasons, the file must be owned by the user or by root and it should be writable only by the file owner. In addition, the
file must be readable by the owner (myra) or root.
On traditional systems, only the $HOME/.forward file is checked. The sendmail.v8 program allows the use of the system-wide forwarding
directory /var/adm/forward. By default, this directory is checked for a forward file prior to examining the users $HOME directory.
FILES
System-wide forwarding file. The per-user forwarding file.
RESTRICTIONS
The sendmail command can hang trying to read the user's $HOME/.forward file. If the user's home directory is NFS-mounted and temporarily
unavailable, sendmail will stall until the directory becomes available again. The use of non-NFS mounted directories for the forwarding of
files is recommended.
The use of /var/adm/forward is supported only by sendmail.v8.
The actual path for /var/adm/forward is configurable in the sendmail.cf file.
Incorrect file permissions/ownership are quietly ignored.
It is easy to create an accidental loop, for example, on host_a myra@host_b and on host_b myra@host_a
RELATED INFORMATION
Commands: aliases(4), sendmail.cf(4), sendmail(8) delim off
forward(4)