Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"need MAIL command"

1,142 views
Skip to first unread message

Rob Pyott

unread,
Mar 3, 2021, 6:32:48 PM3/3/21
to
One more issue :) When I try to send mail, I get the error "Mail not sent. Need MAIL command."

Does this ring any bells?

Thank you, --Rob

Carlos E.R.

unread,
Mar 3, 2021, 8:12:08 PM3/3/21
to
On 04/03/2021 00.32, Rob Pyott wrote:
> One more issue :) When I try to send mail, I get the error "Mail not sent. Need MAIL command."
>
> Does this ring any bells?

In Linux, there should be a command named "mail". I don't know in what
cases Alpine would use it, or if it would use it at all.

--
Cheers, Carlos.

William Unruh

unread,
Mar 3, 2021, 8:39:15 PM3/3/21
to
On 2021-03-03, Rob Pyott <arp...@gmail.com> wrote:
> One more issue :) When I try to send mail, I get the error "Mail not sent. Need MAIL command."

MAIL suggests an variable. Perhaps it means the sendmail command.
Look in pinerc and see what the
sendmail_path=
says. Ie, you may not have the equivalent of sendmail on your system.

Rob Pyott

unread,
Mar 3, 2021, 9:41:11 PM3/3/21
to
Well, I didn't have sendmail! I installed it. Now Alpine tries to send, but returns the error "recipients name must be specified." Pointers...? Thx.

Eduardo Chappa

unread,
Mar 4, 2021, 12:21:23 AM3/4/21
to
On Wed, 3 Mar 2021, Rob Pyott wrote:

> One more issue :) When I try to send mail, I get the error "Mail not
> sent. Need MAIL command."
>
> Does this ring any bells?

That is your smtp server giving you that error.

Press M S C and enable

[X] Enable Verbose SMTP Posting

then exit and save the change in configuration, and repeat the error (do
not use sendmail). After you have repeated the error, press M J D 9
and look for lines that start with the string "IMAP DEBUG" that show the
transaction between Alpine and the SMTP server. That will tell you what
the error was. If you cannot distinguish the error, post the output of the
relevant lines, and we will be able to tell you what the error was.

Thank you.

--
Eduardo
https://tinyurl.com/yc377wlh (web)
http://repo.or.cz/alpine.git (Git)

J.O. Aho

unread,
Mar 4, 2021, 3:30:06 AM3/4/21
to

On 04/03/2021 02.10, Carlos E.R. wrote:
> On 04/03/2021 00.32, Rob Pyott wrote:
>> One more issue :) When I try to send mail, I get the error "Mail not sent. Need MAIL command."
>>
>> Does this ring any bells?
>
> In Linux, there should be a command named "mail". I don't know in what

The package is usually called mailx that provides the mail command.


--

//Aho

Carlos E.R.

unread,
Mar 4, 2021, 9:36:08 AM3/4/21
to
Yes, openSUSE replaced "mail" with the mailx implementation long ago.
Initially we had mailx as an option, then as a replacement by default. I
think I was one of the people suggesting this.

--
Cheers, Carlos.

Carlos E.R.

unread,
Mar 4, 2021, 9:40:07 AM3/4/21
to
You actually installed the "sendmail" package? Wow, almost nobody uses
that one. Notice that it will not work unless you configure it.

Typically people nowdays uses postfix, which includes a sendmail program
which does what is expected of it without being really sendmail. Even in
that case, postfix also needs to be configured. Depending on the
distribution, it will only work for internal mail inside the LAN, not
Internet.


I have, in .pinerc:

# List of SMTP servers for sending mail. If blank: Unix Pine uses sendmail.
smtp-server=localhost

...

# This names the path to an alternative program, and any necessary
arguments,
# to be used in posting mail messages. Example:
# /usr/lib/sendmail -oem -t -oi
# or,
# /usr/local/bin/sendit.sh
# The latter a script found in Pine distribution's contrib/util directory.
# NOTE: The program MUST read the message to be posted on standard input,
# AND operate in the style of sendmail's "-t" option.
sendmail-path=




--
Cheers, Carlos.

J.O. Aho

