Discussion:
sendmail AUTH
(too old to reply)
Wolfgang Agnes
2024-11-07 22:47:37 UTC
Permalink
--8<-------------------------------------------------------->8---
(*) Followup-To

comp.mail.sendmail

I suggest we take this thread to comp.mail.sendmail.
--8<-------------------------------------------------------->8---

Here's what I see when I say ``HELP'' to my sendmail:

214-2.0.0 This is sendmail version 8.18.1
214-2.0.0 Topics:
214-2.0.0 HELO EHLO MAIL RCPT DATA
214-2.0.0 RSET NOOP QUIT HELP VRFY
214-2.0.0 EXPN VERB ETRN DSN AUTH
214-2.0.0 STARTTLS
214-2.0.0 For more info use "HELP <topic>".
214-2.0.0 To report bugs in the implementation see
214-2.0.0 http://www.sendmail.org/email-addresses.html
214-2.0.0 For local information send email to Postmaster at your site.
214 2.0.0 End of HELP info

It shows AUTH. But it doesn't show anything else such as PLAIN or
CRAM-MD5. What does that mean? What kind of AUTH support do I have at
the moment?

I have no cyrus packages installed on this FreeBSD. If AUTH suffices to
me, then I wouldn't install anything else.

# pkg info | grep cyrus
#

# uname -a
FreeBSD my.host.name 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64
Andrzej Adam Filip
2024-11-08 04:50:05 UTC
Permalink
Post by Wolfgang Agnes
--8<-------------------------------------------------------->8---
(*) Followup-To
comp.mail.sendmail
I suggest we take this thread to comp.mail.sendmail.
--8<-------------------------------------------------------->8---
214-2.0.0 This is sendmail version 8.18.1
214-2.0.0 HELO EHLO MAIL RCPT DATA
214-2.0.0 RSET NOOP QUIT HELP VRFY
214-2.0.0 EXPN VERB ETRN DSN AUTH
214-2.0.0 STARTTLS
214-2.0.0 For more info use "HELP <topic>".
214-2.0.0 To report bugs in the implementation see
214-2.0.0 http://www.sendmail.org/email-addresses.html
214-2.0.0 For local information send email to Postmaster at your site.
214 2.0.0 End of HELP info
It shows AUTH. But it doesn't show anything else such as PLAIN or
CRAM-MD5. What does that mean? What kind of AUTH support do I have at
the moment?
I have no cyrus packages installed on this FreeBSD. If AUTH suffices to
me, then I wouldn't install anything else.
# pkg info | grep cyrus
#
# uname -a
FreeBSD my.host.name 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64
Supported AUTHentication mechanisms are listed in reply to EHLO
(extended HELO) ESMTP command. EHLO replies list SMTP extensions
supported in the ESMTP session/connection.

:> ehlo xxx
:< 250-mail.example.org Hello localhost [127.0.0.1], pleased to meet you
:< 250-ENHANCEDSTATUSCODES
:< 250-PIPELINING
:< 250-EXPN
:< 250-VERB
:< 250-8BITMIME
:< 250-SIZE
:< 250-DSN
:< 250-ETRN
:< 250-AUTH DIGEST-MD5 CRAM-MD5
:< 250-DELIVERBY
:< 250 HELP
--
[Andrew] Andrzej A. Filip
Wolfgang Agnes
2024-11-08 10:52:48 UTC
Permalink
Post by Andrzej Adam Filip
Post by Wolfgang Agnes
--8<-------------------------------------------------------->8---
(*) Followup-To
comp.mail.sendmail
I suggest we take this thread to comp.mail.sendmail.
--8<-------------------------------------------------------->8---
214-2.0.0 This is sendmail version 8.18.1
214-2.0.0 HELO EHLO MAIL RCPT DATA
214-2.0.0 RSET NOOP QUIT HELP VRFY
214-2.0.0 EXPN VERB ETRN DSN AUTH
214-2.0.0 STARTTLS
214-2.0.0 For more info use "HELP <topic>".
214-2.0.0 To report bugs in the implementation see
214-2.0.0 http://www.sendmail.org/email-addresses.html
214-2.0.0 For local information send email to Postmaster at your site.
214 2.0.0 End of HELP info
It shows AUTH. But it doesn't show anything else such as PLAIN or
CRAM-MD5. What does that mean? What kind of AUTH support do I have at
the moment?
I have no cyrus packages installed on this FreeBSD. If AUTH suffices to
me, then I wouldn't install anything else.
# pkg info | grep cyrus
#
# uname -a
FreeBSD my.host.name 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64
Supported AUTHentication mechanisms are listed in reply to EHLO
(extended HELO) ESMTP command. EHLO replies list SMTP extensions
supported in the ESMTP session/connection.
:> ehlo xxx
:< 250-mail.example.org Hello localhost [127.0.0.1], pleased to meet you
:< 250-ENHANCEDSTATUSCODES
:< 250-PIPELINING
:< 250-EXPN
:< 250-VERB
:< 250-8BITMIME
:< 250-SIZE
:< 250-DSN
:< 250-ETRN
:< 250-AUTH DIGEST-MD5 CRAM-MD5
:< 250-DELIVERBY
:< 250 HELP
Thanks! Then I don't have support for authentication.

--8<-------------------------------------------------------->8---
220 my.host.name ESMTP Sendmail 8.18.1/8.18.1; Fri, 8 Nov 2024 07:51:24 -0300 (-03)
EHLO localhost
250-my.host.name Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-STARTTLS
250-DELIVERBY
250 HELP
--8<-------------------------------------------------------->8---

