Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2007 12:14:21 -0500
From:      Tuareg <tuaregmex@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Plz, Help! /usr/sbin/sendmail: No such file or directory
Message-ID:  <7a4a15bd0709131014s799162c9j24efb9455706d565@mail.gmail.com>
In-Reply-To: <2cd0a0da0709130934u70ef4a31n6c4d1a49d1801fc6@mail.gmail.com>
References:  <2cd0a0da0709130934u70ef4a31n6c4d1a49d1801fc6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/13/07, VeeJay <maanjee@gmail.com> wrote:
> Hi there

Hi!

>
>
>
> I have some weird problems in running Postfix. I have installed it on my
> FreeBSD 6.2 Box. Postfix starts normally as shown from maillog:
>
>
>
> Sep 13 16:28:37 veejay postfix/postfix-script[18197]: starting the Postfi=
x
> mail system
>
> Sep 13 16:28:37 veejay postfix/master[18198]: daemon started -- version
> 2.4.0, configuration /usr/local/etc/postfix
>
>
>
> But I am unable to send an email from the command prompt as shown here:
>
>
>
> veejay# mail
>
> Mail version 8.1 6/6/93.  Type ? for help.
>
> "/var/mail/christensen": 0 messages
>
> & m info@example.com
>
> Subject: Test message
>
> it is workinng
>
> .
>
> EOT
>
> & mail: /usr/sbin/sendmail: No such file or directory
>
> q
>
> veejay#
>
>
>
> I thought its path/configuration problem but
>
>
>
> veejay# /usr/local/sbin/postconf =96n    shows settings as follow, which =
seems
> to be OK? I don't know L
>
>
>
> command_directory =3D /usr/local/sbin
>
> config_directory =3D /usr/local/etc/postfix
>
> daemon_directory =3D /usr/local/libexec/postfix
>
> debug_peer_level =3D 2
>
> html_directory =3D no
>
> mail_owner =3D postfix
>
> mailq_path =3D /usr/local/bin/mailq
>
> manpage_directory =3D /usr/local/man
>
> mynetworks_style =3D host
>
> newaliases_path =3D /usr/local/bin/newaliases
>
> queue_directory =3D /var/spool/postfix
>
> readme_directory =3D no
>
> sample_directory =3D /usr/local/etc/postfix
>
> sendmail_path =3D /usr/local/sbin/sendmail

>
> setgid_group =3D maildrop
>
> unknown_local_recipient_reject_code =3D 550
>
>
>
> Could you please help to discover problem? What is wrong? Why this Error =
"&
> mail: /usr/sbin/sendmail: No such file or directory " keeps coming?
>
> Thank you very much!
>

Because in your configuration appears another path:

sendmail_path =3D /usr/local/sbin/sendmail

And you are looking in: /usr/sbin/sendmail.


> --
> Thanks!

You're welcome.

--=20
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org  - against proprietary attachments



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7a4a15bd0709131014s799162c9j24efb9455706d565>