unread,
Mar 4, 2021, 11:40:27 AM3/4/21
to
On 04/03/2021 15.39, Carlos E.R. wrote:
> On 04/03/2021 03.41, Rob Pyott wrote:
>> On Wednesday, March 3, 2021 at 8:39:15 PM UTC-5, William Unruh wrote:
>>> On 2021-03-03, Rob Pyott <arp...@gmail.com> wrote:
>>>> One more issue :) When I try to send mail, I get the error "Mail not sent. Need MAIL command."
>>> MAIL suggests an variable. Perhaps it means the sendmail command.
>>> Look in pinerc and see what the
>>> sendmail_path=
>>> says. Ie, you may not have the equivalent of sendmail on your system.
>>>>
>>>> Does this ring any bells?
>>>>
>>>> Thank you, --Rob
>> Well, I didn't have sendmail! I installed it. Now Alpine tries to send, but returns the error "recipients name must be specified." Pointers...?
>
> You actually installed the "sendmail" package? Wow, almost nobody uses
> that one. Notice that it will not work unless you configure it.

For sending, sendmail comes with a default configuration, it's if you
use it as MTA that you will need to configure it.


> Typically people nowdays uses postfix, which includes a sendmail program
> which does what is expected of it without being really sendmail.

Each SMTP server provides their own version of sendmail replacement
which is more or less option compatible with sendmail.

> Even in
> that case, postfix also needs to be configured. Depending on the
> distribution, it will only work for internal mail inside the LAN, not
> Internet.

Not even that, as it will only listen to 127.0.0.1


--

//Aho

William Unruh

unread,
Mar 4, 2021, 8:45:21 PM3/4/21
to
Except I do not think that his problem has anything to do with the mail
or mailx command.MAIL (all capitols) is usually some sort of environment
of local variable, not a command.

Rob Pyott

unread,
Mar 4, 2021, 9:17:25 PM3/4/21
to
Here's the "Need MAIL Command" debug file. I took some parts out. I think the SEND portion is after a two-line break I inserted.

I'm afraid it doesn't mean anything to me... Grateful for your support as usual!


