When I try to start sendmail via SRC sendmail is not started and in
syslog i get this:
Jul 2 15:19:32 axpsapp1 sendmail[28748]: NOQUEUE: SYSERR(root):
Invalid operation mode: use the "-bd" flag when invoking sendmail via
SRC
In /etc/rc.tcpip I have:
start /usr/lib/sendmail "$src_running" "-bd -q${qpi}"
As far as I know, SRC should start sendmail with -bd flag.
System iz AIX 5100-05.
Any idea what might be a problem?
Thanks!
Mario.
Try this:
startsrc -s sendmail -a "-bd -q30"
Paul Landay
>startsrc -s sendmail -a "-bd -q30"
Thanks! That helped!
Stil, I don't get it. The same parameters are in /etc/rc.tcpip file.
Mario.
The startsrc command does not read the /etc/rc.tcpip file.
The /etc/rc.tcpip file calls the startsrc command with
those parameters.
Read the /etc/rc.tcpip script carefully.
The line:
start /usr/lib/sendmail "$src_running" "-bd -q${qpi}"
calls the 'start' function which is defined at
the top of the rc.tcpip script. The start function
uses the $src_running flag to tell it to use startsrc
to start up sendmail. It strips off the /usr/lib
part of /usr/lib/sendmail and prefixes the "-db -q..."
with the '-a' flag, giving you the command:
startsrc -s sendmail -a "-bd -q30"
Paul Landay