R=virtual_domains defer (-1): Temporary internal error

433 views
Skip to first unread message

Godfrey Hamshire

unread,
Nov 25, 2014, 10:07:12 AM11/25/14
to ve...@googlegroups.com
Good Day I am setting up a freebsd 10.0 box

I installed vexim2 from the pkg install

It automatically installed Exim version 4.84 #1 (FreeBSD 10.0) built 09-Oct-2014 18:16:21

Before I proceed I have used vexim on other boxes with out any issues.

to test the setup I setup a mail domain etc etc etc

Local delivery of mail does not take place my log files are full of this

 == godfrey@********.za.net R=virtual_domains defer (-1): Temporary internal error

Yesterday I got the latest config from the vexim website and implemented that but still I am unable to get exim local deliver.

I have looked at the virtual_domains  section till I am blue in the face.

As I am effectively stuck and at a loss at what to do I would appreciate any and all assistance.

In anticipation of your help may I say thank you.

Regards

Godfrey





cnamu...@gmail.com

unread,
Jun 20, 2016, 5:01:48 AM6/20/16
to vexim
Morning Guys
I know ist a while since this was posted but I have the same exact issue.
I am running exim4.
root@pop:/home/cnamuwenje# /usr/local/exim/bin/exim -bV
Exim version 4.87 #15 built 19-Jun-2016 11:21:13
Copyright (c) University of Cambridge, 1995 - 2016
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2016
Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
Support for: crypteq iconv() move_frozen_messages Content_Scanning DNSSEC Event OCSP PRDR
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch dbm dbmjz dbmnz dnsdb mysql
Authenticators: plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /usr/local/exim/configure

@Godfrey, did you have any luck fixing this? 
I will appreciate some comments on this.

Caroline

Udera Udera

unread,
Jun 20, 2016, 7:15:01 AM6/20/16
to cnamu...@gmail.com, vexim
Hi Caroline,

do you use the pkg-version from FreeBSD? There have been a few issues with the header_remove-lines in the config-file. Can you try a more recent version from github (https://github.com/vexim/vexim2)?

We want to release vexim 2.3 soon and some feedback from FreeBSD users would be highly appreciated. If there are still problems/bugs, don't hesitate to let us know.

Udera

cnamu...@gmail.com

unread,
Jun 20, 2016, 7:33:19 AM6/20/16
to vexim, cnamu...@gmail.com
Udera,
I appreciate your quite comment on this.
Indeed it was an issue with the header_remove lines in the virtual domains router.
I read around and someone suggested doubling the colons as the list items are now processes separately. I did exactly that and it worked like a charm.
below is what ist looks like now

virtual_domains:
  driver = redirect
  allow_fail
  data = ${lookup mysql{select smtp from users,domains \
                where localpart = '${quote_mysql::$local_part}' \
                and domain = '${quote_mysql::$domain}' \
                and domains.enabled = '1' \
                and users.enabled = '1' \
                and users.domain_id = domains.domain_id}}
  headers_add = ${if >{$spam_score_int}{${lookup mysql{select users.sa_tag * 10 from users,domains \
                where localpart = '${quote_mysql::$local_part}' \
                and domain = '${quote_mysql::$domain}' \
                and users.on_spamassassin = '1' \
                and users.domain_id=domains.domain_id }{$value}fail}} {X-Spam-Flag: YES\n}{} }
  headers_remove = ${if or { { <{$spam_score_int}{1} } \
                             { <{$spam_score_int}{${lookup mysql{select users.sa_tag * 10 from users,domains \
                               where localpart = '${quote_mysql::$local_part}' \
                               and domain = '${quote_mysql::$domain}' \
                               and users.on_spamassassin = 1 \
                               and users.domain_id=domains.domain_id}{$value}fail}} } \
                             { eq {0}{${lookup mysql{select users.sa_tag * 10 from users,domains \
                               where localpart = '${quote_mysql::$local_part}' \
                               and domain = '${quote_mysql::$domain}' \
                               and users.on_spamassassin = 0 \
                               and users.domain_id=domains.domain_id}{$value}fail}}} \
                           } {X-Spam-Score::X-Spam-Report} }


Thanks alot for ur comment

rawdmon

unread,
Aug 30, 2017, 2:35:42 PM8/30/17
to vexim, cnamu...@gmail.com
I can't thank you enough.  I was completely puzzled over this, then I doubled up on the colons and it worked like a charm.  Cheers!
Reply all
Reply to author
Forward
0 new messages