LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-26-2004, 01:09 PM   #1
LinuxHaven
Member
 
Registered: Jul 2002
Posts: 35

Rep: Reputation: 15
Qmail Alias Question


I would like to forward email sent to user1234@domain1.com to user@domain2.com. 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 userXXXX@domain1.com 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, 01:32 PM   #2
jsokko
Member
 
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

&[userID]@[host]

the & is for forwarding message.

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


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

Original Poster
Rep: Reputation: 15
Hi.

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 user1234@domain1.com rather than requiring user John Doe to specify his real email address, johndoe@domain2.com, 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 johndoe@domain2.com. 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.
 
  


Reply


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 01:40 AM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 12:29 PM
qmail: setting up alias to go to /dev/null? m3kgt Linux - Software 4 11-18-2003 04:50 PM
alias question tied2 Linux - General 4 08-23-2002 11:50 PM
Qmail - install - TOUCH not working in /alias ... chuch Linux - Newbie 2 02-15-2002 08:51 AM


All times are GMT -5. The time now is 12:05 PM.

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