On Mon, May 26, 2014 at 01:20:54PM -0600, Nicholas Janzen wrote:
> 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
> 

That configuration file is correct, you do not need to do the following,
I was thinking about hardlinking mailwrapper when i said smtpctl:

> 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
> 

can you show your configuration file please ?


> 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
> 

That looks like a ruleset refusal, not a syntax issue:

     RCPT TO:<[email protected]>
     550 Invalid recipient

     RCPT TO:<@>
     501 5.1.3: Recipient address syntax error


I really need configuration file and logs to debug


> 
> 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]
> 

-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

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

Reply via email to