PDA

View Full Version : Exim Problems (I think)



jseymour
07-21-2008, 03:59 PM
Yesterday I decided to upgrade php and apache on my server. Was getting build errors, so came to the forums here and located the new custom build script.

Started out just upgrading my target apps, but they kept complaining about versions of other installed apps. Well long story short I did a ./build all.

All built fine. Had a couple of simple httpd.conf errors that I was able to fix easily. But my mail server is not working. Exim is running but not receiving messages (leaving them in the queue). In the mainlog for exim I see this quite often:
<paste>
<jseymour@xxxxx.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
</paste>

Another thing, it seems that dovecot installed and disabled vm-popd which I was using before. Is this part of the problem? Any idea what to look at to fix?

TIA

adamp
07-21-2008, 04:19 PM
you can write mor logs ?

you have some error on the services when you rebuliding?

jseymour
07-21-2008, 04:31 PM
you can write mor logs ?

you have some error on the services when you rebuliding?

Mostly this:

2008-07-21 17:18:20 1KL1P7-0008SJ-8d == /home/admin/imap/warpigw2.com/thisisjusttestmessageatall/Maildir/.INBOX.spam/new/ <thisisjusttestmessageatall@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL1S3-0000IV-PX == /home/admin/imap/warpigw2.com/spa/Maildir/.INBOX.spam/new/ <spa@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL1Td-0000Is-LW == /home/jdseymour/imap/tutorialmasters.com/sales/Maildir/.INBOX.spam/new/ <sales@tutorialmasters.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL1Vg-0000KZ-PG == /home/admin/imap/warpigw2.com/sales/Maildir/.INBOX.spam/new/ <sales@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL1Yq-0000Kx-Th == /home/admin/imap/warpigw2.com/jseymour/Maildir/.INBOX.spam/new/ <jseymour@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL1cl-0000NR-Me == /home/jdseymour/imap/tutorialmasters.com/merkinec/Maildir/.INBOX.spam/new/ <merkinec@tutorialmasters.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL1m6-00017Z-3c == /home/admin/imap/warpigw2.com/catchthismail/Maildir/.INBOX.spam/new/ <catchthismail@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL1p3-000188-LF == /home/admin/imap/warpigw2.com/jroiyx/Maildir/.INBOX.spam/new/ <jroiyx@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL1pH-0001OT-9o == /home/admin/imap/warpigw2.com/szhas/Maildir/.INBOX.spam/new/ <szhas@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL1pQ-0001Ox-4j == /home/admin/imap/warpigw2.com/webmaster/Maildir/.INBOX.spam/new/ <webmaster@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL1s7-0001sS-NH == /home/admin/imap/warpigw2.com/petgord34truew/Maildir/.INBOX.spam/new/ <petgord34truew@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL1wt-0001uk-4l == /home/admin/imap/warpigw2.com/mail/Maildir/.INBOX.spam/new/ <mail@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL1xZ-0001uv-Cu == /home/admin/imap/warpigw2.com/mail/Maildir/.INBOX.spam/new/ <mail@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL20S-0001vC-4w == /home/admin/imap/warpigw2.com/jseymour/Maildir/.INBOX.spam/new/ <jseymour@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2E5-0002i3-My == /home/admin/imap/warpigw2.com/webmaster/Maildir/.INBOX.spam/new/ <webmaster@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2Ds-0002hn-9z == /home/admin/imap/warpigw2.com/warpig/Maildir/.INBOX.spam/new/ <warpig@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2E0-0002hw-SL == /home/admin/imap/warpigw2.com/warpig/Maildir/.INBOX.spam/new/ <warpig@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2FB-0002iG-4u == /home/admin/imap/warpigw2.com/jseymour/Maildir/.INBOX.spam/new/ <jseymour@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2Fs-0002iR-PD == /home/admin/imap/warpigw2.com/webmaster/Maildir/.INBOX.spam/new/ <webmaster@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2Iy-00039k-1J == /home/admin/imap/warpigw2.com/jseymour/Maildir/.INBOX.spam/new/ <jseymour@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2UB-0003WE-PG == /home/admin/imap/warpigw2.com/abzr/Maildir/.INBOX.spam/new/ <abzr@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2KE-0003T3-Mn == /home/admin/imap/warpigw2.com/sales/Maildir/.INBOX.spam/new/ <sales@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2Pt-0003VY-LC == /home/admin/imap/warpigw2.com/sales/Maildir/.INBOX.spam/new/ <sales@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2Rl-0003Vu-KV == /home/admin/imap/warpigw2.com/jibzds/Maildir/.INBOX.spam/new/ <jibzds@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2WJ-0003Wq-Vk == /home/admin/imap/warpigw2.com/sales/Maildir/.INBOX.spam/new/ <sales@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2iG-0004Ks-Hy == /home/admin/imap/warpigw2.com/spa/Maildir/.INBOX.spam/new/ <spa@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2aS-0004JB-5q == /home/admin/imap/warpigw2.com/petgord34truew/Maildir/.INBOX.spam/new/ <petgord34truew@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2bb-0004JV-JC == /home/jdseymour/imap/tutorialmasters.com/jseymour/Maildir/.INBOX.spam/new/ <jseymour@tutorialmasters.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2dS-0004KA-3l == /home/admin/imap/warpigw2.com/orpb/Maildir/.INBOX.spam/new/ <orpb@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2gp-0004Ka-2u == /home/admin/imap/warpigw2.com/iobicj/Maildir/.INBOX.spam/new/ <iobicj@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2iA-0004Kl-TS == /home/admin/imap/warpigw2.com/warpig/Maildir/.INBOX.spam/new/ <warpig@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2m7-0004OB-By == /home/admin/imap/warpigw2.com/warpig/Maildir/.INBOX.spam/new/ <warpig@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2lq-0004Nv-2h == /home/admin/imap/warpigw2.com/warpig/Maildir/.INBOX.spam/new/ <warpig@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2q2-0004nA-OK == /home/admin/imap/warpigw2.com/pynjlq/Maildir/.INBOX.spam/new/ <pynjlq@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2rn-000518-2a == /home/admin/imap/warpigw2.com/jibzds/Maildir/.INBOX.spam/new/ <jibzds@warpigw2.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router
2008-07-21 17:18:20 1KL2u6-0005nk-E4 == /home/jdseymour/imap/tutorialmasters.com/jseymour/Maildir/.INBOX.spam/new/ <jseymour@tutorialmasters.com> R=domain_filter defer (-30): directory_transport unset in domain_filter router

A lot of this is spam.

No errors when rebuilding anything after running ./build all.

Here is my ./build options:

[root@server custombuild]# ./build options
Apache: 2.2.9
Dovecot: 1.1.1
exim.conf update: no
MySQL: no
MySQL backup: no
PHP: 5.2.6 as CLI with mail() header patch
phpMyAdmin: 2.11.7.1-all-languages
ProFTPD: 1.3.1
Atmail webmail: no
RoundCube webmail: 0.1.1
Run "clean" every time: yes
Show texts in bold: yes
SquirrelMail: 1.4.15
UebiMiau: no
Zend Optimizer: no


Not sure what changes were made from the upgrades config wise. I did do a diff on exim.conf and exim.conf.original and checked out the same.

Thanks for replying. Let me know what else to look at.

nobaloney
07-23-2008, 12:34 PM
Make sure you're using the latest exim.conf file. Make sure that if you've converted to Dovecot it has the latest Dovecot/Maildir code in it.

Make sure you're running the latest exim.pl file.

Jeff

Oleg_Bkk
07-25-2008, 06:59 PM
Hello Jeff :-)

Make sure you're using the latest exim.conf file.
Where can I get that file ?

nobaloney
08-01-2008, 10:28 AM
If you want the latest official file you can find it (and the exim.pl file that goes with it on the DirectAdmin site:

http://files.directadmin.com/services/

If you're willing to use beta software, my latest version can be found on my site:

http://www.nobaloney.net/downloads/spamblocker/DirectAdminSpamBlocker3/

Jeff

Oleg_Bkk
08-01-2008, 05:37 PM
Thanks. I didn't know that :-)
After 3 weeks of useless attempts to fix that script [exim] that builds up nonsence mail and ques - I gave up. any good advice how to remove it and replace with something that works - much appreciated.

Dravu
08-01-2008, 08:25 PM
Thanks. I didn't know that :-)
After 3 weeks of useless attempts to fix that script [exim] that builds up nonsence mail and ques - I gave up. any good advice how to remove it and replace with something that works - much appreciated.
Did you use custombuild's option of rewriting the configurations?

Oleg_Bkk
08-02-2008, 02:00 AM
Did you use custombuild's option of rewriting the configurations?
do I have to use that ?
do I have to re-write configurations (many) for the hope that it might get fixed somehow ?

Mr John advised me to do this
http://help.directadmin.com/item.php?id=51
- it didn't help though I enjoyed typing

Honestly, it is ridiculous - I pay $348 a year for something, that somehow have to repair and debug myself or pay even more $$$ for some guru.

Dravu
08-02-2008, 04:51 AM
do I have to use that ?
do I have to re-write configurations (many) for the hope that it might get fixed somehow ?

Mr John advised me to do this
http://help.directadmin.com/item.php?id=51
- it didn't help though I enjoyed typing

Honestly, it is ridiculous - I pay $348 a year for something, that somehow have to repair and debug myself or pay even more $$$ for some guru.
Custombuild has an option that rewrites some of the core configurations for you which may or may not solve your problem. Did you email Directadmin Support? This forum is mainly volunteer support from other users. Official support requires emailing support@directadmin.com

Oleg_Bkk
08-02-2008, 07:23 AM
Dravu, I'm afraid to do anything that "might or might not"
If its about beta-testing, experiments and such - ok, I agree with you , but on living and breathing server - its non-justified action, imho.
Yes I did send mails to support.
No, it didn't solve the problem.
Volunteer support is nice, but mostly its just mere exchange of thoughts and tips, not a straight "how-to". With a history of few years and thousands of licenses sold, the DirectAdmin made not less than a whooping $1,000,000, and I would expect much higher quality of problem-solving management.

smtalk
08-02-2008, 08:00 AM
I can take a look at your server if you want (for free) :)

