Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #270711

Re: sendmail and starttls failing

From Tim Woodall <debianuser@woodall.me.uk>
Newsgroups linux.debian.user
Subject Re: sendmail and starttls failing
Date 2024-07-01 18:40 +0200
Message-ID <IVsel-6Y7u-21@gated-at.bofh.it> (permalink)
References <IV585-6Io7-1@gated-at.bofh.it> <IVahr-6LDn-11@gated-at.bofh.it> <IVar8-6LGk-9@gated-at.bofh.it> <IVbnb-6MhI-1@gated-at.bofh.it> <IVlwd-6U9E-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 1 Jul 2024, Tim Woodall wrote:

> On Sun, 30 Jun 2024, Tim Woodall wrote:
>
>> On Sun, 30 Jun 2024, Michael Grant wrote:
>> 
>>> Yeah I'm seeing this too!  Identical in fact.  This is what I did to
>>> fix this:  I added this to my /etc/mail/access file for my local
>>> server that sends this messages to me:
>>>
>>>    SRV_Features:127.0.0.1  L U G
>>> 
>>> Specifically, I added the U and G features, (I already had the L
>>> feature disabled for localhost).  Uppercase letter disables the
>>> feature, lowercase enables it.
>>> 
>>> I found the U and G mentioned here:
>>> 
>>> https://forums.oracle.com/ords/apexds/post/solaris-11-4-sendmail-issue-after-sendmail-8-18-1-update-7312
>>> 
>>> I did not try this suggestion to use U2 and G2 that he mentioned.  If
>>> you do let me know.
>>> 
>> 
>> Thanks!
>> 
>> I've just added u2 g2 and it seems to work. My quick test had bare LF
>> removed and bare CR replaced by space which isn't what I expected but is
>> good enough...
>> 
>> 
>> 
> Actually, in bookworm this only seems to work with cr. mail wasn't
> sending a lf and my email client was not displaying ^f
>
> This works for testing cr and lf.
> echo -ne 'Subject: test\n\ncr\rcr/lf\nlf' | /usr/sbin/sendmail -i -- root
>
>
This is what I see in sendmail logs:
Jul  1 17:06:55 dirac sm-mta[21391]: 461G6tQr021391: collect: relay=localhost, from=<root@dirac.home.woodall.me.uk>, info=Bare carriage return (CR) not allowed, where=body, status=replaced

I don't think bare LF are a problem for sendmail which is why I suspect
they're not being replaced.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

sendmail and starttls failing Michael Grant <mgrant@grant.org> - 2024-06-30 18:00 +0200
  Re: sendmail and starttls failing Michael Grant <mgrant@grant.org> - 2024-06-30 18:40 +0200
    Re: sendmail and starttls failing Tim Woodall <debianuser@woodall.me.uk> - 2024-06-30 20:40 +0200
  Re: sendmail and starttls failing Tim Woodall <debianuser@woodall.me.uk> - 2024-06-30 23:30 +0200
    Re: sendmail and starttls failing Michael Grant <mgrant@grant.org> - 2024-06-30 23:40 +0200
      Re: sendmail and starttls failing Tim Woodall <debianuser@woodall.me.uk> - 2024-07-01 00:40 +0200
        Re: sendmail and starttls failing Tim Woodall <debianuser@woodall.me.uk> - 2024-07-01 11:30 +0200
          Re: sendmail and starttls failing Tim Woodall <debianuser@woodall.me.uk> - 2024-07-01 18:40 +0200
    Re: sendmail and starttls failing Tim Woodall <debianuser@woodall.me.uk> - 2024-07-01 00:10 +0200
      Re: sendmail and starttls failing Greg Wooledge <greg@wooledge.org> - 2024-07-01 00:20 +0200
        Re: sendmail and starttls failing Tim Woodall <debianuser@woodall.me.uk> - 2024-07-01 00:30 +0200
          Re: sendmail and starttls failing Mark Fletcher <mark27q1@gmail.com> - 2024-07-01 10:50 +0200
            Re: sendmail and starttls failing Tim Woodall <debianuser@woodall.me.uk> - 2024-07-01 11:20 +0200
            Re: sendmail and starttls failing Greg Wooledge <greg@wooledge.org> - 2024-07-01 13:30 +0200
        Re: sendmail and starttls failing Jeffrey Walton <noloader@gmail.com> - 2024-07-01 00:50 +0200
      Re: sendmail and starttls failing Jeffrey Walton <noloader@gmail.com> - 2024-07-01 00:50 +0200

csiph-web