On my system /usr/sbin/sendmail links to /usr/sbin/mailwrapper (5.5 default 
install)

cat /etc/mailer.conf
sendmail        /usr/sbin/smtpctl
send-mail       /usr/sbin/smtpctl
mailq           /usr/sbin/smtpctl
makemap         /usr/libexec/smtpd/makemap
newaliases      /usr/libexec/smtpd/makemap

I edited mailer.conf as per the manpage of smtpd

even after hardlinking /usr/sbin/sendmail directly to /usr/sbin/smtpctl i still 
have this:

echo test |mail [email protected]                
# send-mail: command failed: 550 Invalid recipient


after using mutt (same just added [email protected] to the to line in mutt)
Output of the delivery process (all)                                            
Error sending message, child exited 1 ().
sendmail: command failed: 550 Invalid recipient


this all worked before with the stock mailertable (which points to sendmail). 

On Sat, May 24, 2014 at 03:38:51PM +0200, Gilles Chehade wrote:
> On Sat, May 24, 2014 at 07:16:07AM -0600, Nicholas Janzen wrote:
> > The real problem is when using mutt and mail, a command like this also 
> > gives the error: mail -s subject [email protected], this of course works: 
> > '<[email protected]>
> >
> 
> That's very strange, I have been using mutt daily for as long as OpenSMTPD 
> exists
> and I have never ever ran into such an issue.
> 
> As for mail, there's definitely something broken on your side because `mail` 
> uses
> `sendmail` internally which should be a hardlink to `smtpctl` when OpenSMTPD 
> gets
> installed ... and `smtpctl` never uses "FROM FROM: foo@bar", so at the very 
> least
> your local enqueuer is incorrectly configured which probably explains mutt 
> too.



-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to