DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 28th January 2009
windependence's Avatar
windependence windependence is offline
Real Name: Tim
Shell Scout
 
Join Date: May 2008
Location: Phoenix, Arizona
Posts: 116
Default Postfix error on 7.1

OK, I'm normally really good at fixing this stuff but I have googled for days and tried several different configs to no avail.

I keep getting this message from postfix:

Code:
Jan 28 15:01:02 tcci postfix/sendmail[880]: fatal: usage: sendmail [options]
Jan 28 15:06:03 tcci postfix/sendmail[950]: fatal: usage: sendmail [options]
Jan 28 15:11:02 tcci postfix/sendmail[1025]: fatal: usage: sendmail [options]
Jan 28 15:16:03 tcci postfix/sendmail[1095]: fatal: usage: sendmail [options]
Jan 28 15:21:02 tcci postfix/sendmail[1157]: fatal: usage: sendmail [options]
Jan 28 15:26:02 tcci postfix/sendmail[1240]: fatal: usage: sendmail [options]
Jan 28 15:31:02 tcci postfix/sendmail[1302]: fatal: usage: sendmail [options]
I have tried several options in my rc.conf including:

Code:
sendmail_enable="YES"
sendmail_flags="-bd"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
sendmail_msp_queue_enable="NO"
and this:

Code:
sendmail_enable="NONE"
After the above I created the symlink for the startup script in /usr/local/etc/rc.d

Code:
ln -s /usr/local/sbin/postfix postfix.sh
Still no joy.

I have other postfix configs running on 6.2 without problems.

Anyone have any ideas?

-Tim
__________________
www.windependence.org
Get your Windependence today!
Reply With Quote
  #2   (View Single Post)  
Old 29th January 2009
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

If you are using Postfix, then all the sendmail_*_enable options in rc.conf need to be set to NO.

Then add postfix_enable="YES".

See the pkg-message file in the postfix ports directory for info on disabling the sendmail-specific periodic scripts from running.

My guess is the sendmail_flags line is causing the issue.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #3   (View Single Post)  
Old 1st February 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Also make sure /etc/mail/mailer.conf is properly set up, for postfix it should be:

Code:
sendmail        /usr/local/sbin/sendmail
send-mail       /usr/local/sbin/sendmail
mailq   /usr/local/sbin/sendmail
newaliases      /usr/local/sbin/sendmail
hoststat        /usr/bin/true
purgestat       /usr/bin/true
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #4   (View Single Post)  
Old 2nd February 2009
windependence's Avatar
windependence windependence is offline
Real Name: Tim
Shell Scout
 
Join Date: May 2008
Location: Phoenix, Arizona
Posts: 116
Default

Thanks guys, I'll check it out and let you know what I find. FYI, the smtp is working even with the error.

-Tim
__________________
www.windependence.org
Get your Windependence today!
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix incoming only on external vdubjunkie General software and network 5 7th June 2009 08:02 PM
Recent problems with Postfix cajunman4life FreeBSD Ports and Packages 4 6th November 2008 11:51 PM
postfix setup Demodog General software and network 12 11th June 2008 07:43 PM
Postfix exporting skywalker FreeBSD Ports and Packages 4 11th June 2008 11:40 AM
Need Help Configuring Postfix iainnitro General software and network 6 8th June 2008 04:55 AM


All times are GMT. The time now is 06:59 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick