• rmail & sendmail

    From kevin shell@21:1/5 to All on Tue Aug 11 00:11:03 2020
    XPost: comp.mail.sendmail

    Hallo.

    What rmail does before execve(2) sendmail?
    What program generates these strings?
    "From "
    "remote from"
    Why it's necessary to run rmail instead of directly running sendmail for uucp?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to kevin shell on Mon Aug 10 22:33:37 2020
    On 8/10/20 6:11 PM, kevin shell wrote:
    Hallo.

    Hi,

    What rmail does before execve(2) sendmail?

    I'm presuming that it extracts the necessary data to provide to sendmail
    and calls sendmail.

    I think that rmail can also process multiple messages in one invocation.
    I don't think that directly translates to invoking sendmail.

    rmail is an abstraction layer that is (indirectly) invoked as part of
    uux reading the mail bag on it's standard input and then splitting it
    out as necessary.

    I'm fairly certain that rmail is called without any parameters and
    assumes that everything is on STDIN. This means that systems sending
    email via UUCP to the receiving system don't need to know anything about
    the receiving system's email configuration.

    What program generates these strings?
    "From "
    "remote from"

    The system sending the email.

    I think that sendmail can generate them for outgoing messages.

    Why it's necessary to run rmail instead of directly running sendmail for uucp?

    See above.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Claus =?iso-8859-1?Q?A=DFmann?= @21:1/5 to kevin shell on Thu Aug 13 16:45:59 2020
    kevin shell wrote:

    What rmail does before execve(2) sendmail?

    The man page claims:
    Rmail interprets incoming mail received via uucp(1), collapsing
    ``From'' lines in the form generated by mail.local(8) into a single
    line of the form ``return-path!sender'', and passing the processed mail
    on to sendmail(8).

    What program generates these strings?
    "From "

    sendmail can do it:
    5.4. M -- Define Mailer
    ...
    n Do not insert a UNIX-style "From" line on the
    front of the message.

    "remote from"

    U This mailer wants UUCP-style "From" lines with the
    ugly "remote from <host>" on the end.


    --
    Note: please read the netiquette before posting. I will almost never
    reply to top-postings which include a full copy of the previous
    article(s) at the end because it's annoying, shows that the poster
    is too lazy to trim his article, and it's wasting the time of all readers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)