I'll have to recompile Sendmail.
Andrzej Adam Filip
2024-11-08 16:50:57 UTC
Permalink
Post by Wolfgang Agnes
--8<-------------------------------------------------------->8---
(*) Followup-To
comp.mail.sendmail
I suggest we take this thread to comp.mail.sendmail.
--8<-------------------------------------------------------->8---
214-2.0.0 This is sendmail version 8.18.1
214-2.0.0 HELO EHLO MAIL RCPT DATA
214-2.0.0 RSET NOOP QUIT HELP VRFY
214-2.0.0 EXPN VERB ETRN DSN AUTH
214-2.0.0 STARTTLS
214-2.0.0 For more info use "HELP <topic>".
214-2.0.0 To report bugs in the implementation see
214-2.0.0 http://www.sendmail.org/email-addresses.html
214-2.0.0 For local information send email to Postmaster at your site.
214 2.0.0 End of HELP info
It shows AUTH. But it doesn't show anything else such as PLAIN or
CRAM-MD5. What does that mean? What kind of AUTH support do I have at
the moment?
I have no cyrus packages installed on this FreeBSD. If AUTH suffices to
me, then I wouldn't install anything else.
# pkg info | grep cyrus
#
# uname -a
FreeBSD my.host.name 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64
Do you plan to use dovecot (IMAP)?
YES => AFAIK postfix offers better dovecot integration than sendmail.
--
[Andrew] Andrzej A. Filip
Wolfgang Agnes
2024-11-08 18:45:37 UTC
Permalink
Post by Andrzej Adam Filip
Post by Wolfgang Agnes
--8<-------------------------------------------------------->8---
(*) Followup-To
comp.mail.sendmail
I suggest we take this thread to comp.mail.sendmail.
--8<-------------------------------------------------------->8---
214-2.0.0 This is sendmail version 8.18.1
214-2.0.0 HELO EHLO MAIL RCPT DATA
214-2.0.0 RSET NOOP QUIT HELP VRFY
214-2.0.0 EXPN VERB ETRN DSN AUTH
214-2.0.0 STARTTLS
214-2.0.0 For more info use "HELP <topic>".
214-2.0.0 To report bugs in the implementation see
214-2.0.0 http://www.sendmail.org/email-addresses.html
214-2.0.0 For local information send email to Postmaster at your site.
214 2.0.0 End of HELP info
It shows AUTH. But it doesn't show anything else such as PLAIN or
CRAM-MD5. What does that mean? What kind of AUTH support do I have at
the moment?
I have no cyrus packages installed on this FreeBSD. If AUTH suffices to
me, then I wouldn't install anything else.
# pkg info | grep cyrus
#
# uname -a
FreeBSD my.host.name 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64
Do you plan to use dovecot (IMAP)?
YES => AFAIK postfix offers better dovecot integration than sendmail.
(Thanks!) Such as what?

So far I'm not planning on using IMAP. This is just for personal mail
and I prefer the whole thing to be local, so POP3 should be enough to
bring my mail to my personal computer and then I can manage it here.

And I also don't want to plan to run Postfix. I am actually fond of
qmail, but I decided to run the legend once again to (this time) really
learn how it works and celebrate what a great software it has always
been.
Marco Moock
2024-11-08 19:46:26 UTC
Permalink
Post by Andrzej Adam Filip
Post by Wolfgang Agnes
--8<-------------------------------------------------------->8---
(*) Followup-To
comp.mail.sendmail
I suggest we take this thread to comp.mail.sendmail.
--8<-------------------------------------------------------->8---
214-2.0.0 This is sendmail version 8.18.1
214-2.0.0 HELO EHLO MAIL RCPT DATA
214-2.0.0 RSET NOOP QUIT HELP VRFY
214-2.0.0 EXPN VERB ETRN DSN AUTH
214-2.0.0 STARTTLS
214-2.0.0 For more info use "HELP <topic>".
214-2.0.0 To report bugs in the implementation see
214-2.0.0 http://www.sendmail.org/email-addresses.html
214-2.0.0 For local information send email to Postmaster at your
site. 214 2.0.0 End of HELP info
It shows AUTH. But it doesn't show anything else such as PLAIN or
CRAM-MD5. What does that mean? What kind of AUTH support do I
have at the moment?
I have no cyrus packages installed on this FreeBSD. If AUTH
suffices to me, then I wouldn't install anything else.
# pkg info | grep cyrus
#
# uname -a
FreeBSD my.host.name 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64
Do you plan to use dovecot (IMAP)?
YES => AFAIK postfix offers better dovecot integration than sendmail.
IIRC Dovecot supports getting mail from /var/spool and also via LMTP.
--
kind regards
Marco

Send spam to ***@cartoonies.org
Bjørn Mork
2024-11-08 20:17:46 UTC
Permalink
Post by Marco Moock
Post by Andrzej Adam Filip
Do you plan to use dovecot (IMAP)?
YES => AFAIK postfix offers better dovecot integration than sendmail.
IIRC Dovecot supports getting mail from /var/spool and also via LMTP.
There are lots of possibilites. I've been using the dovecot+sendmail
combo for years, and courier+sendmail before that. Have always used
procmail as lda delivering to Maildirs in the users' home dir.

Having

FEATURE(`local_procmail')dnl

in sendmail.mc and

DEFAULT=$HOME/Maildir/

in /etc/procmailrc is enough for delivery. The dovecot config has

mail_location = maildir:~/Maildir

My main reason for that configuration is that it allows each user to
filter mail directly into different imap folders using their own
~/.procmailrc without doing anything extra. Just add procmail rules
delivering to Maildir/.whatever/ instead of the default, and it will
show up in the INBOX.whatever folder in dovecot.

That's just one way to to it. There's a huge menu of mailbox formats and
locations. But whatever you choose I'm pretty sure both sendmail and
dovecot can support it.



Bjørn

Loading...