[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: RE: applet "sendmail" remarks
From: Brecht Ameije <bam () abm ! be>
Date: 2012-04-18 13:12:19
Message-ID: d686a417-0158-4f79-a022-cbe2787a31a5 () abm ! be
[Download RAW message or body]
On Wed 28 apr 2012 0:27, ralda@gmx.de wrote:
>
> Hi !
>
> > 2nd: "-f sender" option
> > But I've noticed that it's not used!
>
> > I send mails using:
> >
> > cat header.txt /mnt/jffs2/report-20120404-153857174.csv | busybox
> > sendmail -f testserver@abm.be -S mailserver.abm.be
> >
> > where header.txt contains my from: / to: / subject: lines.
> > I see that the address in the "from:" line in header.txt is used
> > instead of the -f option. And when I leave out the from: line, my
> > outlook client receives an email with an empty "from:" field...
> >
> > Any suggestions?
>
> The -f option shall set the mail envelope address, which is NOT the "From" in the
> header of your mail! This is a big difference which is got wrong by many users.
> The envelope addresses (sender/recipients) are transmitted during the SMTP
> handshake and usually become not part of the message header. Beside this
> some MTAs/MDAs put envelope addresses in other mail headers (for comment
> purposes), so you may see your envelope addresses if you look closely to all
> your message headers.
Thanks, that's clear. The address from the -f option appears in "Return-Path:" when I \
check the RAW message. Is there a reason why one would want to use a different \
address in the "Return-Path" field and in the "FROM" field?
Brecht
>
> --
> Harald
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic