exim 4.69-4

jason

Verified User
Joined
Mar 1, 2005
Messages
37
after upgrating my exim to verion 4.69-4 the direct admin script not start
also i cannot get and receive email
my mail log is like this

May 7 04:38:56 newinst dovecot[78880]: POP3([email protected]): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
May 7 04:40:03 newinst dovecot[78880]: auth(default): passwd([email protected],78.158.138.17): unknown user
May 7 04:40:03 newinst dovecot[78880]: auth(default): passwd([email protected],78.158.138.17): unknown user
May 7 04:40:03 newinst dovecot[78880]: pop3-login: Login: user=<[email protected]>, method=PLAIN, rip=78.158.138.17, lip=72.232.203.66
May 7 04:40:03 newinst dovecot[78880]: POP3([email protected]): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
May 7 04:40:20 newinst dovecot[78880]: auth(default): passwd([email protected],83.168.17.138): unknown user
May 7 04:40:20 newinst dovecot[78880]: auth(default): passwd([email protected],83.168.17.138): unknown user
May 7 04:40:20 newinst dovecot[78880]: pop3-login: Login: user=<[email protected]>, method=PLAIN, rip=83.168.17.138, lip=72.232.203.66
May 7 04:40:21 newinst dovecot[78880]: POP3([email protected]): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0

can someone help me
thanks
 
May 7 03:40:20 newinst exim[65958]: exim: could not open panic log - aborting: see message(s) above
May 7 03:40:20 newinst exim[65977]: 2008-05-07 03:40:20 1JtfCG-000HA9-OT Failed to create spool file /var/spool/exim/input//1JtfCG-000HA9-OT-D: Permission denied
May 7 03:40:20 newinst exim[65977]: 2008-05-07 03:40:20 1JtfCG-000HA9-OT Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=1002 egid=1002
May 7 03:40:20 newinst exim[65977]: exim: could not open panic log - aborting: see message(s) above
May 7 03:40:20 newinst exim[65986]: 2008-05-07 03:40:20 1JtfCG-000HAI-QM Failed to create spool file /var/spool/exim/input//1JtfCG-000HAI-QM-D: Permission denied
May 7 03:40:20 newinst exim[65986]: 2008-05-07 03:40:20 1JtfCG-000HAI-QM Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=1002 egid=1002
May 7 03:40:20 newinst exim[65986]: exim: could not open panic log - aborting: see message(s) above
 
Cannot open main log file "/var/log/exim/mainlog": Permission denied
Check the permissions on the log files and directories.
 
its only read and write by root
what are the correct one

also how i will fix the problem that the script not start through direct admin
and also how i can install corerct the spamassassin or something similar
thanks
 
i think exim is working ok
but here the error

thats panic.log

2008-05-07 15:50:21 failed to expand condition "${perl{save_virtual_user}}" for virtual_user router: Undefined subroutine &main::save_virtual_user called.

2008-05-07 15:53:28 1Jtqdj-00095v-W2 failed to expand condition "${perl{save_virtual_user}}" for virtual_user router: Undefined subroutine &main::save_virtual_user called.

2008-05-07 15:53:43 failed to expand condition "${perl{save_virtual_user}}" for virtual_user router: Undefined subroutine &main::save_virtual_user called.

2008-05-07 15:53:46 socket bind() to port 25 for address (any IPv4) failed: Address already in use: daemon abandoned

and thats main log

2008-05-07 15:53:43 H=(18912245226.user.veloxzone.com.br) [189.12.245.226] F=<[email protected]> rejected RCPT <[email protected]>:
2008-05-07 15:53:43 H=(18912245226.user.veloxzone.com.br) [189.12.245.226] incomplete transaction (connection lost) from <[email protected]>
2008-05-07 15:53:43 unexpected disconnection while reading SMTP command from (18912245226.user.veloxzone.com.br) [189.12.245.226]
2008-05-07 15:53:46 socket bind() to port 25 for address (any IPv4) failed: Address already in use: daemon abandoned
2008-05-07 15:56:20 1JtqgW-00097e-LR <= [email protected] H=pc-172-26-214-201.cm.vtr.net (201.214.26.172) [201.214.26.172] P=esmtp S=1435 id=001701c8b074$67555680$073bdbfc@desktop T="Office 2007 Enterprise OEM version" from <[email protected]> for [email protected]
2008-05-07 15:56:20 1JtqgW-00097e-LR failed to expand condition "${perl{save_virtual_user}}" for virtual_user router: Undefined subroutine &main::save_virtual_user called.


any idea
 
well i replace exim.pl and restart exim but still the same


May 7 21:22:39 newinst dovecot[35391]: auth(default): passwd([email protected],82.102.84.130): unknown user
May 7 21:22:39 newinst dovecot[35391]: auth(default): passwd([email protected],82.102.84.130): unknown user
May 7 21:22:39 newinst dovecot[35391]: pop3-login: Login: user=<[email protected]>, method=PLAIN, rip=82.102.84.130, lip=72.232.203.66
May 7 21:22:39 newinst dovecot[35391]: POP3([email protected]): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
 