IMAP DEBUG 20:49:58 3/4: * OK [CAPABILITY XAPPLEPUSHSERVICE IMAP4 IMAP4rev1
SASL-IR AUTH=ATOKEN AUTH=PLAIN] (2104B55-b52
>def638b9f) st43p00im-tygg09060501.me.com
IMAP DEBUG 20:49:58 3/4: 00000000 AUTHENTICATE PLAIN
mm_login_work trial=0 user=pyott service=imap port=993
mm_login: using non-default port=:993
mm_login: host=[17.42.251.32]:993
mm_login: orighost=imap.mail.me.com:993
imap_get_passwd: checking user=pyott alt=1 host=[17.42.251.32]:993,
imap.mail.me.com:993
imap_get_passwd: no match
read_passfile
Looking for passfile "/home/arp/.pine-passfile"
=== optionally_enter called ===
utf8string:"" y:0 x:-3 length: 1025 append: 0
passwd:1 utf8prompt:"Enter password of key <MasterPassword> to unlock
password file: " label:""
suspend_busy_cue
0 ^G Help 2
1 ^C Cancel 0
2 (null) xxx 16
3 Ret Accept 13
4 (null) (null) 26
5 (null) (null) 26
6 (null) (null) 40
7 (null) (null) 40
8 (null) (null) 53
9 (null) (null) 53
10 (null) (null) 66
11 (null) (null) 66
row: -2, real_row: 22, column: 0
Read char returning: <hidden char>
Read char returning: <hidden char>
Read char returning: <hidden char>
Read char returning: <hidden char>
Read char returning: <hidden char>
Read char returning: <hidden char>
Read char returning: <hidden char>
Read char returning: <hidden char>
Read char returning: <hidden char>
resume_busy_cue
imap_set_passwd
imap_set_passwd: user=pyott altflag=1
imap_set_passwd: host=[17.42.251.56]:993
imap_set_passwd: host=imap.mail.me.com:993
imap_set_passwd
imap_set_passwd: user=py...@icloud.com altflag=1
imap_set_passwd: host=[17.42.251.41]:587
imap_set_passwd: host=smtp.mail.me.com:587
imap_set_passwd
imap_set_passwd: user=pyott altflag=1
imap_set_passwd: host=[17.42.251.32]
imap_set_passwd: host=imap.mail.me.com
imap_get_passwd: checking user=pyott alt=1 host=[17.42.251.32]:993,
imap.mail.me.com:993
imap_get_passwd: match
imap_set_passwd
imap_set_passwd: user=pyott altflag=1
imap_set_passwd: host=[17.42.251.32]:993
imap_set_passwd: host=imap.mail.me.com:993
mm_login: found a password in passfile to try
IMAP DEBUG 20:50:02 3/4: <suppressed>
IMAP DEBUG 20:50:03 3/4: 00000000 OK user pyott authenticated
imap_cmd({imap.mail.me.com/user=pyott:993/ssl}inbox, CAPABILITY, 0x0)
IMAP DEBUG 20:50:03 3/4: 00000001 CAPABILITY
IMAP DEBUG 20:50:03 3/4: * CAPABILITY XAPPLEPUSHSERVICE IMAP4 IMAP4rev1
CONDSTORE ENABLE QRESYNC QUOTA NAMESPACE UIDPLUS
> CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT
THREAD=ORDEREDSUBJECT THREAD=REFERENCES CONTEXT=S
>EARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES METADATA ID XMSEARCH X-SUN-SORT
ANNOTATE-EXPERIMENT-1 X-UNAUTHENTICATE X-SUN
>-IMAP XUM1 MULTISEARCH IDLE
IMAP DEBUG 20:50:03 3/4: 00000001 OK Completed
imap_cmd({imap.mail.me.com/user=pyott:993/ssl}inbox, ID, 0x0)
IMAP DEBUG 20:50:03 3/4: 00000002 ID ("name" "alpine" "version" "2.24")
IMAP DEBUG 20:50:03 3/4: * ID ("name" "iCloud Mail" "version" "2103B209")
IMAP DEBUG 20:50:03 3/4: 00000002 OK ID completed (took 0 ms)
imap_cmd({imap.mail.me.com/user=pyott:993/ssl}inbox, SELECT, 0x0)
IMAP DEBUG 20:50:03 3/4: 00000003 SELECT inbox
IMAP DEBUG 20:50:03 3/4: * 230 EXISTS
=== mm_exists(230,{imap.mail.me.com/user=pyott:993/ssl}inbox) called ===
IMAP DEBUG 20:50:03 3/4: * OK [UNSEEN 223]
IMAP 20:50:03 3/4 mm_notify babble:
{imap.mail.me.com/user=pyott:993/ssl}inbox: [UNSEEN 223]
IMAP DEBUG 20:50:03 3/4: * OK [UIDVALIDITY 1218223843]
IMAP DEBUG 20:50:03 3/4: * OK [UIDNEXT 98450]
IMAP DEBUG 20:50:03 3/4: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen
\Recent $MailFlagBit0 $MailFlagBit1 $MailFlag
>Bit2 $Forwarded Redirected $NotJunk NotJunk)
IMAP DEBUG 20:50:03 3/4: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft
\Deleted \Seen \Recent $MailFlagBit0 $MailFlagB
>it1 $MailFlagBit2 $Forwarded Redirected $NotJunk NotJunk \*)]
IMAP DEBUG 20:50:03 3/4: 00000003 OK [READ-WRITE] SELECT completed (took 15
ms)
pine_mail_open: mail_open returns stream:
original_mailbox={imap.mail.me.com/user=pyott:993/ssl}inbox
mailbox={imap.mail.me.com.akadns.net:993/imap/nostarttls/ssl/user="pyott"}inbo
x
driver=imap rdonly=0 halfopen=0 secure=0 nmsgs=230 recent=0
pine_mail_open: next TAG 00000004
sp_flag({imap.mail.me.com.akadns.net:993/imap/nostarttls/ssl/user="pyott"}inbox,
0x37000000): set SP_LOCKED SP_PERMLOCKE
>D SP_INBOX SP_USERFLDR SP_USEPOOL
pine_mail_open: reset: ref cnt set to 1
sp_add({imap.mail.me.com.akadns.net:993/imap/nostarttls/ssl/user="pyott"}inbox,
67108864)
sp_add: allocate more space, using new slot 0
Opened folder 0x5602a2582a50
"{imap.mail.me.com.akadns.net:993/imap/nostarttls/ssl/user="pyott"}inbox"
(context: "{imap.
>mail.me.com/ssl/user=pyott}%s")
Opened folder
"{imap.mail.me.com.akadns.net:993/imap/nostarttls/ssl/user="pyott"}inbox"
with 230 messages
any_patterns(0x100010)
open_any_patterns(0x100010)
any_patterns(0x1810)
any_patterns(0x1010)
cancel_busy_cue(0)
stop_after(join=0) tid=42a03980
process_filter_patterns(stream=inbox, recent=0)
any_patterns(0x80010)
open_any_patterns(0x80010)
cleanup_after() tid=3e2e4700
q_status_message(Opening "INBOX" DONE)
any_patterns(0x100010)
Sorting by Arrival
imap_cmd(INBOX, SEARCH, 0x1)
IMAP DEBUG 20:50:03 3/4: 00000004 SEARCH UNANSWERED UNDELETED UNSEEN
IMAP DEBUG 20:50:03 3/4: * SEARCH 223 224 225 229 230
IMAP DEBUG 20:50:03 3/4: 00000004 OK SEARCH completed (took 30 ms)
q_status_message(Folder "INBOX" opened with 230 messages - 5 new)
any_patterns(0x100010)
imap_cmd(INBOX, SEARCH, 0x1)
IMAP DEBUG 20:50:03 3/4: 00000005 SEARCH UNDELETED FLAGGED
IMAP DEBUG 20:50:04 3/4: 00000005 OK SEARCH completed (took 17 ms)
First_sorted_flagged didn't find a winner, look for undeleted
imap_cmd(INBOX, SEARCH, 0x1)
IMAP DEBUG 20:50:04 3/4: 00000006 SEARCH UNDELETED
IMAP DEBUG 20:50:04 3/4: * SEARCH 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
> 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
> 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
98 99 100 101 102 103 104 105 106 107 108 10
>9 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
128 129 130 131 132 133 134 135 136 137 138 13
>9 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
158 159 160 161 162 163 164 165 166 167 168 16
>9 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
188 189 190 191 192 193 194 195 196 197 198 19
>9 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217
218 219 220 221 222 223 224 225 226 227 228 22
>9 230
IMAP DEBUG 20:50:04 3/4: 00000006 OK SEARCH completed (took 37 ms)
First_sorted_flagged returning winner = 230
First_sorted_flagged returning winner = 230


