LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-22-2007, 01:10 PM   #1
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Rep: Reputation: 30
postfix error :use the Postfix sendmail command


hi all,
I am trying to make postfix to receive mails/message/comments from my web server's feedback form.i am using .cgi cript for this.i am sure web server is doing its job and i can see the "confirmation page ie. Thanks ....you comments..etc" but it is not delivered/can not see the mail, to mail account ( account i defined in my .cgi cript)..getting somthing in my /var/log/mail/error

Sep 22 22:31:15 serv postfix[11280]: error: to submit mail, use the Postfix sendmail command
Sep 22 22:31:15 serv postfix[11280]: fatal: the postfix command is reserved for the superuser

what does it mean.

Thanks
 
Old 09-22-2007, 02:03 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
what does it mean.
It means your script isn't submitting mail properly. You can use the sendmail command. e.g.
Code:
sendmail -t -i < /tmp/email.txt
It's also possible to use the mail command.

Note: If you use sendmail as above, the email.txt file would have to contain the headers, e.g.
Code:
From: me@here
To: you@there
Subject: Greeting

The body goes here.
...

Last edited by Berhanie; 09-22-2007 at 02:12 PM.
 
Old 09-22-2007, 02:39 PM   #3
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Original Poster
Rep: Reputation: 30
thanks,

but ..my script seems fine ..you are right this is all due to this SCRIPT only..i am using the sendmail -t ..
what is about -i option ?..i was in confusion so tried to put postfix -t in place of sendmail but no go..(how come we can use sendmail command with postfix as sendmail is another
MTA, what i got about the "command sendmail" itself.)
lokking for further help..
thanks..

Last edited by soroccoheaven; 09-22-2007 at 03:00 PM.
 
Old 09-22-2007, 02:57 PM   #4
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Original Poster
Rep: Reputation: 30
problem solved..it was a silly script typo mistake..

Thanks
 
Old 02-03-2016, 02:55 AM   #5
sourav suman
LQ Newbie
 
Registered: Feb 2016
Posts: 1

Rep: Reputation: Disabled
error to submit mail use the postfix sendmail command

have you checked whether your postfix is running or not.
i faced this issue when i stop postfix.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix error: /usr/lib/postfix/smtpd pid 7529 exit status 1 Chiragrs Linux - Networking 7 05-16-2008 01:42 AM
postfix and sendmail nukeu666 Linux - Software 2 09-19-2005 07:31 PM
can't start postfix ./postfix status error jules_fraser Linux - Software 3 12-06-2003 07:33 PM
Is this possible with Sendmail/Postfix? pembo13 Linux - Software 0 11-19-2003 08:59 AM
Postfix or sendmail ? Misteree Linux - Networking 27 06-11-2003 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration