Edit exim.pl

nservices

Verified User
Joined
Dec 11, 2008
Messages
302
Hi,
after I edit the file exim.pl, I need to recompile exim or just restart the service ?

Best Regards,
Star Network.
 
I guess reinstalling/recompile exim will overwrite exim.pl.
Maybe you can tell which changes you made, so jlasman can answer the question for you.
 
problem with exim

hello

in my server : vps centos 5.3
i dond succses to sent mail
problem like Message not sent. Server replied:

Connection refused
111 Can't open SMTP stream.

and more problem


if i write in root :/etc/exim.conf

it is a part that i get

/etc/exim.conf: line 593: file_transport: command not found
/etc/exim.conf: line 594: group: command not found
/etc/exim.conf: line 595: pipe_transport: command not found
/etc/exim.conf: line 596: retry_use_local_part: command not found
/etc/exim.conf: line 597: no_rewrite: command not found
/etc/exim.conf: line 598: user: command not found
/etc/exim.conf: line 600: majordomo_private:: command not found
/etc/exim.conf: line 601: driver: command not found
/etc/exim.conf: line 602: allow_defer: command not found
/etc/exim.conf: line 603: allow_fail: command not found
/etc/exim.conf: line 605: ${if or { {eq {$received_protocol} {local}} {eq {$received_protocol} {spam-scanned}} } {true} {false} }: bad substitution


help me
thanks
 
You don't need to do '/etc/exim.conf' at SSH, that doesn't work and should not work.
tza could you please send the output of 'cat /etc/hosts' (i guess a 127.0.0.1 localhost.localdomain localdomain is missing)
 
this:


# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 server15."xxx".com server15 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
xxx.xxx.xxx.138 server.not good domain.com
xxx.xxx.xxx.138 server."the good domain".info

the "xxx".com it is not my domain , is domain in another server

how i fix this
thanks you
 
It should be something like
127.0.0.1 localhost.localdomain localhost
server-ip server.hostname.tld server
::1 localhost6.localdomain6 localhost6
If you change it, make first a backup.

Replace 'server-ip' by your server IP (eth0)
Replace 'server.hostname.tld' by your hostname
Replace 'server' by everything before the .hostname.tld
 
i dont understand how i do this
i not very good in ssh

Can you explain me in detail? Includes commands ?
 
Back
Top