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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-07-2015, 05:42 AM
|
#1
|
LQ Newbie
Registered: Apr 2015
Location: Czech republic
Distribution: Gentoo, Debian, Ubuntu, CentOS
Posts: 17
Rep:
|
Postfix/Dovecot hide "to" address for alias
Hello,
I have a question, how can I rewrite "to" addresses in mail headers, if the address is an alias?
Example... I have address all@my.company - alias for all employees. I don't want to everybody know that address, so is there a way, how to rewrite on delivery every use of "all@my.company" to real email address of recipient, or at least something like "hidden_address"?
Thank you
|
|
|
05-08-2015, 07:05 AM
|
#2
|
Senior Member
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Rep:
|
BCC
|
|
|
05-11-2015, 01:04 AM
|
#3
|
LQ Newbie
Registered: Apr 2015
Location: Czech republic
Distribution: Gentoo, Debian, Ubuntu, CentOS
Posts: 17
Original Poster
Rep:
|
No, BCC can hide additional addresses, but I want to hide one address, which is alias for more addresses. In the headers there is still visible original "to" address even if it is BCC.
|
|
|
05-11-2015, 07:31 AM
|
#4
|
Senior Member
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Rep:
|
Doesn't matter the TO: address will be left blank and the BBC will still send out the mail.
|
|
|
05-11-2015, 08:42 AM
|
#5
|
LQ Newbie
Registered: Apr 2015
Location: Czech republic
Distribution: Gentoo, Debian, Ubuntu, CentOS
Posts: 17
Original Poster
Rep:
|
Code:
Return-Path: <sender@sender.domain>
Delivered-To: mymail@my.domain
Received: from localhost (localhost [127.0.0.1])
by mail.my.domain (Postfix) with ESMTP id 607D9ABA36
for <ALIAS@my.domain>; Mon, 11 May 2015 15:38:04 +0200 (CEST)
This is what I am talking about.... how to prevent show alias in header? This is part of header, ALIAS@my.domain was in BCC. I know, I can make list of recipients and use it in my client in BCC field, but alias is generated automatically for all mailboxes in my domain, so when I create new mailbox, there is no need for manage some lists, groups etc
Last edited by Michal Pastor; 05-11-2015 at 08:51 AM.
|
|
|
05-11-2015, 09:45 AM
|
#6
|
Senior Member
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Rep:
|
Not sure how much plainer I can state this. Do not use the TO: field. Use the BBC: field. Then the recipients will not see your Alias.
|
|
|
05-12-2015, 12:51 AM
|
#7
|
LQ Newbie
Registered: Apr 2015
Location: Czech republic
Distribution: Gentoo, Debian, Ubuntu, CentOS
Posts: 17
Original Poster
Rep:
|
The address of alias in log IS in BCC, TO is to myself.
|
|
|
05-12-2015, 09:51 AM
|
#8
|
Senior Member
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Rep:
|
OK, you got me lost now. BBC are not shown in the headers. If you are seeing the alias in the TO field then you or your program are placing it there.
|
|
|
05-13-2015, 01:16 AM
|
#9
|
LQ Newbie
Registered: Apr 2015
Location: Czech republic
Distribution: Gentoo, Debian, Ubuntu, CentOS
Posts: 17
Original Poster
Rep:
|
BCC is shown in headers only if I send e-mail to alias from outside and only for addresses in this alias... If I send it to my alias ALL@my.domain and person@other.domain , both as BCC, person can not see ALL and ALL cannot see person, but every member of ALL can see, that original message is sent to ALL and this is what I want to hide. I have one external application, which need to send some message to this alias.
|
|
|
05-13-2015, 10:53 AM
|
#10
|
Senior Member
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Rep:
|
I am not sure I am not understanding what you are trying to say or you are not understanding what I am saying.
With BCC the recipients will not see your BCC field thus your alias is protected from them.
|
|
|
All times are GMT -5. The time now is 03:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|