Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 05-26-2008, 05:18 AM   #1
LQ Newbie
Registered: May 2008
Posts: 1

Rep: Reputation: Disabled
SLES 10 - Postfix mailer config - Return Path overwritten

A batch mailer is configured for a ReturnPath When sent the ReturnPath is always overwritten to

I have experimented in the file, but can't seem to find the value that would change it. I need this for bounce mail. The mails have to be directed to the mail server. This server can only send mail.

Where do I find that variable?

Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
Message-Id: <>
From: (root)
X-imss-version: 2.051
X-imss-result: Passed
X-imss-scanInfo: M:P L:E SM:0
X-imss-tmaseResult: TT:0 TS:0.0000 TC:00 TRN:0 TV:5.5.1026(15828.000)
X-imss-scores: Clean:0.20207 C:2 M:3 S:5 R:5
X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000)
X-OriginalArrivalTime: 26 May 2008 09:58:14.0585 (UTC) FILETIME=[039D4290:01C8BF17]


inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
#myhostname =
myhostname =
program_directory = /usr/lib/postfix
inet_interfaces = ::1
#masquerade_domains =
masquerade_domains =

#mydestination = $myhostname, localhost.$mydomain
mydestination = *
defer_transports =
mynetworks_style = subnet
disable_dns_lookups = no
relayhost = []
mailbox_command =
mailbox_transport =
strict_8bitmime = no
#disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
Old 05-26-2008, 10:12 PM   #2
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Why do you think it's postfix doing this? I rather doubt that it is. Note that Return path And Sender are different headers.

Perhaps you can lift the level of verbosity on the logs, but I doubt this will help.

That said, what do you have in sender_canonical_maps?

Also have you tried

masquerade_exceptions = root, mailadmin
1 members found this post helpful.


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
Sendmail re-writing return path hammer65 Linux - Software 1 02-01-2007 10:59 AM
procmail config file overwritten?? lmcilwain Linux - Software 2 09-21-2006 08:56 AM
quick question about Postfix mailer cylarz Linux - Software 4 07-23-2006 05:21 PM
Postfix: why is 'Return-Path' of bounce message empty Chowroc Linux - Networking 1 12-28-2005 03:52 AM
Sendmail return path dj_relentless Linux - General 2 06-07-2002 06:40 AM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration