[exim] Configuration for mlmmj

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Morgan Gangwere
Dátum:  
Címzett: exim-users
Tárgy: [exim] Configuration for mlmmj
Howdy.

I'm trying to configure exim4 on Sarge (I know its old, but its what I
have at my disposal -- I need to run an embedded non-2.6 kernel) and so
far all I can get is "not allowing

2010-08-14 05:26:08 remote host address is the local host:
kabuki-duke.ath.cx (while verifying <list@???> from host
mail-gw0-f46.google.com [74.125.83.46])
2010-08-14 05:26:08 H=mail-gw0-f46.google.com [74.125.83.46]
F=<0.fractalus@???> temporarily rejected RCPT
<list@???>: remote host address is the local host

Why doesn't exim4 pick up the route from mlmmj first?

Here's my router file:
# cat 50_exim4-config-mlmmj
mlmmj_router:
driver = accept
domains = +mlmmj_domains
require_files = MLMMJ_HOME/${lc::$local_part}
# Use this instead, if you don't want to give Exim rx rights to mlmmj
spool.
# Exim will then spawn a new process running under the UID of "mlmmj".
#require_files = mlmmj:MLMMJ_HOME/${lc::$local_part}
local_part_suffix = +*
local_part_suffix_optional
headers_remove = Delivered-To
headers_add = Delivered-To: $local_part$local_part_suffix@$domain
transport = mlmmj_transport

my transport file:
#cat 40_exim4-config_mlmmj
mlmmj_transport:
driver = pipe
return_path_add
user = mlmmj
group = mlmmj
home_directory = MLMMJ_HOME
current_directory = MLMMJ_HOME
command = /usr/bin/mlmmj-recieve -F -L MLMMJ_HOME/${lc:$local_part}

and finally my main options has this at 02_exim4-config_options

MLMMJ_HOME=/var/spool/mlmmj
domainlist mlmmj_domains = kabuki-duke.ath.cx
domainlist relay_to_domains = +mlmmj_domains
delay_warning_condition = ${if
match_domain{$domain}{+mlmmj_domains}{no}{yes}}


I'm going off http://mlmmj.org/man/exim4 -- what have I messed up?

when testing, I get

# exim4 -bt list@???
R: dnslookup_relay_to_domains for list@???
LOG: MAIN
lowest numbered MX record points to local host: kabuki-duke.ath.cx
(while routing <list@???>)
kabuki-duke@??? cannot be resolved at this time:
lowest numbered MX record points to local host

dig shows nothing out of the ordinary:


dig kabuki-duke.ath.cx a mx
;; Warning, extra type option

; <<>> DiG 9.2.4 <<>> kabuki-duke.ath.cx a mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22704
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;kabuki-duke.ath.cx.        IN    MX


;; ANSWER SECTION:
kabuki-duke.ath.cx.    0    IN    MX    50 kabuki-duke.ath.cx.


;; ADDITIONAL SECTION:
kabuki-duke.ath.cx.    0    IN    A    192.168.0.50


;; Query time: 30 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Aug 14 05:45:11 2010
;; MSG SIZE rcvd: 86


Any ideas/suggestions/horrid criticisms?

- --
Morgan Gangwere <0 dotpunct fractalus atpunct gmail dotpunct com>
http://sonof.bandit.name/

あなたのお母さんは、ハムスターとあなたの父エルダーベリーのワカサギでした
- - A frenchman.