Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-26-2004, 12:09 PM   #1
Registered: Jul 2002
Posts: 35

Rep: Reputation: 15
Qmail Alias Question

I would like to forward email sent to to I believe qmail comes with fastforward that reads the .qmail file in user1234's home directory and forwards it accordingly. I, however, would like to be able to forward emails based on just one file in one directory, not many files in many home directories so that I can add many email addresses into that one file.

Such use for a system would be, for example, to anonymize email addresses in public posts from spammers. Does anybody have suggestions? Thanks.
Old 03-26-2004, 12:32 PM   #2
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110

Rep: Reputation: 15
You should be able to do it by creating a local .qmail file in $HOME for the user by adding


the & is for forwarding message.

try it. it should work. don't forget to restart the service on ther server.

Old 03-26-2004, 03:17 PM   #3
Registered: Jul 2002
Posts: 35

Original Poster
Rep: Reputation: 15

I would like to be able to forward emails without having to create a .qmail file in $HOME for every user on the system. If I understand your suggestion correctly, that would amount to one .qmail file per user per $HOME directory and if I have a 100 people posting that means I have to create a 100 user accounts on the system on top of creating the .qmail files--something I'd rather not do for security reasons.

The goal is to write a program that will generate an anonymized email address for a user, say John Doe, that would be rather than requiring user John Doe to specify his real email address,, whenever he posts to a forum. That anonymized email is listed in a post and any email messages going to the anonymized email address will then be automatically forwarded to In this way, if John Doe tires of receiving unwanted email messages, he can simply delete this anonymized email address from the system through a web interface, create a new one, and no longer be bothered.

I hope I have clariified my question. Thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alias question (2 commands for one alias) gflores Linux - Newbie 3 01-21-2006 12:40 AM
qmail +qmail-qfilter + problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
qmail: setting up alias to go to /dev/null? m3kgt Linux - Software 4 11-18-2003 03:50 PM
alias question tied2 Linux - General 4 08-23-2002 10:50 PM
Qmail - install - TOUCH not working in /alias ... chuch Linux - Newbie 2 02-15-2002 07:51 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration