logs archiveIRC Archive / Freenode / #exim / 2010 / March / 27 / 1
Jouva
2 questions, both related to filtering/forwarding/etc. 1) I am using exim w/ vexim and wish to allow for custom .forward files or the like. Shouldn't I just be able to set home_directory and exim should pick it up? 2) I see the "save" directive makes a copy. Is there a way to move instead of copy so I can easily sort my mail w/o duplicates?
ente
doesn't exim have $home for the first thing?
Jouva
Yes but vexim is virtual delivery and is pulling data from MySQL
So I'd believe I'd have to set the directory to read the .forward file from
ente
oh, ok
Jouva
So I found this: http://web.archive.org/web/20080804004345/http://veximwiki.silverwraith.com/index.php/Adding_user_filters
But it also suggests I remove the directory = from my virtual_domains transport. But that would probably mean I need to make a filter for EVERYBODY right?
GillesM
hello can I add an alias with an address to redistribute mail to serval users on exim ?
if I put in /etc/aliases a line with junk:name1@domain1.org, name2@domain2.org I can send locally a mail to junk and all works fine but I can not send externally a mail to junk , the message is not relayed
petemc
exim -d -bt junk
GillesM
petemc: -brt no ?
petemc
no
         

GillesM
thks
gordbot
I am running exim4 with virtual users in a directory /etc/exim4/virtual and a router set up. I believe since I upgraded exim (while upgrading the whole system to Debian Lenny) the virtual router stopped working.
It doesn't even show up in the list of possible routers when debugging.
Anything of the type reallocaluser@somedomain.com gets delivered, but that's because it matches the local_user router.
The contents of my 350_exim4-config_vdom_aliases can be found here: http://pastebin.org/126176
In, I have replaced 01_exim4-config_listmacrosdefs local_domains = MAIN_LOCAL_DOMAINS with local_domains = MAIN_LOCAL_DOMAINS : dsearch;/etc/exim4/virtual
henk
gordbot: can you find that content in /var/lib/exim4/config.autogenerated?
gordbot
No
Well I just looked for vdom which I assumed wouldn't appear much
henk
that's bad, because that's the config file that is actually used by exim on debian.
gordbot
I ran update-exim.conf
(and I've restarted exim)
(also, thanks for helping. )
henk
gordbot: check /etc/exim4/update-exim4.conf.conf
gordbot
Thanks. use split configs was false
I really appreciate the help
henk
you're welcome
gordbot
Now update-exim.conf is throwing an error
Exim configuration error in line 67 of /var/lib/exim4/config.autogenerated.tmp:
main option "local_domains" unknown
line 67: local_domains = MAIN_LOCAL_DOMAINS : dsearch;/etc/exim4/virtual
Changed it to: @:localhost:dsearch;/etc/exim4/virtual
Thanks a ton hank. I owe you a (coffee|beer|tea|pop|whatever people drink)
henk
there is no directive 'local_domains'
ah, don't mention it.
gordbot
Interesting, it's working perfectly with localdomains = ...
(what I listed above)
henk
hm, strange...
gordbot
It's for three personal domains and not super critical. IT is nice to get it working again, so I do appreciate it. You have a nice day now.
henk
you too, thank you
« prev next »