/etc/init.d/exim4 restart


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users /etc/init.d/exim4 restart
# 1  
Old 09-16-2010
MySQL /etc/init.d/exim4 restart

I have restarted the exim4 process.
It prints the following things.

$ /etc/init.d/exim4 restart
Code:
 * Stopping MTA for restart
/usr/sbin/update-exim4.conf: non-ascii value sugumar_imp.tar write.sql
virtualbox-3.1_3.1.8-61349~debian~lenny_i386.deb
etc...
   ...done.
 * Restarting MTA
   ...done.

The sugumar_imp.tar write.sql this are all current directory files.

Then I change the directory from /root to /home
then I restart the exim4 that time it didn't print the current directory file names and
I have checked with /usr/sbin/update-exim4.conf file and
I have removed the for loop which is having the 'ls' line number 171 [for F in $(ls $1); do]
Then I restart the exim4 that time also it is printing the file names
What is the problem?
Why it is printing the current directory file names. How to solve this?
# 2  
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?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question