nobaloney
08-02-2008, 10:05 AM
I just reread your errors. If you load both the latest exim.conf file AND the latest exim.pl file, you should solve the exim filter problems; it looks like a version mismatch.

You can get them from either my server, or from the DirectAdmin server as you wish, but you should get both files from the same place.

Don't forget to modify either exim.conf file to give error messages specific to your site, not to example.com.

Also, if you're going to use the beta software, be sure to read all the instructions; the defaults work but at the expense of a lot of functionality.

Jeff

skruf
08-02-2008, 12:55 PM
Hey Oleg_Bkk,

Take smtalk up on his offer to look at your server... I'm quite sure he can fix it for you...

David

Oleg_Bkk
08-03-2008, 05:07 PM
I can take a look at your server if you want (for free) :)
Thanks a lot for your kindness. But how about $ ? I'd rather pay the cost.
really - thank you

smtalk
08-03-2008, 09:45 PM
It's up to you :) You can donate me if you want. Thank you.

Oleg_Bkk
08-05-2008, 12:59 AM
It's up to you :) You can donate me if you want. Thank you.
That nonsence [exim] builds another 1k mailque - twice a day have to log and clean it.
smtalk - I don't mind to pay and get peace of mind, but still I don't understand - why do i have to ask somebody to "have a look" with a hope that "might help" - while this is just a bug of the DA, and I saw few more posts about it on this forum.
I've looked at knowledge base - there's nothing in it. In the moments like this I understand while ppl use pirate software - why pay premium if it doesn't work well and there's no support ?
very frustrated

smtalk
08-05-2008, 01:41 AM
I don't think it's DirectAdmin bug, but if it will be (after I'll take a look at your server - I'll be able to say where is (was) the problem) - I'll report it to DirectAdmin support.

Oleg_Bkk
08-05-2008, 05:09 PM
Martynas, you're very kind - and I mean it
it is 5 AM in the morning - 1.2K of garbage in the mailqueue - cleaning again
seems like nobody actually familiar with this thing.

Dravu
08-05-2008, 06:30 PM
Martynas, you're very kind - and I mean it
it is 5 AM in the morning - 1.2K of garbage in the mailqueue - cleaning again
seems like nobody actually familiar with this thing.
It's an odd error to say the least. Look in the "/etc/exim.conf" file. Find the line that says "domain_filter:". It and the section under it should say the following:

domain_filter:
driver = redirect
allow_filter
no_check_local_user
condition = "${if exists{/etc/virtual/${domain}/filter}{yes}{no}}"
user = "mail"
file = /etc/virtual/${domain}/filter
directory_transport = address_file
pipe_transport = virtual_address_pipe
retry_use_local_part
no_verify
Is that what it says in your file? I don't know why it would say directory_transport is unset if the line is in there.

Oleg_Bkk
08-05-2008, 10:56 PM
Yes that is exactly as you show.
Dravu, I didn't get your last sentence

I don't know why it would say directory_transport is unset if the line is in there.
I don't know too - for me it all one straight "abracadabra"

Please - can you advice how to fix it?

nobaloney
08-06-2008, 12:05 AM
Have you made sure you have the latest exim.pl file?

I've explained where to get it in a previous post to this thread.

Jeff

Oleg_Bkk
08-06-2008, 12:32 AM
yes, same day as you've posted.

smtalk
08-06-2008, 02:05 AM
Martynas, you're very kind - and I mean it
it is 5 AM in the morning - 1.2K of garbage in the mailqueue - cleaning again
seems like nobody actually familiar with this thing.

Please send me your serer details if you want me to take a look at it :)

Oleg_Bkk
08-07-2008, 01:07 AM
Martynas, I would be delighted if you come to Bangkok and have a look at my car, or garden or cats running around, BBQ and beer mugs :-)
Meanwhile I cannot disclose root access to my server for obvious reason.
Thanks anyway
P.S> and the problem is still there ...

nobaloney
08-07-2008, 04:50 AM
The error is fairly straight-forward; the option is unset.

While I'm emphatically NOT telling you to give access to your server to anyone (I will say that we trust Martynas implicitly but that doesn't mean you should), I will add that unless you give someone access you're on your own as to finding out why the option is unset.

Jeff

Oleg_Bkk
08-11-2008, 07:52 PM
Jeff, thanks for your reply, but I didn't understand the message at all, except
"the option is unset"
I'm very glad to know that, in fact - I feel releived already that "the option is unset"
Surely, there is a meaning behind "the option is unset", but until complete enlightment I cannot grasp it. Please explian :-)
P.S. The point well taken.

nobaloney
08-12-2008, 11:39 AM
And I have no idea why the option is unset unless I look at your server.

And I may be more expensive than Martynas ;).

Jeff

Oleg_Bkk
08-12-2008, 04:34 PM
Jeff, I just love the way you post:

And I have no idea why the option is unset unless I look at your server.
Jeff
and previously:

The error is fairly straight-forward; the option is unset.

Love it!

Dravu
08-12-2008, 06:39 PM
Jeff, I just love the way you post:

and previously:


Love it!
We all know what the error is saying and what it means. We just don't know why it's saying it without looking at the server as the steps we asked you to follow should've fixed it. Jeff wasn't being a hypocrite if that's what you were trying to imply. :)

Oleg_Bkk
08-12-2008, 07:16 PM
thanks for your swift reply, Dravu

Jeff wasn't being a hypocrite if that's what you were trying to imply.
It is great that I already was "trying to imply" something that doesn't exist in my dictionary- probably it is some new title or rank - sort of a "guru" ?
seriously, how about the plain vanilla english?
Last post - you made a statement - I replied and ask some help, you didn't reply to it, instead - I got this:

We all know what the error is saying and what it means

Dravu
08-13-2008, 12:38 AM
thanks for your swift reply, Dravu

It is great that I already was "trying to imply" something that doesn't exist in my dictionary- probably it is some new title or rank - sort of a "guru" ?
seriously, how about the plain vanilla english?
Last post - you made a statement - I replied and ask some help, you didn't reply to it, instead - I got this:
Because Jeff, Martynas, and I have already said pretty much all we can from the knowledge that we know of the issue. I asked you before to see if a certain snippet of coding was in your configuration file. It was, according to you. With that in there, you shouldn't have been getting that error. So without someone going in and looking around or trying various things that might or might not be related (such as "./build all" again and checking for errors), there's little to nothing for us to advice with certainty (as you don't seem to like to try things if you're not sure it'll work).

I personally think you should take Martynas up on his off of a free look at the server. He's helped with my server once in the past with an error I wouldn't have ever thought of, that kept me from being able to upgrade PHP. Just set SSH to grant root login, change the password, give him access, and then change everything back when he's done.

And on a last note, a "hypocrite" as defined by Wikipedia:

Hypocrisy (or the state of being a hypocrite) is the act of preaching a certain belief or way of life, but not, in fact, holding these same virtues oneself. For example, an adult telling children not to smoke cigarettes, even though the adult smokes.
The way I used it was rather light and so I probably should've used a different word for it. But basically, I was saying that Jeff wasn't saying something to you and then later saying the opposite. You just misunderstood.

Oleg_Bkk
08-13-2008, 03:23 AM
Dear Dravu,
First - thanks for your reply. It is big and very clear.
Unfortunately - I can't use mr Martynas service, and I do beleive that he is good and very nice gentleman, but...
As for the term you've point to Wiki -- well, I'm at the forum asking for advice, not to extend my dictionary with pop words.
Thanks anyway - hopefully I might solve that issue myself

smtalk
01-27-2009, 08:04 AM
This is a fix for the problem:


patch -p0 < /usr/local/directadmin/custombuild/exim.conf.dovecot.patch