Sending emails from outlook using aliases

0

So I have a personal email account personal@domain.com
This email is a catch all address for the domain, setup on a Linux server using postfix/dovecot (IMAP/SMTP). I never share the email directly with anyone, and different people have different aliases. Under Thunderbird, this works great, I can choose any custom "FROM" address, postfix will never complain that this FROM address is different from the authenticated smtp address, and no trace of the real address is present anywhere in the headers.
Outlook on the other hand.. Just can't get its head around the concept, and I don't see how I can do that.
When I send an email from "alias1@domain.com" using outlook, the email will contain a "sender:" header which is "personal@domain.com", completely defeating the purpose. A simple header_checks in Postfix removed this "sender:" header, but there is also the first "MAIL FROM:" command which is personal and not the alias.

So my question is one of two.

1) Can I get Outlook to understand I really really want only the alias to show up and for all intents and purposes show up as if it's a real email (Just like Thunderbird handles it)?
I don't mind any level of Outlook hacking, and if I have to dabble with some VB to do it, I won't mind, just point me to some resources of how I can on-the-fly modify an email being sent.

2) Can I do it in Postfix? I tried this in header_checks:

/^Sender:/        IGNORE
/^MAIL\ FROM:\ <personal@domain.com>/ REPLACE MAIL FROM: <xxxxxxxxx@domain.com>

The first line successfully removes the Sender header (Which has the horrible effect of displaying "From XX on behalf of YY"), but the second one is not catching the other instances of personal appearing in headers, namely "MAIL FROM:" which is then translated to "Return Path".

Any pointers appreciated.

Waleed Hamra

Posted 2017-05-19T14:56:19.433

Reputation: 504

How exactly do you set the "From" field in Outlook? – thims – 2017-05-19T17:21:52.900

@thims depends on Outlook version, but in the mail compose window, under the Options tab, you can enable editing the "From:" field. In newer Outlook, it's enabled by default, you click on "From:" and edit it. – Waleed Hamra – 2017-05-20T20:02:49.853

Answers

0

  1. Create a second email account in Outlook using the alternate From address.
  2. Use 127.0.0.1 for the incoming server so Outlook cannot successfully download email for the account (should this be possible).
  3. Specify a valid outbound server. Enter alternate credentials to be used to send mail if the alternate account can't be used to authenticate with the outbound server.
  4. Remove the alternate account from Outlook's scheduled and manual send & receive groups. This prevents unwanted errors when Outlook downloads new mail.

Now when composing new messages, change the From: drop-down to the alternate account to send messages from this address.

I say Reinstate Monica

Posted 2017-05-19T14:56:19.433

Reputation: 21 477

That would have been viable if I had just one alias. But as it stands, there are dozens. – Waleed Hamra – 2017-05-20T10:20:19.353

Regardless how many aliases there are, this is how you do what you've asked. – I say Reinstate Monica – 2017-05-20T11:23:06.990