Re: return-path header

 
From: "孙志勇 455750938@PROTECTED [Dada Mail Developers]" <dadadev@PROTECTED>
In-Reply-To: (no subject)
Date: April 27th 2015
sending via smtp also not work, still no return-path header. I have ever used qmail server, also not have return-path header. now test with another smtp(DNS name server, do not know what it is) , also not have.
What I want to tell by talking about DKIM in previous email is that, the email server do not recognize the real sender without a return-path. If in the file /DADA/Mail/Send.pm  :
    if($local_li->{print_return_path_header} == 1){
        if($local_li->{verp_return_path} == 1){ 
            $fields{'Return-Path'} = '<'. $self->_verp($fields{To}) .'>'; 
        }else{
            $fields{'Return-Path'} =  '<'. $local_li->{admin_email} . '>'; 
        }
    }

below the above script I add below script:
    if($local_li->{print_return_path_header} == 1){
        if($local_li->{verp_return_path} == 1){ 
            $fields{'Sender'} = '<'. $self->_verp($fields{To}) .'>'; 
        }else{
            $fields{'Sender'} =  '<'. $local_li->{admin_email} . '>'; 
        }
    }

Now the server know the real sender(admin email bounce@PROTECTED), and add DKIM to the email header, also of course add "Sender" header in the email. But still there is no return-path header.

It seems there is something wrong with dadamail?

------------------ Original ------------------
From:  "dadadev";<dadadev@PROTECTED>;
Date:  Mon, Apr 27, 2015 05:11 AM
To:  "Rex"<455750938@PROTECTED>;
Subject:  [dadadev] Re: return-path header


The option, "Print the 'Return-Path' header in all list emails" probably will work, but the Return-Path header will be ignored by your mail server - it's a pretty useless option and, as you can see, it's tucked away under the, "Misc. Options". I used to use it when the server I was hosted at was running w/Qmail.

Dada Mail then, can only hint to the mail server what the Return-Path should be, and the mail server will ultimately decide what to set it as. Strange it doesn't set it to anything though. The sendmail command that comes with Postfix does talk about the -f header:

http://www.postfix.org/sendmail.1.html

For its description, it seems to be doing the right thing. So, good mystery to me. Perhaps attempt to send that same server via SMTP?

Can't comment myself on the DKIM problems - that should be happening in the mail server itself.

--

Justin J: Lead Dadaist.
url:         http://dadamailproject.com
email:    justin@PROTECTED
twitter:  @dadamail
skype:   leaddadaist

Dada Mail Announcements:
http://dadamailproject.com/cgi-bin/dada/mail.cgi/list/dada_announce/






> On Apr 26, 2015, at 2:41 PM, ËïÖ¾ÓÂ 455750938@PROTECTED [Dada Mail Developers] > <""ËïÖ¾ÓÂ 455750938@PROTECTED [Dada Mail Developers]\"" <dadadev@PROTECTED>>> wrote:
>
> Hello, Im using dadamail , sending email by sendmail, checked "Add the Sendmail '-f' flag when sending messages using /usr/sbin/sendmail " and "Print the 'Return-Path' header in all list emails",  the mail server is postfix, but there is no "Return-Path" in outgoing email header, is it the problem of dadamail or the problem of postfix?
>
> the server add DKIM for domain "mail.mycorp.com", but no DKIM for domain "mycorp.com". when I set admin email(return-path) as bounce@PROTECTED and owner email(From) as info@PROTECTED, there is no DKIM in the outgoing email. so obviously admin email as return path does not work.
>
> Any one know? thanks.
> • Post: mailto:dadadev@PROTECTED
>
> • Unsubscribe »
>
> • Manage Your Subscription »
>

 

--

* Post:
    mailto:dadadev@PROTECTED
* Manage Your Subscription:
    http://dadamailproject.com/cgi-bin/dada/mail.cgi/profile_login/455750938/qq.com/
* Unsubscribe:
    http://dadamailproject.com/cgi-bin/dada/mail.cgi/t/REMOVED/=
  • This mailing list is a public mailing list - anyone may join or leave, at any time.
  • This mailing list is a group discussion list (unmoderated)
  • Start a new thread, email: dadadev@dadamailproject.com

This is the developer discussion mailing list for Dada Mail.

If you are just looking for support Dada Mail, consult the message boards at:

https://forum.dadamailproject.com

Documentation for Dada Mail:

https://dadamailproject.com/d

Specifically, see the Error FAQ:

https://dadamailproject.com/d/FAQ-errors.pod.html

To post to this list, send a message to:

mailto:dadadev@dadamailproject.com

All subscribers of this list may post to the list itself.

Topics that are welcome:

  • Constructive critiques on the program (I like, "x", but, "y" needs some work - here's an idea on how to make this better...)
  • Bug/Error reports
  • Bug fixes
  • Request For Comments on any changes to the program
  • Help customizing Dada Mail for your own needs
  • Patches
  • Language Translations
  • Support Documentation/Doc editing, FAQ's, etc.
  • Discussion of any changes that you would like to be committed to the next version of Dada Mail -

Dada Mail is on Github:

https://github.com/justingit/dada-mail/

If you would like to fork, branch, send over PRs, open up issues, etc.

Privacy Policy:

This Privacy Policy is for this mailing list, and this mailing list only.

Email addresses collection through this mailing list are used explicitly to work within this email discussion list.

We only collect email addresses through our Closed-Loop Opt-In system.

We don't use your email address for any other purpose.

We won't be sharing your email address with any other entity.

Unsubscription can be done at any time. Please contact us at: justin@dadamailproject.com for any help regarding your subscription, including removal from the mailing list.

All mailing list messages sent from us will include a subscription removal link, which will allow you to remove yourself from this mailing list automatically, and permanently.

All consent to use your email address for any other purpose stated at the time of the mailing list subscription will also be revoked upon mailing list removal.