LinuxQuestions.org
Visit Jeremy's Blog.
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 09-21-2017, 12:13 PM   #1
timfox123
LQ Newbie
 
Registered: Sep 2017
Posts: 1

Rep: Reputation: Disabled
WebApp sends email from postfix, we need to redirect the email: a@b.com to c@d.com


We have a an app that is in production and it has email notifications from postfix in it.

An example of email notifcations could be:
johnM@yahoo.com "you created record 123"
paul@hotmail.com "you created record 456"
george@gmail.com "you created record 789"
ringo@gmail.com "you created record 246"

We want to apply a lot testing data to the application for testing purpose however we do not want to spam our users to death.

We need to control each email to send it to a new location instead of the user.
An example:

johnM@yahoo.com > tempaccount@hotmail.com
paul@hotmail.com > tempaccount@gmail.com
george@gmail.com > tempaccount@hotmail.com
ringo@gmail.com > tempaccount@hotmail.com

Would this best be done with a virtusers table ( and how )?
Would this best be done with /etc/aliases ( and how )?

This is in later versions of Redhat ...
Later version of Postfix.
Later, timfox123
 
  


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
sendmail - new setup; sends email out, but will not receive incoming email rAllcorn Linux - Server 1 02-07-2016 09:33 PM
CentOS - Postfix - sends mails to email@example.com sburnay Red Hat 2 09-12-2011 12:30 PM
[SOLVED] Email output of Cron command, sends email but no content? the182guy Linux - Newbie 4 05-28-2010 09:52 AM
How to configure an email server that sends email to hotmail with Fedora? acarri Linux - Server 5 03-10-2010 02:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:53 AM.

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