Interactive sendmail with msmtp (prompt for password)
- To: mutt-users <mutt-users@xxxxxxxx>
- Subject: Interactive sendmail with msmtp (prompt for password)
- From: "Svend Sorensen" <ssorensen@xxxxxxxxx>
- Date: Tue, 13 Mar 2007 13:36:33 -0700
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=a4E2lD3rtltFi9Ou4Bvput8p1UrZUon1s9MhSxNhlIm/hozFctE+9ivvlVg+7z/+EtvSRWp+l3nEjh2TxA+F0t2ux2+pKyTaipplWuud9c9EwXX7yQg4wL3HnhP8id0+/xop2KsXB2gZ6rSELZwwra1iHskDDnpTAB8HOc9pBjM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=RJ9e5CrN+ufjpOqNrKUoRPx0a27BhiLzxDqCsDJnYqP/734QK6BnPKtKchaBrtKVq4yZOoGafgXDNmMwLNnx63z0iw4PKbSnPPLvPPfSc1PnUwPKXCnRF2fTBr9Z/122jvnGCCSuUsSqFy1+tiCKP/Yv4GKXi+fLh4anz9cbrpY=
- List-unsubscribe: <mailto:mutt-users-request@mutt.org?body=unsubscribe>
- Sender: owner-mutt-users@xxxxxxxx
Is it possible to use a sendmail command which prompts for a password?
I am trying to use mutt-1.4.4.2 with msmtp.
I have msmtp configured to prompt for a password. This works when I
run msmtp from the command line.
When I set up Mutt to use msmtp (set sendmail=/usr/local/bin/msmtp),
msmtp is invoked in the background, and I never see the password
prompt. The delivery fails with:
password for ssorensen at gmail.com at smtp.gmail.com:
msmtp: authentication failed (method PLAIN)
msmtp: server message: 535 5.7.1 Credentials Rejected 18sm37276607nzo
msmtp: could not send mail (account default from /home/user/.msmtprc)
Output of the delivery process
Error sending message, child exited 77 (Insufficient permission.).
Is it possible to use a sendmail command which requires input from the user?
--
Svend