if you update exim through portupgrade be sure to edit the exim makefile in /usr/ports/mail/exim and replace the user that exim will use to mail .
if you have already upgrade it after the edit do a :
make deinstall reinstall
 
hi again
exim now working but problem with spamassasin
i cant get emails from gmail
did i have to put something on white list

also
when i try to run /usr/bin/spamd

i get

/usr/bin/spamd
[47444] info: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": transport_filter = /usr/bin/spamc -u ${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}
[47444] error: Can't locate version.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8) at /usr/local/lib/perl5/site_perl/5.8.8/Mail/SPF.pm line 24.
[47444] info: spamd: server started on port 783/tcp (running version 3.2.4)
[47444] info: spamd: server pid: 47444
[47444] info: spamd: server successfully spawned child process, pid 47446
[47444] info: spamd: server successfully spawned child process, pid 47447
[47444] info: prefork: child states: II
^C[47444] info: spamd: server killed by SIGINT, shutting down
 
Maybe you should try to install spamassassin via the cpan as in (first backup your current /etc/mail/spamassassin):

http://safari.oreilly.com/0596007078/spamassassin-CHP-2-SECT-2

this installation though is DA independent and for the spamassassin deamon you follow the freebsd's updates for now and on.

If you have the knowledge and patience it's best to try to replace the all of DA services with the freebsd's ports collection.
 
i am using direct admin not cpanel
do u mean run everything through ports collection

also remove apache php and install from ports?
 
cpan is a archive system where you can easilly install/update/manage a wide set of perl modules.
It includes spamassassin.
After the installation you can upgrade through port collection.
You can do this for all of the DA services. It's a bit of painful but it worths it.
There are some topics about this, some users including me have a system with all services updated through the ports collection and not custombuild.
But you have to know what you are doing and until now there aren't any how to about it.
I'm able to help through if you try it. But be aware that you may have your server without a service for many hours until you find a solution for a problem.
 
ay 8 14:31:39 newinst dovecot[957]: pop3-login: Login: user=<[email protected]>, method=PLAIN, rip=82.102.84.178, lip=72.232.203.66
May 8 14:31:40 newinst dovecot[957]: POP3([email protected]): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
May 8 14:31:42 newinst dovecot[957]: auth(default): passwd([email protected],127.0.0.1): unknown user
May 8 14:31:42 newinst dovecot[957]: auth(default): passwd([email protected],127.0.0.1): unknown user
May 8 14:31:42 newinst dovecot[957]: pop3-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
May 8 14:32:32 newinst dovecot[957]: POP3([email protected]): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0

is that problem on docecot
cause exim is ok
 
exim is for port 25
and dovecot for port 110

before direct admin has dovecot which is the old smpt service used for port 110 ?
 
so cpan is not same as cpanel

Nope. Just like dog and dogma are two totally different things.

before direct admin has dovecot which is the old smpt service used for port 110 ?

smtp has nothing to do with port 110

exim is for port 25
and dovecot for port 110

smtp = 25
authenticated smtp = 587
pop3 = 110
imap = 143

There are a variety of programs that can listen on these ports.

smtp is mail delivery
pop3 and imap are mail retrieval

I don't know what your question is now. You said spamassassin was not working but the log entries you gave us show nothing about spamassassin.
 
Last edited:
imap is 143 and not 110

well whats the problem then i have with dovecot

whats the error i get on

whan i make cat /var/log/mail/log

ay 9 05:20:34 newinst dovecot[957]: auth(default): passwd([email protected],92.80.75.202): unknown user
May 9 05:20:34 newinst dovecot[957]: pop3-login: Login: user=<[email protected]>, method=PLAIN, rip=92.80.75.202, lip=72.232.203.66
May 9 05:20:34 newinst dovecot[957]: POP3([email protected]): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
May 9 05:20:49 newinst dovecot[957]: auth(default): passwd([email protected],92.80.75.202): unknown user
May 9 05:20:49 newinst dovecot[957]: auth(default): passwd([email protected],92.80.75.202): unknown user
May 9 05:20:49 newinst dovecot[957]: pop3-login: Login: user=<[email protected]>, method=PLAIN, rip=92.80.75.202, lip=72.232.203.66
May 9 05:20:50 newinst dovecot[957]: POP3([email protected]): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
 
dont worry about the

ay 9 05:20:34 newinst dovecot[957]: auth(default): passwd([email protected],92.80.75.202): unknown user

the uknown user is not an error (this is because these users are virtual users)

did you upgrade exim via the ports or DA's custombuild?
 
yes
and also the spamassasin
emails not comming correct
so what i have to do
thanks
 
Back
Top