postfix question - sendmail use

From: Hennie Rautenbach (no email)
Date: Mon Dec 01 2003 - 02:16:59 EST


Hi there,

I have recently migrated from a sendmail platform to postfix
(postfix-2.0.14-1.rh73.i386.rpm) on Redhat 7.3.

I have a few unix scripts that in the past send mail from the machine to
various users using the "/usr/sbin/sendmail" command.

When I use the same syntax from the script it spits out the following error:

[root at spock root]# /usr/sbin/sendmail -v <
/dev/null
postfix/postfix-script: fatal: usage: postfix start (or stop, reload,
abort, flush, or check)
[root at spock root]#

What am I doing wrong ?

How should I use postfix to send mail from the unix command line ?

Regards,

Hennie

-- 
===================================================================
 Hennie Rautenbach                  Work: http://www.sabinet.co.za
 082-556-1191                       Play: http://www.overland.co.za	
 I think animal testing is a terrible idea; they get all nervous
 and give the wrong answers.                        -- anonymous
===================================================================
--------------------------------------------------------------------------------
This transmission is for the intended addressee only and is confidential
information. If you have received this transmission in error, please
delete it and notify the sender. The contents of this e-mail are the
opinion of the writer only and are not endorsed by Sabinet Online
Limited unless expressly stated otherwise.
--------------------------------------------------------------------------------







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD