Problem with dovecot on directadmin?

bostko

Verified User
Joined
Mar 9, 2009
Messages
12
When I recieve messeges from gmail I recieve about 5-6 messeges in one hour. On all messeges it is written that they are sent at the same time.
 
Please anybody help me. I'm still recieving the same letters. This is what I'm talking about.
Code:
	John Smith 	Tue, 3:51 pm 	  	Re: LionMV уеб хостинг - запитв ане?
	John Smith 	Tue, 3:51 pm 	  	Re: LionMV уеб хостинг - запитв ане?
	John Smith 	Tue, 3:51 pm 	  	Re: LionMV уеб хостинг - запитв ане?
	John Smith 	Tue, 3:51 pm 	  	Re: LionMV уеб хостинг - запитв ане?
	John Smith 	Tue, 3:51 pm 	  	Re: LionMV уеб хостинг - запитв ане?
	John Smith 	Tue, 3:51 pm 	  	Re: LionMV уеб хостинг - запитв ане?
	John Smith 	Tue, 3:51 pm 	  	Re: LionMV уеб хостинг - запитв ане?
	John Smith 	Tue, 3:51 pm 	  	Re: LionMV уеб хостинг - запитв ане?
 
Last edited:
I've never seen anything like that. It would be helpful to see a set of logs (/var/log/exim/mainlog) related to those messages.

EDIT: well, now that I think about it, there is one easy trigger for this to happen: set a forwarding address to itself. It wouldn't send infinite message because of internal controls to the header, and I know that DA's exim conf sends the message to the inbox AND forwards it too, so that may be your case.
 
Last edited:
http://pastebin.com/m263fa66b
Code:
2009-03-19 15:44:32 1LkIQi-00077t-Sn => office <[email protected]> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=3280
2009-03-19 15:44:32 1LkIQi-00077t-Sn Completed
2009-03-19 15:44:32 1LkIQk-00077u-Ax => office <[email protected]> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=3280
2009-03-19 15:44:32 1LkIQk-00077u-Ax Completed
2009-03-19 17:59:32 1LkKVh-0007Fz-TS => office <[email protected]> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=3280
2009-03-19 17:59:32 1LkKVh-0007Fz-TS Completed
Here is a part from the /var/log/exim/mainlog . You see that at 15:44 17:59 I'm receiving the same message since one week.

tillo, can you explain me in details how to configure exim so it won't forward messages like that?
 
Check inside "/etc/virtual/lionmv.com/aliases" and remove the line "office: [email protected]".
I think that is the problem, if it's not there may be some more interesting logs; what you pasted was just the delivery log lines, you should be able to find the receiving and processing log lines just before those.
 
Does it helps?
Code:
2009-03-17 15:03:33 1LjYxB-0004Cb-5o <= [email protected] H=localhost (lionmv.com) [127.0.0.1] P=esmtpa A=login:[email protected] S=747 [email protected] T="LionMV" from <[email protected]> for [email protected]
2009-03-17 15:04:08 1LjYxj-0004Cw-Ti <= [email protected] H=localhost (lionmv.com) [127.0.0.1] P=esmtpa A=login:[email protected] S=1144 [email protected] T="LionMV" from <[email protected]> for [email protected]
2009-03-17 15:04:10 1LjYxj-0004Cw-Ti => [email protected] F=<[email protected]> R=lookuphost T=remote_smtp S=1177 H=gmail-smtp-in.l.google.com [209.85.220.16] C="250 2.0.0 OK 1237295105 20si2388394fxm.67"
2009-03-17 15:04:10 1LjYxj-0004Cw-Ti Completed
2009-03-17 15:14:32 1LjYx5-0004CZ-2c => [email protected] F=<[email protected]> R=lookuphost T=remote_smtp S=883 H=pmx.abv.bg [194.153.145.75] C="250 2.0.0 Ok: queued as 45971195A41"
2009-03-17 15:14:32 1LjYx5-0004CZ-2c Completed
2009-03-17 15:14:33 1LjYwj-0004CX-4e => [email protected] F=<[email protected]> R=lookuphost T=remote_smtp S=1283 H=gmail-smtp-in.l.google.com [209.85.220.58] C="250 2.0.0 OK 1237295728 10si3347846fxm.13"
2009-03-17 15:14:33 1LjYwj-0004CX-4e Completed
2009-03-17 15:14:35 1LjYvn-0004CR-OQ => [email protected] F=<[email protected]> R=lookuphost T=remote_smtp S=1285 H=gmail-smtp-in.l.google.com [209.85.220.58] C="250 2.0.0 OK 1237295730 10si3344755fxm.85"
2009-03-17 15:14:35 1LjYvn-0004CR-OQ Completed
2009-03-17 15:14:36 1LjYwD-0004CT-2K => [email protected] F=<[email protected]> R=lookuphost T=remote_smtp S=1287 H=gmail-smtp-in.l.google.com [209.85.220.58] C="250 2.0.0 OK 1237295731 10si3349154fxm.61"
2009-03-17 15:14:36 1LjYwD-0004CT-2K Completed
2009-03-17 15:59:32 1LjZgI-0004Fs-2J => office <[email protected]> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=4133
2009-03-17 15:59:32 1LjZgI-0004Fs-2J Completed
2009-03-17 16:14:32 1LjZrW-0004GV-EH => office <[email protected]> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=4147
2009-03-17 16:14:32 1LjZrW-0004GV-EH Completed
2009-03-17 16:18:20 1Lja7X-0004Jf-UO <= [email protected] H=localhost (lionmv.com) [127.0.0.1] P=esmtpa A=login:[email protected] S=2398 [email protected] T="Re: LionMV" from <[email protected]> for [email protected]
2009-03-17 16:18:22 1Lja7X-0004Jf-UO => [email protected] F=<[email protected]> R=lookuphost T=remote_smtp S=2468 H=gmail-smtp-in.l.google.com [209.85.220.67] C="250 2.0.0 OK 1237299557 23si2959474fxm.98"
2009-03-17 16:18:22 1Lja7X-0004Jf-UO Completed
/etc/virtual/lionmv.com/aliases
Code:
lionmv: lionmv
*: :fail:
 
This last log is not about duplicated messages, the sizes are different in both directions.
Your aliases file is ok by the way, it must be something else.

To check the exim conf try:
Code:
exim -bt '[email protected]'
and post here the results. This command will print any routing function used by exim to deliver the Email, this way we will maybe understand what's happening.

If you want to try Real debugging, try with:
Code:
exim -d -v '[email protected]'
it's hard to read, but this will tell you exactly which syscalls are launched, which variables are set etc.
 
Code:
exim -bt '[email protected]'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "bg_BG.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
[email protected]
  router = virtual_user, transport = virtual_localdelivery
Code:
Exim version 4.67 uid=0 gid=0 pid=2489 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.27: (December 22, 2004)
Support for: crypteq iconv() Perl OpenSSL move_frozen_messages Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Size of off_t: 8
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=2489
  auxiliary group list: <none>
seeking password data for user "root": cache not available
getpwnam() succeeded uid=0 gid=0
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
seeking password data for user "majordomo": cache not available
getpwnam() succeeded uid=1002 gid=1
seeking password data for user "apache": cache not available
getpwnam() succeeded uid=1001 gid=1001
seeking password data for user "diradmin": cache not available
getpwnam() succeeded uid=105 gid=107
configuration file is /etc/exim.conf
log selectors = 000024ac 002b9809
cwd=/root 4 args: exim -d -v [email protected]
trusted user
admin user
changed uid/gid: privilege not needed
  uid=8 gid=8 pid=2489
  auxiliary group list: 8
seeking password data for user "majordomo": cache not available
getpwnam() succeeded uid=1002 gid=1
seeking password data for user "majordomo": using cached result
getpwnam() succeeded uid=1002 gid=1
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
seeking password data for user "majordomo": cache not available
getpwnam() succeeded uid=1002 gid=1
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
seeking password data for user "mail": using cached result
getpwnam() succeeded uid=8 gid=8
originator: uid=0 gid=0 login=root name=root
sender address = [email protected]
set_process_info:  2489 accepting a local non-SMTP message from <[email protected]>
Sender: [email protected]
Recipients:
  [email protected]
search_tidyup called
 
The "normal" debug seems ok.

For the second, it's only partial. To have a complete listing of debugging messages, launch the same exact command (exim -d -v '[email protected]'), then when arrived to "search_tidyup called" write this:
Code:
From: <[email protected]>(enter)
(enter)
(here it rewrites the From header)
(Ctrl+d)
then it will continue and print a few hundreds lines. Copy/paste them :)
 
Last edited:
Code:
mail:~# exim -d -v '[email protected]'
Exim version 4.67 uid=0 gid=0 pid=2611 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.27: (December 22, 2004)
Support for: crypteq iconv() Perl OpenSSL move_frozen_messages Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Size of off_t: 8
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=2611
  auxiliary group list: <none>
seeking password data for user "root": cache not available
getpwnam() succeeded uid=0 gid=0
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
seeking password data for user "majordomo": cache not available
getpwnam() succeeded uid=1002 gid=1
seeking password data for user "apache": cache not available
getpwnam() succeeded uid=1001 gid=1001
seeking password data for user "diradmin": cache not available
getpwnam() succeeded uid=105 gid=107
configuration file is /etc/exim.conf
log selectors = 000024ac 002b9809
cwd=/root 4 args: exim -d -v [email protected]
trusted user
admin user
changed uid/gid: privilege not needed
  uid=8 gid=8 pid=2611
  auxiliary group list: 8
seeking password data for user "majordomo": cache not available
getpwnam() succeeded uid=1002 gid=1
seeking password data for user "majordomo": using cached result
getpwnam() succeeded uid=1002 gid=1
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
seeking password data for user "majordomo": cache not available
getpwnam() succeeded uid=1002 gid=1
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
seeking password data for user "mail": using cached result
getpwnam() succeeded uid=8 gid=8
originator: uid=0 gid=0 login=root name=root
sender address = [email protected]
set_process_info:  2611 accepting a local non-SMTP message from <[email protected]>
Sender: [email protected]
Recipients:
  [email protected]
search_tidyup called
From: <[email protected]>

>>Headers received:
From: <[email protected]>

rewrite_one_header: type=F:
  From: <[email protected]>
search_tidyup called
>>Headers after rewriting and local additions:
F From: <[email protected]>
I Message-Id: <[email protected]>
  Date: Fri, 20 Mar 2009 21:04:03 +0200

Data file written for message 1Lkk0R-0000g7-Od
>>Generated Received: header line
P Received: from root by mail.lionmv.com with local (Exim 4.67)
        (envelope-from <[email protected]>)
        id 1Lkk0R-0000g7-Od
        for [email protected]; Fri, 20 Mar 2009 21:04:09 +0200
calling local_scan(); timeout=300
local_scan() returned 0 NULL
Writing spool header file
Size of headers = 288
LOG: MAIN
  <= [email protected] U=root P=local S=289
search_tidyup called
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=2611 terminating with rc=0 >>>>>>>>>>>>>>>>
exec /usr/sbin/exim -d=0xfbb95cfd -Mc 1Lkk0R-0000g7-Od
mail:~# Exim version 4.67 uid=8 gid=8 pid=2615 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.27: (December 22, 2004)
Support for: crypteq iconv() Perl OpenSSL move_frozen_messages Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Size of off_t: 8
changed uid/gid: forcing real = effective
  uid=0 gid=8 pid=2615
  auxiliary group list: <none>
seeking password data for user "root": cache not available
getpwnam() succeeded uid=0 gid=0
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
seeking password data for user "majordomo": cache not available
getpwnam() succeeded uid=1002 gid=1
seeking password data for user "apache": cache not available
getpwnam() succeeded uid=1001 gid=1001
seeking password data for user "diradmin": cache not available
getpwnam() succeeded uid=105 gid=107
configuration file is /etc/exim.conf
log selectors = 000024ac 002b9809
cwd=/var/spool/exim 4 args: /usr/sbin/exim -d=0xfbb95cfd -Mc 1Lkk0R-0000g7-Od
trusted user
admin user
skipping ACL configuration - not needed
seeking password data for user "majordomo": cache not available
getpwnam() succeeded uid=1002 gid=1
seeking password data for user "majordomo": using cached result
getpwnam() succeeded uid=1002 gid=1
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
seeking password data for user "majordomo": cache not available
getpwnam() succeeded uid=1002 gid=1
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
seeking password data for user "mail": using cached result
getpwnam() succeeded uid=8 gid=8
set_process_info:  2615 delivering specified messages
set_process_info:  2615 delivering 1Lkk0R-0000g7-Od
reading spool file 1Lkk0R-0000g7-Od-H
user=root uid=0 gid=0 [email protected]
sender_local=1 ident=root
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=0 message_linecount=7
running system filter
rda_interpret (file): /etc/system_filter.exim
expanded: /etc/system_filter.exim
12784 bytes read from /etc/system_filter.exim
data is an Exim filter program
Filter: start of processing
Filter: end of processing
system filter returned 1
Delivery address list:
  [email protected]
locking /var/spool/exim/db/retry.lockfile
locked /var/spool/exim/db/retry.lockfile
EXIM_DBOPEN(/var/spool/exim/db/retry)
returned from EXIM_DBOPEN
opened hints database /var/spool/exim/db/retry: flags=O_RDONLY
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering: [email protected]
unique = [email protected]
dbfn_read: key=R:lionmv.com
dbfn_read: key=R:[email protected]
dbfn_read: key=R:[email protected]:<[email protected]>
no domain retry record
no address retry record
[email protected]: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing [email protected]
--------> lookuphost router <--------
local_part=office domain=lionmv.com
checking domains
search_open: lsearch "/etc/virtual/domains"
search_find: file="/etc/virtual/domains"
  key="lionmv.com" partial=-1 affix=NULL starflags=0
LRU list:
  :/etc/virtual/domains
  End
internal_search_find: file="/etc/virtual/domains"
  type=lsearch key="lionmv.com"
file lookup required for lionmv.com
  in /etc/virtual/domains
lookup yielded:
lionmv.com in "lsearch;/etc/virtual/domains"? yes (matched "lsearch;/etc/virtual/domains")
data from lookup saved for cache for +local_domains:
lionmv.com in "! +local_domains"? no (matched "! +local_domains")
lookuphost router skipped: domains mismatch
--------> majordomo_aliases router <--------
local_part=office domain=lionmv.com
checking domains
search_open: lsearch "/etc/virtual/domainowners"
search_find: file="/etc/virtual/domainowners"
  key="lionmv.com" partial=-1 affix=NULL starflags=0
LRU list:
  :/etc/virtual/domainowners
  :/etc/virtual/domains
  End
internal_search_find: file="/etc/virtual/domainowners"
  type=lsearch key="lionmv.com"
file lookup required for lionmv.com
  in /etc/virtual/domainowners
lookup yielded: lionmv
lionmv.com in "lsearch;/etc/virtual/domainowners"? yes (matched "lsearch;/etc/virtual/domainowners")
calling majordomo_aliases router
rda_interpret (string): ${if exists{/etc/virtual/${domain}/majordomo/list.aliases}{${lookup{$local_part}lsearch{/etc/virtual/${domain}/majordomo/list.aliases}}}}
expanded:
file is not a filter file
parse_forward_list:
majordomo_aliases router declined for [email protected]
--------> majordomo_private router <--------
local_part=office domain=lionmv.com
checking domains
search_open: lsearch "/etc/virtual/domainowners"
  cached open
search_find: file="/etc/virtual/domainowners"
  key="lionmv.com" partial=-1 affix=NULL starflags=0
LRU list:
  :/etc/virtual/domainowners
  :/etc/virtual/domains
  End
internal_search_find: file="/etc/virtual/domainowners"
  type=lsearch key="lionmv.com"
cached data used for lookup of lionmv.com
  in /etc/virtual/domainowners
lookup yielded: lionmv
lionmv.com in "lsearch;/etc/virtual/domainowners"? yes (matched "lsearch;/etc/virtual/domainowners")
checking "condition"
calling majordomo_private router
rda_interpret (string): ${if exists{/etc/virtual/${domain}/majordomo/private.aliases}{${lookup{$local_part}lsearch{/etc/virtual/${domain}/majordomo/private.aliases}}}}
expanded:
file is not a filter file
parse_forward_list:
majordomo_private router declined for [email protected]
--------> domain_filter router <--------
local_part=office domain=lionmv.com
checking "condition"
calling domain_filter router
search_open: lsearch "/etc/virtual/domainowners"
  cached open
search_find: file="/etc/virtual/domainowners"
  key="lionmv.com" partial=-1 affix=NULL starflags=0
LRU list:
  :/etc/virtual/domainowners
  :/etc/virtual/domains
  End
internal_search_find: file="/etc/virtual/domainowners"
  type=lsearch key="lionmv.com"
cached data used for lookup of lionmv.com
  in /etc/virtual/domainowners
lookup yielded: lionmv
seeking password data for user "lionmv": cache not available
getpwnam() succeeded uid=1007 gid=1008
rda_interpret (file): /etc/virtual/${domain}/filter
expanded: /etc/virtual/lionmv.com/filter
search_tidyup called
changed uid/gid: domain_filter router (recipient is [email protected])
  uid=1007 gid=8 pid=2616
  auxiliary group list: <none>
turned off address rewrite logging (not root or exim in this process)
254 bytes read from /etc/virtual/lionmv.com/filter
data is an Exim filter program
Filter: start of processing
Filter: end of processing
search_tidyup called
rda_interpret: subprocess yield=1 error=NULL
domain_filter router declined for [email protected]
--------> uservacation router <--------
local_part=office domain=lionmv.com
checking require_files
file check: /etc/virtual/${domain}/reply/${local_part}.msg
expanded file: /etc/virtual/lionmv.com/reply/office.msg
stat() yielded -1
errno = 2
uservacation router skipped: file check
--------> userautoreply router <--------
local_part=office domain=lionmv.com
checking require_files
file check: /etc/virtual/${domain}/reply/${local_part}.msg
expanded file: /etc/virtual/lionmv.com/reply/office.msg
stat() yielded -1
errno = 2
userautoreply router skipped: file check
--------> virtual_aliases_nostar router <--------
local_part=office domain=lionmv.com
calling virtual_aliases_nostar router
rda_interpret (string): ${if exists{/etc/virtual/${domain}/aliases}{${lookup{$local_part}lsearch{/etc/virtual/${domain}/aliases}}}}
search_open: lsearch "/etc/virtual/lionmv.com/aliases"
search_find: file="/etc/virtual/lionmv.com/aliases"
  key="office" partial=-1 affix=NULL starflags=0
LRU list:
  :/etc/virtual/lionmv.com/aliases
  End
internal_search_find: file="/etc/virtual/lionmv.com/aliases"
  type=lsearch key="office"
file lookup required for office
  in /etc/virtual/lionmv.com/aliases
lookup failed
expanded:
file is not a filter file
parse_forward_list:
virtual_aliases_nostar router declined for [email protected]
--------> virtual_user router <--------
local_part=office domain=lionmv.com
checking domains
search_open: lsearch "/etc/virtual/domainowners"
search_find: file="/etc/virtual/domainowners"
  key="lionmv.com" partial=-1 affix=NULL starflags=0
LRU list:
  :/etc/virtual/domainowners
  :/etc/virtual/lionmv.com/aliases
  End
internal_search_find: file="/etc/virtual/domainowners"
  type=lsearch key="lionmv.com"
file lookup required for lionmv.com
  in /etc/virtual/domainowners
lookup yielded: lionmv
lionmv.com in "lsearch;/etc/virtual/domainowners"? yes (matched "lsearch;/etc/virtual/domainowners")
checking "condition"
Starting Perl interpreter
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "bg_BG.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
calling virtual_user router
virtual_user router called for [email protected]
  domain = lionmv.com
set transport virtual_localdelivery
queued for virtual_localdelivery transport: local_part = office
domain = lionmv.com
  errors_to=NULL
  domain_data=lionmv localpart_data=NULL
routed by virtual_user router
  envelope to: [email protected]
  transport: virtual_localdelivery
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
After routing:
  Local deliveries:
    [email protected]
  Remote deliveries:
  Failed addresses:
  Deferred addresses:
search_tidyup called
>>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
--------> [email protected] <--------
locking /var/spool/exim/db/retry.lockfile
locked /var/spool/exim/db/retry.lockfile
EXIM_DBOPEN(/var/spool/exim/db/retry)
returned from EXIM_DBOPEN
opened hints database /var/spool/exim/db/retry: flags=O_RDONLY
dbfn_read: key=T:[email protected]
no retry record exists
search_open: lsearch "/etc/virtual/domainowners"
search_find: file="/etc/virtual/domainowners"
  key="lionmv.com" partial=-1 affix=NULL starflags=1
LRU list:
  :/etc/virtual/domainowners
  End
internal_search_find: file="/etc/virtual/domainowners"
  type=lsearch key="lionmv.com"
file lookup required for lionmv.com
  in /etc/virtual/domainowners
lookup yielded: lionmv
seeking password data for user "lionmv": using cached result
getpwnam() succeeded uid=1007 gid=1008
search_tidyup called
search_open: lsearch "/etc/virtual/lionmv.com/quota"
search_find: file="/etc/virtual/lionmv.com/quota"
  key="office" partial=-1 affix=NULL starflags=1
LRU list:
  :/etc/virtual/lionmv.com/quota
  End
internal_search_find: file="/etc/virtual/lionmv.com/quota"
  type=lsearch key="office"
file lookup required for office
  in /etc/virtual/lionmv.com/quota
lookup yielded: 0
changed uid/gid: local delivery to office <[email protected]> transport=virtual_localdelivery
  uid=1007 gid=8 pid=2617
  auxiliary group list: <none>
  home=NULL current=/
set_process_info:  2617 delivering 1Lkk0R-0000g7-Od to office using virtual_localdelivery
appendfile transport entered
search_open: lsearch "/etc/virtual/domainowners"
search_find: file="/etc/virtual/domainowners"
  key="lionmv.com" partial=-1 affix=NULL starflags=1
LRU list:
  :/etc/virtual/domainowners
  :/etc/virtual/lionmv.com/quota
  End
internal_search_find: file="/etc/virtual/domainowners"
  type=lsearch key="lionmv.com"
file lookup required for lionmv.com
  in /etc/virtual/domainowners
lookup yielded: lionmv
appendfile: mode=660 notify_comsat=0 quota=0 warning=0
  directory=/home/lionmv/imap/lionmv.com/office/Maildir format=maildir
  message_prefix=null
  message_suffix=null
  maildir_use_size_file=no
ensuring maildir directories exist in /home/lionmv/imap/lionmv.com/office/Maildir
delivering in maildir format in /home/lionmv/imap/lionmv.com/office/Maildir
writing to file tmp/1237575849.H556887P2617.mail.lionmv.com
writing data block fd=9 size=403 timeout=0
renaming temporary file
renamed tmp/1237575849.H556887P2617.mail.lionmv.com as new/1237575849.H556887P2617.mail.lionmv.com
appendfile yields 0 with errno=0 more_errno=0
search_tidyup called
journalling [email protected]
virtual_localdelivery transport returned OK for [email protected]
post-process [email protected] (0)
[email protected] delivered
LOG: MAIN
  => office <[email protected]> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=403
>>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
changed uid/gid: post-delivery tidying
  uid=8 gid=8 pid=2615
  auxiliary group list: <none>
set_process_info:  2615 tidying up after delivering 1Lkk0R-0000g7-Od
Processing retry items
Succeeded addresses:
[email protected]: no retry items
Failed addresses:
Deferred addresses:
end of retry processing
LOG: MAIN
  Completed
end delivery of 1Lkk0R-0000g7-Od
search_tidyup called
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=2615 terminating with rc=0 >>>>>>>>>>>>>>>>
A little more top secret information :)
Code:
:~# cat /etc/virtual/domainowners
gallery.lionmv.com: gallery
bobo.lionmv.com: boboyoou
angerfist-radio.lionmv.com: simeon
crazyhorse.lionmv.com: crazyhorse
original.lionmv.com: original
mira.lionmv.com: mira
vaniachi.lionmv.com: vaniachi
libertapz.lionmv.com: furbo
sabriradio.lionmv.com: sabri1993
testing.lionmv.com: testing
xbtit.lionmv.com: crazyrex
frozencrew.lionmv.com: frozencrew
lionmv.com: lionmv
test.lionmv.com: bergonhost
patoforma.com: patoforma
 
Last edited:
Ok, I read it and it seems all right. Did you receive that message more than once?

If not, try the same thing with "From: <[email protected]>".
If yes, the problem is definitely in your Email client or webmail, not in exim.
 
It seems normal I don't receive more messages now. The strange thing is that this problem occurs for some e - mails like this and google adsense support system and a few more messeges from ispsystem. The strange thing is that when I try to send e mails from my account in gmail and abv everything seems fine I don't receive the same messeges for days :confused:
 
Well, I can't help you more, sorry. Hope you find what the problem is and write the answer here :) other people may have the same problem in the future.

EDIT: you are a lucky man: one of my hosted friends just had the same problem on a DA server of mine!
He has been receiving the same message over and over again for the last couple days, I looked up into the logs and there it is:
Code:
2009-03-20 22:05:10 1LklgF-0004W8-5B ** [email protected] F=<[email protected]> R=spamcheck_director T=spamcheck: Child process of spamcheck transport (running command "/usr/sbin/exim -oMr spam-scanned -bS") was terminated by signal 11 (Segmentation fault)
2009-03-20 22:05:10 1Lkltu-00050v-4R <= <> R=1LklgF-0004W8-5B U=mail P=local S=15904 T="Mail delivery failed: returning message to sender" from <> for [email protected]
2009-03-20 22:05:10 1LklgF-0004W8-5B Completed
2009-03-20 22:05:10 1Lkltu-00050v-4R => [email protected] F=<> R=lookuphost T=remote_smtp S=16211 H=a.mx.ailab.ch [130.60.75.60] X=TLSv1:DHE-RSA-AES256-SHA:256 C="250 Ok: queued as B25D01C4F52D"
2009-03-20 22:05:10 1Lkltu-00050v-4R Completed
As you can see, the message with ID 1LklgF-0004W8-5B arrives and the spamassassin check fails, then exim creates an error message 1Lkltu-00050v-4R ready to be sent back to the sender address. The problem is that just after that, 1LklgF-0004W8-5B's delivery gets completed anyway, so when the error is sent the sender (which is an automatic software, a mailing list) send the original message again an hour later or so and the cycle continues. I guess Google Adsense's support has a similar retry system (which, by the way, is probably not RFC).

I just restarted exim (and spamd), I suggest doing to same hoping the problem solves itself (/etc/init.d/exim restart). If it happens again I'll have to check why spamassassin or exim are failing the spam check on that message.
I checked my logs, and that message is the only one failing between hundreds, it's really weird.

I'll update the thread if I find anything else.
 
Last edited:
I found this thread, about the same problem: http://www.directadmin.com/forum/showthread.php?p=132970
Someone solved the problem by compiling the last version of exim by hand. I'm going to search further and see why Debian Lenny's repository has this bugged version (4.62-1, patched to 4.67) and if there is another one.
EDIT: I realize now, this exim package is from DA:
Code:
$ apt-cache show exim |grep Maintainer
Maintainer: directadmin

Can please DA create a fixed package, based on a recent version of exim? Thanks.

EDIT: it seems like they already wrote a guide on how to update the exim binary: http://help.directadmin.com/item.php?id=125
It's not a very clean solution... but I did it, and now I'm waiting to see if it's working.
Of course it would be better to have a complete da_exim-4.69 debian package instead of overwriting the binary of da_exim-4.67...

EDIT2: the problem has been solved that way, no more segfaults.
 
Last edited:
Hello tillo,

Can you confirm if you're using Debian 5? The binaries are all built against Debian 4, which is likely where the issues are coming from. The Debian 5 testing phase right now is to see if the old binaries work on Deb 5, but it seems it's a bit random when they do, and when they don't, so we'll have to create another build system for Debian 5 to get proper packages created for everything (directadmin, dataskq, and all deb files)

For anyone with issues with deb files for on Debian 5, you'll need to recompile from source. For exim, as tillo mentioned, this is the guide:
http://help.directadmin.com/item.php?id=125

To monitor to see when we have the real Debian 5 binaires uploaded, keep an eye on the http://files.directadmin.com/services/debian_5.0/files.sh. Right now it shows "filesh_path=debian_3.1". Once you see it say "filesh_path=debian_5.0", then it will mean the debain_5.0 directory is no longer a symbolic link to debian_3.1, and these new files should be ok. (3.1 and 4.0 were essentially transparent, didn't appear to have any issues between versions)

John
 
RE: problem with dovecot on directadmin?

DirectAdmin Support said:
Hello tillo,

Can you confirm if you're using Debian 5? The binaries are all built against Debian 4, which is likely where the issues are coming from. The Debian 5 testing phase right now is to see if the old binaries work on Deb 5, but it seems it's a bit random when they do, and when they don't, so we'll have to create another build system for Debian 5 to get proper packages created for everything (directadmin, dataskq, and all deb files)

Hi John,

Yes, the system was Debian 5, upgraded from Debian 4 a while ago.

Even if that was the only problem I've seen on my system since the upgrade, I strongly suggest rebuilding the binaries with the new libraries: during the upgrade I've seen a lot of libraries known to have different APIs upgrading.
 
Back
Top