imap_cmd(INBOX, LIST, 0x0)
IMAP DEBUG 20:50:22 3/4: 00000008 LIST "" "Sent Messages"
IMAP DEBUG 20:50:23 3/4: * LIST () "/" "Sent Messages"
mm_list "{imap.mail.me.com/user=pyott:993/ssl}Sent Messages": delim: '/',
IMAP DEBUG 20:50:23 3/4: 00000008 OK LIST completed (took 88 ms)
cancel_busy_cue(-1)
stop_after(join=0) tid=42a03980
Sending mail...
q_status_message(Sending mail | |)
output_message(Sending mail | |)
Sending mail | |
start_after() created 3e2e4700: done
call_mailer: via TCP
IMAP 20:50:23 3/4 mm_log babble: Trying IP address [17.42.251.41]
IMAP DEBUG 20:50:23 3/4: 220 iCloud SMTP - st43p00im-ztdg10061801.me.com
3.4.7 (2007B210-fd57bebd7148)
IMAP DEBUG 20:50:23 3/4: EHLO AEPmac
IMAP DEBUG 20:50:23 3/4: 250-st43p00im-ztdg10061801.me.com
IMAP DEBUG 20:50:23 3/4: 250-PIPELINING
IMAP DEBUG 20:50:23 3/4: 250-SIZE 28311552
IMAP DEBUG 20:50:23 3/4: 250-ETRN
IMAP DEBUG 20:50:23 3/4: 250-STARTTLS
IMAP DEBUG 20:50:23 3/4: 250-ENHANCEDSTATUSCODES
IMAP DEBUG 20:50:23 3/4: 250-8BITMIME
IMAP DEBUG 20:50:23 3/4: 250-DSN
IMAP DEBUG 20:50:23 3/4: 250 CHUNKING
IMAP DEBUG 20:50:23 3/4: STARTTLS
IMAP DEBUG 20:50:23 3/4: 220 2.0.0 Ready to start TLS
IMAP DEBUG 20:50:23 3/4: EHLO AEPmac
IMAP DEBUG 20:50:23 3/4: 250-st43p00im-ztdg10061801.me.com
IMAP DEBUG 20:50:23 3/4: 250-PIPELINING
IMAP DEBUG 20:50:23 3/4: 250-SIZE 28311552
IMAP DEBUG 20:50:23 3/4: 250-ETRN
IMAP DEBUG 20:50:23 3/4: 250-AUTH LOGIN PLAIN ATOKEN
IMAP DEBUG 20:50:23 3/4: 250-ENHANCEDSTATUSCODES
IMAP DEBUG 20:50:23 3/4: 250-8BITMIME
IMAP DEBUG 20:50:23 3/4: 250-DSN
IMAP DEBUG 20:50:23 3/4: 250 CHUNKING
IMAP DEBUG 20:50:23 3/4: AUTH PLAIN
mm_login_work trial=0 user=py...@icloud.com service=smtp port=587
mm_login: using non-default port=:587
mm_login: host=[17.42.251.41]:587
mm_login: orighost=smtp.mail.me.com:587
imap_get_passwd: checking user=py...@icloud.com alt=1
host=[17.42.251.41]:587, smtp.mail.me.com:587
imap_get_passwd: no match
imap_get_passwd: checking user=py...@icloud.com alt=1
host=[17.42.251.41]:587, smtp.mail.me.com:587
imap_get_passwd: match
imap_set_passwd
imap_set_passwd: user=py...@icloud.com altflag=1
imap_set_passwd: host=[17.42.251.41]:587
imap_set_passwd: host=smtp.mail.me.com:587
mm_login: found a password in passfile to try
IMAP DEBUG 20:50:23 3/4: <suppressed>
IMAP DEBUG 20:50:23 3/4: 235 2.7.0 Authentication successful (CKUSER)
Opened SMTP server "smtp.mail.me.com.akadns.net"
IMAP DEBUG 20:50:23 3/4: MAIL FROM:<a...@icloud.com>
IMAP DEBUG 20:50:23 3/4: 550 5.7.0 From address is not one of your addresses
IMAP DEBUG 20:50:23 3/4: RCPT TO:<py...@yahoo.com>
IMAP DEBUG 20:50:24 3/4: 503 5.5.1 Error: need MAIL command
IMAP DEBUG 20:50:24 3/4: RSET
IMAP DEBUG 20:50:25 3/4: 250 2.0.0 Ok
Mail not sent. Sending error: 554 One or more recipients failed
Send Error: "503 5.5.1 Error: need MAIL command"
IMAP DEBUG 20:50:25 3/4: QUIT
IMAP DEBUG 20:50:26 3/4: 221 2.0.0 Bye
cancel_busy_cue(0)
stop_after(join=0) tid=42a03980
q_status_message(Mail not sent: Error: need MAIL command)
call_mailer ERROR: Mail not sent: Error: need MAIL command
Send failed, continuing
cleanup_after() tid=3e2e4700
Error: need MAIL command)
---- COMPOSER ----
fix_windsize()
new win size -----<24 80>------
STATUS: diff:4, displayed: 1614909026, now: 1614909026
output_message(Mail not sent: Error: need MAIL command)
Mail not sent: Error: need MAIL command
New_mail_count zeroed
new mail called (force=0 VeryBad flags=0x7)
INBOX: force=0 interval=15 exp_reap_to=180 adj_idle_to=1650
since_last_ping=7 since_last_reap=7
******** new mail returning -1 ********
fix_windsize()
new win size -----<24 80>------
suspend_busy_cue
0 ? Help 1
1 ^C Cancel 0
2 C Confirm 13
3 N [No] 13
4 26
5 (null) (null) 26
6 (null) (null) 40
7 (null) (null) 40
8 (null) (null) 53
9 (null) (null) 53
10 (null) (null) 66
11 (null) (null) 66
row: -2, real_row: 22, column: 0
Read char returning: 0x63 c
Want_to read: c (0x63)
resume_busy_cue
... composer returns (0x2)
fix_windsize()
new win size -----<24 80>------
init_signals()
busy_cue(Busy, (nil), 1)
start_after() created 3e2e4700: done
busy_cue(Busy, (nil), 1)
busy_cue(Busy, (nil), 1)
cancel_busy_cue(-1)
stop_after(join=0) tid=42a03980
pine_send:CANCEL handling
00
-- pine_rfc822_output
busy_cue(Busy, (nil), 1)
start_after() created 3e2e4700: done
-- pine_encode_body: 0
-- pine_rfc822_output_body: 0
-- pine_rfc822_output_body: segment 20 bytes
-- gf_reset local_nvtnl
-- gf_pipe:
done.
cancel_busy_cue(-1)
stop_after(join=0) tid=42a03980
busy_cue(Saving to "/home/arp/dead.letter", (nil), 1)
cleanup_after() tid=3e2e4700
0: done
-- gf_reset nvtnl_local
-- gf_pipe:
done.
cancel_busy_cue(-1)
stop_after(join=0) tid=42a03980
q_status_message(Message cancelled and copied to "dead.letter" file)
=== send returning ===
---- MAIN_MENU_SCREEN ----
new mail called (force=0 VeryBad flags=0x3)
INBOX: force=0 interval=15 exp_reap_to=180 adj_idle_to=1650
since_last_ping=11 since_last_reap=11
******** new mail returning -1 ********
set_titlebar - style: 1 current message cnt:1
current_pl: 0 total_pl: 0
0 ? Help 0
1 O OTHER CMDS 0
2 (null) (null) 14
3 > [ListFldrs 13
4 P PrevCmd 27
5 N NextCmd 27
6 (null) (null) 40
7 (null) (null) 40
8 R RelNotes 53
9 K KBLock 53
10 (null) (null) 66
11 (null) (null) 66
row: -2, real_row: 22, column: 0
output_message(Message cancelled and copied to "dead.letter" file)
Message cancelled and copied to "dead.letter" file
cancel_busy_cue(-1)
stop_after(join=0) tid=42a03980
Read char returning: 0x40000120 NO_OP_IDLE
Read command returning: 0x40000120 NO_OP_IDLE
new mail called (force=0 GoodTime flags=0x3)
- adrbk_maintenance -
INBOX: force=0 interval=15 exp_reap_to=180 adj_idle_to=1650
since_last_ping=19 since_last_reap=19
Mail_Ping(INBOX): lastping=19 er=19 [it's time] [current] 20:50:41.159425
imap_cmd(INBOX, NOOP, 0x0)
IMAP DEBUG 20:50:41 3/4: 00000009 NOOP
IMAP DEBUG 20:50:41 3/4: 00000009 OK NOOP completed (took 47 ms)
Ping complete: 20:50:41.308691
******** new mail returning -1 ********
STATUS: diff:-5, displayed: 1614909033, now: 1614909041
cancel_busy_cue(-1)
stop_after(join=0) tid=42a03980
Read char returning: 0x6d m
New_mail_count zeroed
Read command returning: 0x6d m
q_status_message(Already in Main Menu)
new mail called (force=0 VeryBad flags=0x3)
INBOX: force=0 interval=15 exp_reap_to=180 adj_idle_to=1650
since_last_ping=2 since_last_reap=2
******** new mail returning -1 ********
STATUS: diff:-10, displayed: 1614909033, now: 1614909043
output_message(Already in Main Menu)
Already in Main Menu
cancel_busy_cue(-1)
stop_after(join=0) tid=42a03980
Read char returning: 0x6a j
New_mail_count zeroed
Read command returning: 0x6a j
Turning off new messages while reviewing

Eduardo Chappa

unread,
Mar 4, 2021, 11:59:47 PM3/4/21
to
On Fri, 5 Mar 2021, William Unruh wrote:

>> Yes, openSUSE replaced "mail" with the mailx implementation long ago.
>> Initially we had mailx as an option, then as a replacement by default.
>> I think I was one of the people suggesting this.
>
> Except I do not think that his problem has anything to do with the mail
> or mailx command.MAIL (all capitols) is usually some sort of environment
> of local variable, not a command.

I agree that this has nothing to do with the mail or mailx command, but
this also does not have to do with environment variables. MAIL is a SMTP
command:

https://tools.ietf.org/html/rfc5321#page-19

Eduardo Chappa

unread,
Mar 5, 2021, 12:34:49 AM3/5/21
to
On Thu, 4 Mar 2021, Rob Pyott wrote:

> Here's the "Need MAIL Command" debug file. I took some parts out. I
> think the SEND portion is after a two-line break I inserted.

There was an error when you attempted to send the message, and Alpine
continued as if that command had been successful.

You are trying to send email as "a...@icloud.com" instead of
py...@icloud.com. You need to change the From field. THre are several ways
to do it. Please read this excellent guide for Pine (but also valid for
Alpine) by Nancy McGough.

http://www.ii.com/internet/messaging/pine/changing_from/

William Unruh

unread,
Mar 5, 2021, 1:27:13 AM3/5/21
to
On 2021-03-05, Rob Pyott <arp...@gmail.com> wrote:
...
> Opened SMTP server "smtp.mail.me.com.akadns.net"
> IMAP DEBUG 20:50:23 3/4: MAIL FROM:<a...@icloud.com>
> IMAP DEBUG 20:50:23 3/4: 550 5.7.0 From address is not one of your addresses
> IMAP DEBUG 20:50:23 3/4: RCPT TO:<py...@yahoo.com>
> IMAP DEBUG 20:50:24 3/4: 503 5.5.1 Error: need MAIL command
> IMAP DEBUG 20:50:24 3/4: RSET
> IMAP DEBUG 20:50:25 3/4: 250 2.0.0 Ok
> Mail not sent. Sending error: 554 One or more recipients failed
> Send Error: "503 5.5.1 Error: need MAIL command"

That third line would seem to be the critical line. a...@icloud.com is
not one of your addresses. The remote side rejects your FROM: address,
and it wants a proper from address.

Henning Hucke

unread,
Mar 5, 2021, 1:37:42 AM3/5/21
to
On 2021-03-04, Carlos E.R. <robin_...@es.invalid> wrote:

Hi Carlos, hello all,

> [...]
> You actually installed the "sendmail" package? Wow, almost nobody uses
> that one. Notice that it will not work unless you configure it.

you are aware that this statement has aspects of fake news? "almost
nobody" is not proovable as false because even if I can tell that I know
some people who use it and like it one can still state that these are
the "few" people who use it.

Beside of that the distributions usually have the sendmail package that
way that I works as an MTA for the local system out of the box. This
applies to every other MTA since the distribution itself can't have
informations to configure an MTA in any other way and still be reliable.
And if I remember correctly you can even start a reconfigure on sendmail
on debian to get sendmail configured for some other scenarios.

But!

There are certainly other MTAs which fit the needs of a normal stand
alone system or one which is a simple server within a local network and
not a mail server. And its totally legit to use such an MTA if this
system is not supposed to be a mail server.
On the other hand: If its supposed to be a mail server sendmail is a
good choice as exim is because these are configurable for a wide range
range of requirements where postfix is a good choice for up to mid sized
mail servers or ones with more or less stringend requirements.

Any further communication about this issue either via e-mail or a
suitable newsgroup.

> [...]

Regards,
Henning
--
Applause, n:
The echo of a platitude from the mouth of a fool.
-- Ambrose Bierce

Rob Pyott

unread,
Mar 5, 2021, 9:52:13 PM3/5/21
to
Nancy McGough's instructions worked like a charm -- I am up and running! (On three machines now!!!)

Thanks, --Rob

Eduardo Chappa

unread,
Mar 5, 2021, 9:52:27 PM3/5/21
to
And if anyone feels like contributing their reply to this forum, feel free
to do so.

Roderick

unread,
Mar 12, 2021, 6:42:08 PM3/12/21
to

On Thu, 4 Mar 2021, Carlos E.R. wrote:

> You actually installed the "sendmail" package? Wow, almost nobody uses
> that one. Notice that it will not work unless you configure it.
>
> [...]
>
> I have, in .pinerc:
>
> # List of SMTP servers for sending mail. If blank: Unix Pine uses sendmail.
> smtp-server=localhost

Then, instead of putting "localhost" there, leave it blank and do the
following:

https://forums.freebsd.org/threads/mail-metamail-gpg-openssl-sendmail-fetchmail-etc-as-mail-client.79285/

But a simpler solution is to leave alpine do the work to connect to your
mail provider.

Rod.
0 new messages