Sponsored Content
Full Discussion: /etc/init.d/exim4 restart
Top Forums UNIX for Advanced & Expert Users /etc/init.d/exim4 restart Post 302453799 by pileofrogs on Thursday 16th of September 2010 12:20:25 PM
Old 09-16-2010
Is Exim not restarting? Is the only problem that it's printing the file names or is there something else that isn't working? Does /etc/init.d/exim4 match the version from the packages you used to install it (IE has it changed?) Can you manually restart exim4 by using the commands from the init.d script?
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Init 6 & Init 0 problem

Hi Expert, I have encountered some problem with my SUN system. Everytime when i issue command #init 6 OR #init 0 it just logout and prompt for login again instead of rebooting the server when run init 6 and system shutdown when run init 0.. I can only reboot the system using reboot ... Was... (6 Replies)
Discussion started by: sc2005
6 Replies

2. UNIX for Advanced & Expert Users

exim4 relay only to specific domain

Hi, I am new in exim. I am trying to configure a debian server running exim4 such that it relays only mails to our domain (@abcd.de).The exim server uses a smarthost for relaying. I do not get it to block outgoing mails to domains different from ours (i.e. with the "standard" configuration it... (0 Replies)
Discussion started by: one71
0 Replies

3. Linux

How to I change init levels after typing init 1

Dear all, I typed in init 1 on my redhat box as root and according to wikipedia (http://en.wikipedia.org/wiki/Runlevel): 1 Single-User Mode Does not configure network interfaces, start daemons, or allow non-root logins So now I can't connect back to it. How do I change the init back to 3?... (8 Replies)
Discussion started by: z1dane
8 Replies

4. UNIX for Advanced & Expert Users

Problem on init 0, execution is the same with init 6

Hi, I am experiencing a weird thing on my SUNFIRE machine with Solaris 9 OS. When I do init 0 to shutdown the machine to go to ok prompt, what it did was shutdown and reboot like an init 6 command do. I did check the corresponding rc scripts that were involved with init 0 and compared with rc... (2 Replies)
Discussion started by: Yenthanh
2 Replies

5. Debian

Debian exim4 security patch

I have just had to fix a debian5 system which suddenly started rejecting correctly addressed emails as '550 relay not permitted.' It turned out that rogue exim4 config files had been injected into the system at /etc/exim4/exim4.conf and /etc/exim4/exim.conf and these were messing up mail routing. ... (0 Replies)
Discussion started by: KevinGB
0 Replies

6. Red Hat

init-script failing because of /etc/rc.d/init.d/functions

I encountered a problem on one of our database servers. OS: CentOS 5.5 final Kernel: 2.6.18-238.5.1.el5.028stab085.2 (OpenVZ kernel) We wrote some DB-Start/Stop-scripts ("/db2/admin/scripts_dba/start_services.ksh" and ".../stop_services.ksh") to start the database instances. (Database... (1 Reply)
Discussion started by: bakunin
1 Replies

7. Ubuntu

/etc/init.d/networking restart is deprecated?

After I set IP , I want to make it work, so I ran "/etc/init.d/networking restart" but it says it's deprecated: Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces So I want to know how to make my setup work correctly. Thanks in... (1 Reply)
Discussion started by: cqlouis
1 Replies

8. UNIX Desktop Questions & Answers

exim4

I want to send mail with a bash script. I look on the internet what I have to do. I installed exim4 and mailutils. than I do sudo echo "Yay - SMTP works" | mail -s "Test email" mail-address" but the mail wasn't sent. I find this sudo dpkg-reconfigure exim4-config but I don't know what I... (2 Replies)
Discussion started by: thailand
2 Replies

9. Red Hat

Restart service xinit.d or init.d ?

Hello How do I restart init.d ?? (centos 6.5) Thanks (2 Replies)
Discussion started by: mnnn
2 Replies
greylistd-setup-exim4(8)					Mail Administration					  greylistd-setup-exim4(8)

NAME
greylistd-setup-exim4 - add/remove support for greylistd in Exim 4 SYNOPSIS
greylistd-setup-exim4 {add|remove|test} [file acl_name] [-option ...] DESCRIPTION
This utility configures, deconfigures, or tests for greylistd support in the given Exim 4 configuration file and Access Control List (ACL). If no file or ACL name is supplied, changes are made to the default configuration files and ACLs for your distribution. USAGE
The following commands are available: add Adds greylistd statement(s). remove Removes existing greylistd statement(s). test Tests for the presence of greylistd statement(s), without making any changes. A zero exit status indicates that the statement(s) exist(s). The following options are available: -quiet Normally, the result of the operation is printed on standard error; this option inhibits output. -no-fail Always exit with a zero status, even on failure. If this option is given, only the result of successful operations are printed. -no-reload Normally, if any changes were made to the Exim 4 configuration files, greylistd-setup-exim4 invokes the Exim 4 init script, telling Exim to reload its configuration files. This option inhibits this behavior. -netmask=size In the statement that is inserted in the Exim 4 configuration file, the remote host address is one of the items that is passed on to greylistd. This option causes the host address to be filtered through a netmask of the given size first. Useful values are between 16 and 31 for IPv4. -acltype={rcpt|data} Used in conjunction with the add command to insert a statement suitable for use in an ACL used to validate the SMTP RCPT TO: command or the message DATA, respectively. This is implicit when the supplied ACL name contains either of the substrings "rcpt" or "data" (such as Debian's default "acl_check_rcpt" and "acl_check_data" ACLs). Otherwise, this option has to be present for the add com- mand. EXAMPLES
greylistd-setup-exim4 add -netmask=24 Adds greylistd statements to any acl_check_rcpt and acl_check_data ACLs found in any of the following files: - /etc/exim4/exim4.conf.template - /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt - /etc/exim4/conf.d/acl/40_exim4-config_check_data In these statements, the data passed to greylistd includes the host address filtered through a 24-bit netmask, rather than the host's unique IP address. This allows for pools of several Mail Sending Agents (MSAs) within a given network to be treated as a single host. If successful, Exim 4 is told to reload its configuration files. If a statement already exists, nothing happens - but the program exits unsuccessfully (non-zero return code). greylistd-setup-exim4 remove -quiet Remove greylisting support from the above configuration files and ACLs. If greylistd statements exist in these files and ACLs, they are removed, and Exim 4 will reload its configuration files. The exit code indicates whether the statements were present and are now successfully removed; but no results are printed. greylistd-setup-exim4 add /etc/exim4/exim4.conf.template acl_check_rcpt -no-reload If no greylistd statements already exists in the acl_check_rcpt ACL in the file /etc/exim4/exim4.conf.template, one is inserted. In this case, the Exim 4 daemon is then NOT told to reload its configuration files. BUGS
The statement that is inserted by this utility presumes that the Exim 4 configuration comes from Debian's "exim4-config" package. Specifi- cally, it makes use of the +relay_from_hosts host list, the +local_domains and +relay_to_domains domain lists, and the acl_local_deny_exceptions ACL. A more generalized approach is on my, ahem, to-do list. AUTHOR
This python script and manual page is written by Tor Slettnes, originally for Debian GNU/Linux. COPYRIGHT
Copyright (C) 2004-2005 Tor Slettnes. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. On a Debian GNU/Linux system, the full text of the GPL is available in /usr/share/common-licenses/GPL. It is also available at: http://www.gnu.org/licenses/gpl.html SEE ALSO
greylist(1), greylistd(8), /usr/share/doc/exim4/spec.txt.gz Tor Slettnes 0.8 greylistd-setup-exim4(8)
All times are GMT -4. The time now is 12:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy