Sponsored Content
Full Discussion: E-mail forwarding
Top Forums UNIX for Dummies Questions & Answers E-mail forwarding Post 430 by PxT on Sunday 3rd of December 2000 10:40:32 PM
Old 12-03-2000
If each user has their own Unix shell account, then you would setup a .forward file in each of their home directories as appropriate. If you have a hosted account with only one true Unix login, but the ability to receive email at multiple addresses within that single login, then things are a little more complicated. A solution is relatively simple if your host system is running qmail rather than sendmail. It would be best to ask your administrator for the best solution if this is the case as they will know the specifics of how your system is setup.

Apache is web-server software, and does not have any control over email.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Forwarding Mail from Unix account

I have a simple question. i have an e-mail account with an ISP on a Solaris box. I want to forward all the mail that comes to "only" me to another POP3 account. I used to have the commands written down on how to forward all but I have lost them. Is there a way to forward only e-mails that... (2 Replies)
Discussion started by: jsillers
2 Replies

2. UNIX for Dummies Questions & Answers

Sendmail - forwarding mail

quick question. I have a webserver that has various scripts for user registration and ect on it. I want to post (mail) these to myself - however I am a bit stuck on how to configure sendmail to do this. The hosting partner that I use has provided me with the use of their relay to send on the... (1 Reply)
Discussion started by: warrend
1 Replies

3. UNIX for Advanced & Expert Users

Forwarding mail with sendmail

Hello, I need to forward mail wich are in some users mailbox. The .forward redirection is working for all new mails but not for old. Is someone know how to do this ? Thanks (2 Replies)
Discussion started by: annececile
2 Replies

4. UNIX for Dummies Questions & Answers

.forward and alias mail forwarding questions

I am trying to configure sendmail to forward email to a PHP script. I don't know UNIX and am having trouble figuring out how to forward the mail. I think this is just a bunch of basic questions, but I have had little luck getting help elsewhere on my specific questions and it's driving me nuts. You... (3 Replies)
Discussion started by: bitt3n
3 Replies

5. IP Networking

Mail forwarding in small network with mailserver

Hi, My small network consists of a mail server(postfix) and 2 clients. I want to configure the clients so that all the mail they send is sent through the mailserver. I want to forward all outgoing mail to the mail server. How should I configure the clients to achieve this? Thanks for... (1 Reply)
Discussion started by: hjallebk
1 Replies

6. 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

7. Solaris

mail forwarding

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

8. AIX

Forwarding already received mail?

Greetings to all of you. I am a tad desperate here. I have found MANY articles scattered across the internet from google searches and unix.com searches for how to forward mail that say: Create a ~/.forward file and put XXXX in it. This is not what I need to do. We have bunch of users... (1 Reply)
Discussion started by: DennisC31
1 Replies

9. UNIX for Dummies Questions & Answers

Forwarding Mail in AIX 5.3

Hello everyone, I am trying to create a forwarding scenario, and I do not seem to get it right! I created a .forward file in the directory where my personal mailbox resides. In the file is the full address to deliver email to ... yet the emails do not seem to get forwarded. Is there something... (3 Replies)
Discussion started by: gio001
3 Replies

10. UNIX for Dummies Questions & Answers

Forwarding mail via Pine

I am asking about my work account, running Linux on a system server. On pine, I set up a forward to another email account. I also keep a copy in the original account. The forward has been running fine for some time. I believe the system sends the mail first to the forwarded account and then puts... (0 Replies)
Discussion started by: BLabel
0 Replies
qmail-getpw(8)						      System Manager's Manual						    qmail-getpw(8)

NAME
qmail-getpw - give addresses to users SYNOPSIS
qmail-getpw local DESCRIPTION
In qmail, each user controls a vast array of local addresses. qmail-getpw finds the user that controls a particular address, local. It prints six pieces of information, each terminated by NUL: user; uid; gid; homedir; dash; and ext. The user's account name is user; the user's uid and gid in decimal are uid and gid; the user's home directory is homedir; and messages to local will be handled by home- dir/.qmaildashext. In case of trouble, qmail-getpw exits nonzero without printing anything. WARNING: The operating system's getpwnam function, which is at the heart of qmail-getpw, is inherently unreliable: it fails to distinguish between temporary errors and nonexistent users. Future versions of getpwnam should return ETXTBSY to indicate temporary errors and ESRCH to indicate nonexistent users. RULES
qmail-getpw considers an account in /etc/passwd to be a user if (1) the account has a nonzero uid, (2) the account's home directory exists (and is visible to qmail-getpw), and (3) the account owns its home directory. qmail-getpw ignores account names containing uppercase let- ters. qmail-getpw also assumes that all account names are shorter than 32 characters. qmail-getpw gives each user control over the basic user address and all addresses of the form user-anything. When local is user, dash and ext are both empty. When local is user-anything, dash is a hyphen and ext is anything. user may appear in any combination of uppercase and lowercase letters at the front of local. A catch-all user, alias, controls all other addresses. In this case ext is local and dash is a hyphen. You can override all of qmail-getpw's decisions with the qmail-users mechanism, which is reliable, highly configurable, and much faster than qmail-getpw. SEE ALSO
qmail-users(5), qmail-lspawn(8) qmail-getpw(8)
All times are GMT -4. The time now is 07:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy