Sorry for my poor questions and explaing the problems I'm having.
1) I login on my IMAP. There I have multiple dirs with emails of different domains of mine. I like this way too have all my mails under one account.
The problem is (with Outlook), when I send a email with my IMAP I can fill a domain in the 'From'-field in Outlook. Outlook doesn't have a problem with that, BUT when you add a account, you have too tell Outlook for what mail this account is supposed. Atm I filled in
alitrix@alitrix.nl
Outlook adds MAIL FROM:
alitrix@alitrix.nl to the email and postfix translate this too Return-Path. But the From-field is, let say,
alitrix@myotheralitrixdomain.nl.
When somebody else opens the email, he sees:
alitrix@myotheralitrixdomain.nl behalf of
alitrix@alitrix.nl
I don't want that. It's less professional and a bit annoying. PLUS some clients try too reply with the Return-Path, instead of the From-address.
Hopefully this explains my problem.
2) I want to write my own script and "link" it with postfix through pipe.
I'm a programmer, so I'd like to learn what the best is to do that. I've have some ideas of a email-ticket system, which I'm planning too build.
Greetz,
Ali