[MlMt] Return-Path when sending message using an alias
Tom Kerswill
tom at tomkerswill.co.uk
Tue Mar 30 01:57:04 EDT 2021
Thanks for the response! Okay, perhaps the return path is a red herring. I
guess maybe there's something else I'm missing. I'll try rephrasing as a
slightly different question.
I use Gmail, and have 5 addresses that I can 'send from'. These are
verified in the Gmail interface.
When I use the Gmail interface, or other mail clients, I am able to choose
the from address from this list. This email then gets sent via that
service's smtp server, since Gmail sees the from address and routes to that
smtp server.
I have also added some of those addresses to mailmate, as a comma separated
list. Mailmate shows those addresses as selectable when sending email, and
automatically selects the right one.
When I use mailmate to 'send as' one of these addresses, Gmail rejects it.
When I look at the headers of that sent mail, they are different from
messages sent by other mail clients or Gmail itself. The messages from
mailmate do have the correct from address, but my actual Gmail address also
appears to be there as a Return-Path header.
Is it possible to use mailmate with Gmail, to send as a different email
address, similar to what I do with other mail clients? What are the steps
to do this?
Thanks in advance,
Tom
On Mon, 29 Mar 2021, 19:46 Pete Resnick, <resnick at episteme.net> wrote:
> On 29 Mar 2021, at 8:14, Tom Kerswill wrote:
>
> > Hi
> >
> > I used Gmail, and have that account set up in Mail Mate. I have a few
> > different "Send Mail As" entries in Gmail. I have entered these into
> > the mailbox properties in MailMate. I am then able to select one of
> > these From addresses.
> >
> > When I do this, Gmail rejects my message due to anti-spoofing.
> >
> > I compared the headers in the MailMate message, with one sent by the
> > web interface. I found that MailMate changes the "From" address to the
> > correct one. However, it seems to leave the "Return-Path" header set
> > to my default email address.
> >
> > Is there a way to have MailMate either not sent the Return-Path
> > header, or for that to match the From address?
> >
> > Thanks
> >
> > Tom
>
> Remember, the Return-Path: header field is not added by MailMate; it is
> added by the receiving system, and uses the address that was in the MAIL
> FROM command in SMTP. So you're really asking what determines the MAIL
> FROM address in SMTP for MailMate. I can't figure out how to change
> that.
>
> pr
> --
> Pete Resnick https://www.episteme.net/
> All connections to the world are tenuous at best
> _______________________________________________
> mailmate mailing list
> mailmate at lists.freron.com
> https://lists.freron.com/listinfo/mailmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20210330/659cf835/attachment.htm>
More information about the mailmate
mailing list