• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question postfix: add custom line in incoming mail

netc

New Pleskian
hello and excuse my poor English.
hope i'm in the right forum.
i try to find a way to add some custom header to the incoming mail.
so i create /etc/postfix/my_custom_header with this line:
/^X-Original-To: (.*)$/ PREPEND X-Original-dest: $1
but when i reload postfix i have a mail error:
Postfix SMTP server: errors from mail.***.com
....
all i want, is to add a line 'X-Original-dest' in header with the mail adress of X-Original-To cause in all header, i have twice X-Original-To, the first are the right, but the second is with the "To:" address .
i have a account users@domaine.tld without mailbox who forward to user1 and user2 .
user1 and user2 don't have a mailbox, but there's a collector for mails without user account.
so when i send mail to users@domaine.tld, i receive two mail in collector@domaine.tld.
header example:

Return-Path: <me@me.fr>
X-Spam-Checker-Version: xxxxx xxxxx
X-Spam-Level: xxxxxxxxxxxx
X-Spam-Status: xxxxxxxxxxxxxxxxxxxxxx
HTML_MESSAGE xxxxxxxxxxx
X-Original-To: user1@domaine.tld
Delivered-To: collector@domaine.tld
Received: by xxxxxxxxxxxxxxx (Postfix, from userid xxx)

DomainKey-Status: good
X-Original-To: users@domaine.tld
Delivered-To: users@domaine.tld

From: "[NC] me" <me@me.fr>
To: <users@domaine.tld>
Subject: test


can someone help me please.
 
Back
Top