LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-27-2014, 01:46 PM   #1
pointer2null
Member
 
Registered: Mar 2012
Location: Bristol, UK
Distribution: CentOS, Debian
Posts: 32

Rep: Reputation: Disabled
Question postfix - modify email subject for email aliases


I've set up a postfix mail server on my home machine so that any email sent to @myhome.co.uk is forwarded to my gmail account. Gmail won't let me relay from another email addresses/domains (myhone.co.uk in this example) so all the emails have to come from me me@gmail.com

What I am trying to do is set up postfix to it prepends the alias email name to the subject line.

e.g. if the email was sent to linuxquestions@myhome.co.uk with the subject "Hello world" then when it arrives in my gmail account I want the subject to be "[linuxquestions] Hello World"

Is that possible?
 
Old 10-28-2014, 07:06 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
A slightly heavy solution would be to create a mailman list for one user.

http://staff.imsa.edu/~ckolar/mailma...ration-v2.html

Prefix for subject line of list postings. This value will be added to the beginning of the subject line of all list traffic in order to help members identify/filter list traffic. By default the value is the name of the list enclosed in [square brackets]. You may modify this value to something other than the name of the list.
 
  


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
how to prevent everybody in the world to send email to email aliases Winanjaya Linux - Server 4 05-17-2014 10:37 AM
copy and forward email to multiple email servers using postfix haleem Linux - Newbie 1 12-31-2009 05:28 AM
Email server running Postfix will not accept email... trekgirl Linux - Server 12 03-04-2009 02:43 AM
POSTFIX Email Can't Receive External Email rkibui Linux - Newbie 5 02-22-2009 06:45 AM
How do I configure postfix master to forward all email to an email server ? hello321_1999 Linux - Software 1 11-18-2004 05:43 AM

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

All times are GMT -5. The time now is 12:01 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