RE: Postfix error

From: Mike Burger (mburger_at_bubbanfriends.org)
Date: 08/27/04

  • Next message: Steve Cowles: "Re: Postfix error"
    Date: Fri, 27 Aug 2004 08:28:47 -0500 (EST)
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    Well, I'm going to take a stab in the dark and guess that you've got, in
    your /etc/postfix/main.cf, a line which reads:

    "mailbox_command = /var/www/hivemail_process.php"

    Since I know nothing of this hivemail_process.php file, what it's supposed
    to do, or why it's being called as a delivery agent, I'm not sure I can
    help you get it working.

    However, Postfix does have its own, internal local delivery agent, or most
    systems use procmail as the delivery agent.

    Changing the "mailbox_command" line to /usr/bin/procmail, instead of
    /var/www/hivemail_process.php, will probably solve the immediate problem,
    which appears to be not being able to deliver mail. Excluding that, I'd
    refer you to whomever wrote that php script, and would have you ask if
    that's actually supposed to be called by postfix, or if it's supposed to
    be a web based program.

    On Fri, 27 Aug 2004, kenwardc wrote:

    > Hi there, Mike
    >
    > MANY thanks - your answer is the most helpful so far. I've been so
    > blasted frustrated over this one. Can you help a little further by
    > giving me an example of the command to be used? I'm so new to all
    > this....
    >
    > Cheers
    > Chris
    >
    > > -----Original Message-----
    > > From: redhat-list-bounces@redhat.com
    > > [mailto:redhat-list-bounces@redhat.com] On Behalf Of Mike Burger
    > > Sent: 27 August 2004 12:20
    > > To: General Red Hat Linux discussion list
    > > Subject: Re: Postfix error
    > >
    > > On Fri, 27 Aug 2004, kenwardc wrote:
    > >
    > > > Hi All
    > > >
    > > > Just a quick note in the hope some of you may have come across
    > this
    > > > postfix error before.
    > > >
    > > > Reporting-MTA: dns; mail.domain.net
    > > > Arrival-Date: Fri, 27 Aug 2004 10:45:56 +0100 (IST)
    > > >
    > > > Final-Recipient: rfc822; hivemail@domain.net
    > > > Action: failed
    > > > Status: 5.0.0
    > > > Diagnostic-Code: X-Postfix; Command died with status 1:
    > > > "/var/www/hivemail_process.php". Command output: Error
    > > in argument
    > > > 1, char
    > > > 3: option not found _ Error in argument 1, char 3: option not
    > > > found _
    > > > Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>]
    > > php <file>
    > > > [args...] -a Run interactively -C
    > > > Do not
    > > > chdir to the script's directory -c <path>|<file> Look for
    > > > php.ini file in
    > > > this directory -n No php.ini file will be used
    > > > -d
    > > > foo[=bar] Define INI entry foo with value 'bar' -e
    > > > Generate extended information for debugger/profiler -f
    > <file>
    > > > Parse <file>. Implies `-q' -h This help -i
    > > > PHP information -l Syntax check only (lint)
    > -m
    > > > Show compiled in modules -q Quiet-mode.
    > > Suppress
    > > > HTTP
    > > > Header output. -s Display colour syntax
    > > > highlighted source.
    > > > -v Version number -w
    > > Display source
    > > > with
    > > > stripped comments and whitespace. -z <file> Load Zend
    > > > extension
    > > > <file>.
    > > >
    > > > Basically, the error looks to be "Command died with status 1:
    > > > "/var/www/hivemail_process.php". Command output: Error
    > > in argument
    > > > 1, char
    > > > 3: option not found _ Error in argument 1, char 3: option not
    > > > found _"
    > > >
    > > > Does anyone know what this means? I've looked everywhere I
    > > can think
    > > > of but to no avail.
    > >
    > > It means that Postfix couldn't execute
    > > /var/www/hivemail_process.php. You might need to run that
    > > command from a command line to see what it is or isn't doing.
    > >
    > > --
    > > Mike Burger
    > > http://www.bubbanfriends.org
    > >
    > > Visit the Dog Pound II BBS
    > > telnet://dogpound2.citadel.org or http://dogpound2.citadel.org
    > >
    > > To be notified of updates to the web site, visit
    > > http://www.bubbanfriends.org/mailman/listinfo/site-update, or
    > > send a message to:
    > >
    > > site-update-request@bubbanfriends.org
    > >
    > > with a message of:
    > >
    > > subscribe
    > >
    > >
    > > --
    > > redhat-list mailing list
    > > unsubscribe
    > mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > > https://www.redhat.com/mailman/listinfo/redhat-list
    > >
    > >
    >
    >
    >
    > ---
    > All messages scanned by AVG 7.0 Anti-Virus scanner and TGIS Anti-Spam Firewall.
    >
    >
    >

    -- 
    Mike Burger
    http://www.bubbanfriends.org
    Visit the Dog Pound II BBS
    telnet://dogpound2.citadel.org or http://dogpound2.citadel.org
    To be notified of updates to the web site, visit 
    http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
    message to:
    site-update-request@bubbanfriends.org
    with a message of: 
    subscribe
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Steve Cowles: "Re: Postfix error"

    Relevant Pages

    • Re: IE Explorer 6.0 Locking Up On A Web Page Account
      ... Thanks, I will try that running that command again, it didn't work when I ... Connection May No Longer Be Needed was checked, so I uncheck it. ... I should mention that when IE becomes non functional on this web site, ... computer turn OFF this device for Power saving. ...
      (microsoft.public.windowsxp.general)
    • Re: Difference between a Command Button and a Label
      ... command button, as were the people from whom I borrowed the idea, so I ... You cannot place the focus on a label. ... "what happens if the users get used to one developer's colour coding ... If anyone would care to post this to a web site, ...
      (microsoft.public.access.forms)
    • imap question again...sorry if u replied before
      ... Sep 29 00:25:27 linuxbox imapd: Command stream end of file, ... i have my main.cf from postfix attached ... # Global Postfix configuration file. ... # The daemon_directory parameter specifies the location of all Postfix ...
      (RedHat)
    • RE: publish web site from command line
      ... Steven Cheng ... Microsoft Online Support ... publish web site from command line ...
      (microsoft.public.vsnet.general)
    • Re: Difference between a Command Button and a Label
      ... for colored command buttons. ... You cannot place the focus on a label. ... Tom Ellison ... If anyone would care to post this to a web site, ...
      (microsoft.public.access.forms)