10 More Discussions You Might Find Interesting
1. AIX
I want to run applet on AIX 6 machine.
I already have setup $DISPLAY variable for putty session by selecting X11 option.
I got below error for any X related commands (xclock, X, applet viewer )
X connection to localhost:10.0 broken (explicit kill or server shutdown). Please can anyone... (0 Replies)
Discussion started by: kailas.girase
0 Replies
2. IP Networking
I wrote a program which uses findsmb to get a list of Samba aware resources. It worked fine. It was able to see both my own cluster of virtuals and other company computers too. My company moved to a different location. The network was flakey for awhile, but has seemed okay for months now. I am not... (1 Reply)
Discussion started by: Brandon9000
1 Replies
3. Solaris
one of our sparc servers is having this problem:
Jun 27 13:05:00 sparki sendmail: p5: from=root, size=309, class=0, nrcpts=1, msgid=<201106271305.p5@sparki>, relay=root@localhost
Jun 27 13:05:00 sparki sendmail: p5: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,... (3 Replies)
Discussion started by: orange47
3 Replies
4. What is on Your Mind?
Which among the following is most popular choice as a mail server -
1)Sendmail
2)Postfix
3)Qmail
Which is the industry preferred one? (2 Replies)
Discussion started by: proactiveaditya
2 Replies
5. AIX
Hi,
I am facing a (for me and coworkers) strange behaviour. When I stop sendmail on a plain AIX 5.3 testing box (there is definetly no sendmail process left running anymore), I am still able to send mails to remote addresses via the mail command. I tried that on another box which is not a... (6 Replies)
Discussion started by: zaxxon
6 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I am afraid that I goofed up my mailing system.
I have an Ubuntu 9.10 system
$ uname -smor
Linux 2.6.31-14-generic x86_64 GNU/Linux
I am wanting to receive cron job mails. I noticed that cron jobs were trying to send mail to sendmail. I had installed ssmtp so I could send mail... (1 Reply)
Discussion started by: Narnie
1 Replies
7. UNIX for Advanced & Expert Users
Hi
Does anyone know how to force Postfix to always answer 252 to the VRFY command? (2 Replies)
Discussion started by: denka
2 Replies
8. AIX
hello,
I need to configure our AIX 5.3 to relay mail to exchange.
I have got this working with no issues yet, I can not send mail to root@localhost.
# uname -a
AIX Blade1 3 5 0000E6DAD400
# oslevel -s
5300-07-01-0748
# mailq
/var/spool/mqueue (2 requests)... (14 Replies)
Discussion started by: pobman
14 Replies
9. UNIX for Advanced & Expert Users
Hi All,
We use tomcat web server and it will get terminated with below error:
connection to localhost:10.0 host broken (explicit kill or server shutdown)
Please let me know how to fix this error. (5 Replies)
Discussion started by: bache_gowda
5 Replies
10. Solaris
Hello,
I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems:
1. When I execute the command ping, I get weird results:
bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies
RC.SENDMAIL(8) BSD System Manager's Manual RC.SENDMAIL(8)
NAME
rc.sendmail -- sendmail(8) startup script
DESCRIPTION
The rc.sendmail script is used by /etc/rc at boot time to start sendmail(8). It is meant to be sendmail(8) specific and not a generic script
for all MTAs. It is only called by /etc/rc if the rc.conf(5) mta_start_script variable is set to /etc/rc.sendmail.
The rc.sendmail script can take an optional argument specifying the action to perform. The available actions are:
start Starts both the MTA and the MSP queue runner.
stop Stops both the MTA and the MSP queue runner.
restart Restarts both the MTA and the MSP queue runner.
start-mta Starts just the MTA.
stop-mta Stops just the MTA.
restart-mta Restarts just the MTA.
start-mspq Starts just the MSP queue runner.
stop-mspq Stops just the MSP queue runner.
restart-mspq Restarts just the MSP queue runner.
If no action is specified, start is assumed.
The rc.sendmail script is also used by /etc/mail/Makefile to enable the Makefile's start, stop, and restart targets.
RC.CONF VARIABLES
The following variables affect the behavior of rc.sendmail. They are defined in /etc/defaults/rc.conf and can be changed in /etc/rc.conf.
sendmail_enable
(str) If set to ``YES'', run the sendmail(8) daemon at system boot time. If set to ``NO'', do not run a sendmail(8) daemon to listen
for incoming network mail. This does not preclude a sendmail(8) daemon listening on the SMTP port of the loopback interface. The
``NONE'' option is deprecated and should not be used. It will be removed in a future release.
sendmail_cert_create
(str) If sendmail_enable is set to ``YES'', create a signed certificate /etc/mail/certs/host.cert representing
/etc/mail/certs/host.key by the CA certificate in /etc/mail/certs/cacert.pem. This will enable connecting hosts to negotiate START-
TLS allowing incoming email to be encrypted in transit. sendmail(8) needs to be configured to use these generated files. The
default configuration in /etc/mail/freebsd.mc has the required options in it.
sendmail_cert_cn
(str) If sendmail_enable is set to ``YES'' and sendmail_cert_create is set to ``YES'', this is the Common Name (CN) of the certifi-
cate that will be created. If sendmail_cert_cn is not set, the system's hostname will be used. If there is no hostname set,
``amnesiac'' will be used.
sendmail_flags
(str) If sendmail_enable is set to ``YES'', these are the flags to pass to the sendmail(8) daemon.
sendmail_submit_enable
(bool) If set to ``YES'' and sendmail_enable is set to ``NO'', run sendmail(8) using sendmail_submit_flags instead of sendmail_flags.
This is intended to allow local mail submission via a localhost-only listening SMTP service required for running sendmail(8) as a
non-set-user-ID binary. Note that this does not work inside jail(2) systems, as jails do not allow binding to just the localhost
interface.
sendmail_submit_flags
(str) If sendmail_enable is set to ``NO'' and sendmail_submit_enable is set to ``YES'', these are the flags to pass to the
sendmail(8) daemon.
sendmail_outbound_enable
(bool) If set to ``YES'' and both sendmail_enable and sendmail_submit_enable are set to ``NO'', run sendmail(8) using
sendmail_outbound_flags instead of sendmail_flags. This is intended to allow local mail queue management for systems that do not
offer a listening SMTP service.
sendmail_outbound_flags
(str) If both sendmail_enable and sendmail_submit_enable are set to ``NO'' and sendmail_outbound_enable is set to ``YES'', these are
the flags to pass to the sendmail(8) daemon.
sendmail_msp_queue_enable
(bool) If set to ``YES'', start a client (MSP) queue runner sendmail(8) daemon at system boot time. As of sendmail 8.12, a separate
queue is used for command line submissions. The client queue runner ensures that nothing is left behind in the submission queue.
sendmail_msp_queue_flags
(str) If sendmail_msp_queue_enable is set to ``YES'', these are the flags to pass to the sendmail(8) daemon.
These variables are used to determine how the sendmail(8) daemons are started:
# MTA
if (${sendmail_enable} == NONE)
# Do nothing
else if (${sendmail_enable} == YES)
start sendmail with ${sendmail_flags}
else if (${sendmail_submit_enable} == YES)
start sendmail with ${sendmail_submit_flags}
else if (${sendmail_outbound_enable} == YES)
start sendmail with ${sendmail_outbound_flags}
endif
# MSP Queue Runner
if (${sendmail_enable} != NONE &&
[ -r /etc/mail/submit.cf] &&
${sendmail_msp_queue_enable} == YES)
start sendmail with ${sendmail_msp_queue_flags}
endif
To completely prevent any sendmail(8) daemons from starting, you must set the following variables in /etc/rc.conf:
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
SEE ALSO
rc.conf(5), rc(8), sendmail(8)
HISTORY
The rc.sendmail file appeared in FreeBSD 4.6.
BSD
October 19, 2013 BSD