Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

forward(1) [debian man page]

forward(1)						      General Commands Manual							forward(1)

NAME
forward - forward new mail to one or more addresses SYNOPSIS
in .qmail: |forward address ... DESCRIPTION
forward forwards each new mail message to the specified list of addresses. It is a simple wrapper around qmail-queue. It achieves the same results as listing each address separately in .qmail, but it is more programmable since address can be constructed on the fly. SEE ALSO
dot-qmail(5), qmail-command(8), qmail-queue(8) forward(1)

Check Out this Related Man Page

qmail-local(8)                                                System Manager's Manual                                               qmail-local(8)

NAME
qmail-local - deliver or forward a mail message SYNOPSIS
qmail-local [ -nN ] user homedir local dash ext domain sender defaultdelivery DESCRIPTION
qmail-local reads a mail message and delivers it to user by the procedure described in dot-qmail(5). The message's envelope recipient is local@domain. qmail-local records local@domain in a new Delivered-To header field. If exactly the same Delivered-To: local@domain already appears in the header, qmail-local bounces the message, to prevent mail forwarding loops. The message's envelope sender is sender. qmail-local records sender in a new Return-Path header field. homedir is the user's home directory. It must be an absolute directory name. dash and ext identify the .qmaildashext file used by qmail-local; see dot-qmail(5). Normally dash is either empty or a lone hyphen. If it is empty, qmail-local treats a nonexistent .qmailext the same way as an empty .qmailext: namely, following the delivery instructions in defaultdelivery. The standard input for qmail-local must be a seekable file, so that qmail-local can read it more than once. OPTIONS
-n Instead of reading and delivering the message, print a description of the delivery instructions. -N (Default.) Read and deliver the message. EXIT CODES
0 if the delivery is completely successful; nonzero if any delivery instruction failed. Exit code 111 indicates temporary failure. SEE ALSO
dot-qmail(5), envelopes(5), qmail-command(8), qmail-queue(8), qmail-send(8), qmail-lspawn(8) qmail-local(8)
Man Page

15 More Discussions You Might Find Interesting

1. New to Unix. Which books should I read?

Unix OR Linux Cert?

Hi, I am an NT MCSE who has decided to abandon the MSCE Win2K path and take the UNIX/Linux Path. But since I am very new to that field, I am not sure exactly what Certification I should get that would cover the biggest area of that field as possible. Not to mention if I should got with... (10 Replies)
Discussion started by: aliissa
10 Replies

2. UNIX for Dummies Questions & Answers

multi-file multi-edit

Good day! I am trying to learn how to use the "sed" editor, to perform multiple edits on multiple files in multiple directories. I have one script that tries to call up each file and process it according to the edits listed in a second script. I am using a small input text to test these, at... (12 Replies)
Discussion started by: kielitaide
12 Replies

3. UNIX for Dummies Questions & Answers

Email forwarding ? Help !

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

4. UNIX for Advanced & Expert Users

searching for a pattern in a file and forwarding result to another

Hi, I am trying to search through a file for a particular word, then once found, I want the search to carry on for another 30 lines and append all this to a new file. For example, I search for the word "test" in hello.txt: <--some code--> <--some code--> <--some code--> test <--some more... (7 Replies)
Discussion started by: ocelot
7 Replies

5. Shell Programming and Scripting

delete and move number forward..in file

I have a file, can I just modify the <number> field and delete the 3rd number and move 4th number to 3rd.. (surely, delete the last digit)? <john> <Number>11 20 03 22 23 21 91 00 F0</Number> <peter> <Number>12 20 03 20 99 21 91 20 F0</Number> <ken> <id> <Number>10 21 03 21 78 21 92... (6 Replies)
Discussion started by: happyv
6 Replies

6. Shell Programming and Scripting

Replace userinput with forward sladh (/)

Hi All, If I wanted to find and replace a line with a user input value that has forward slash, then how to do it? For example I have a script called ./configure.sh which will ask for user to input some path (let's say WPS_HOME). I can read that user input and want to put this value to a... (6 Replies)
Discussion started by: rijeshpp
6 Replies

7. UNIX for Dummies Questions & Answers

Unix mail forwarding

Hi Everyone, I am an intermediate to Unix.I want to forward the incoming messages for my Unix Account 'pdileep' to another mail account 'pdileep@ncmail.com'. I tried out .forward option,but the forwarded message was not there in my Unix Account. My requirement is like,i want to forward... (6 Replies)
Discussion started by: DILEEP410
6 Replies

8. Ubuntu

Connecting to a remote server

Hi, I have an interesting problem. I cannot connect to a personal server I set up. What's interesting is that I can connect to it from the LAN using its non-local IP address. However, I cannot seem to connect to it from anywhere else. Here's how my server is set up: My entire home has a... (8 Replies)
Discussion started by: Altay_H
8 Replies

9. UNIX for Dummies Questions & Answers

Replace Forward Slash with sed

i need to replace '/' forward slash with \/(backward slash follwed by a forward slash) using sed command when the forward slash occurs as a first character in a file.. Tried something like this but doesn't seem to work. find $1 -print0 | xargs -0 sed -i -e 's/^\//\\\//g' Can someone... (19 Replies)
Discussion started by: depakjan
19 Replies

10. UNIX for Dummies Questions & Answers

Problem with X11 Forwarding

Hello. I installed a Debian box, and its installed remotely. I need to boot up iceweasel from there to do a quick test. I log on using: ssh root@<IP> -X I have modified the /etc/ssh/sshd_config file, and added the X11Forwarding yes flag And yet I still get: Error: cannot open... (10 Replies)
Discussion started by: dynelight
10 Replies

11. IP Networking

How to portforward with iptables?

I currently installed openvpn on CentOS 6 64bit and everything is working fine but I want to portforward a client "user" so they can use that port here is what i thought it might work iptables -t nat -A PREROUTING -p udp -d SERVERIP --dport 3074 -j DNAT --to-destination 10.8.0.6:3074 (13 Replies)
Discussion started by: TheSpetsnaz
13 Replies

12. UNIX for Dummies Questions & Answers

Issues with sort and forward slash

I have some directories I am trying to sort. When I attempt to sort them and they are in this format, everything works great: file /vol/trees10 /vol/trees2 /vol/trees7 cat file |sort -ts -k2 -n /vol/trees2 /vol/trees7 /vol/trees10 This makes thefiles in the order... (9 Replies)
Discussion started by: newbie2010
9 Replies

13. Proxy Server

WebSocket over SSH tunnel - is it possible?

Hello, I have a video streaming application that utilizes a WebSocket for the server <-> client communication. My goal is to make the video streaming service available over the internet in the cases where neither the server nor client have public IPs. One way to do this is over a VPN... (8 Replies)
Discussion started by: Vladislav
8 Replies

14. Programming

Setting X-Forwarded-For In C

Question, I've been trying to find information for setting the X-Forwarded-For header in C programs, or basically how spoofing it works. I've seen how to do this in ruby, python, and even with curl. I tried searching Google for it, but have came up empty handed. Any links, examples or advice much... (11 Replies)
Discussion started by: Azrael
11 Replies

15. Red Hat

X11 forwarding doesn't work

hi, I'm trying to run a bash script that starts GUI. Though it says application started when I run this bash script doesn't show up any GUI. Here is what I've tried so far and please let me know if I'm missing something with the X11 set up here. cat /etc/redhat-release Red Hat Enterprise... (8 Replies)
Discussion started by: fop4658
8 Replies