[Exim] suffix related question

Góra strony
Delete this message
Reply to this message
Autor: Drav Sloan
Data:  
Dla: exim-users
Temat: [Exim] suffix related question
How do all!

I've been reading old articles on the list and trying to get my
head around the problem, but I've not had any joy. If this has been
answered before and I've missed it, I appologise.

Simply all I want to do is be able to stick a suffix router
in that allows me to use user-xxxx@???. I can get it all to
work hunky dorey over locally injected mail, and also via -bt on
the command line. But via SMTP I always get a 5xx from exim. When
dropping the no_verify in the router to get it to take part in
smtp verification I get huge amounts of errors related to exim having
no perms and the old: "failure to transfer data from subprocess".

Does it appear to work locally because when running exim as root
to get the debug I've got permissions to access the dir and hence
it works, or is there differences between local and remote verification?

Following a previous thread, it was suggested to add the prefix
stuff to a router that followed (which confuses the hell out of
me) to get this to work; but that causes even more errors on
submitting emails via smtp.

Bottom line, how do you simply allow suffix stuff to work over
SMTP as opposed to just via local submittion on the command line?
Is the no_verify the intentional way to make only certain routers
work locally and not over SMTP (I can see why if this is the case).

Thanks in advance for any replies :)

Cheers.




Here is the -bt -d output:

/usr/exim/bin/exim -d -bt holborn-foo@???
Exim version 4.10 uid=0 gid=1 pid=13402 L=834cd8 D=fff7577f
probably ndbm
changed uid/gid: forcing real = effective
uid=0 gid=1
auxiliary group list: <none>
trusted user
admin user
originator: uid=0 gid=1 login=root name=Super-User
sender address = root@???
Address testing: uid=0 gid=25 euid=0 egid=25
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Testing holborn-foo@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering holborn-foo@???
active address holborn-foo@???
local_part=holborn-foo domain=domain.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing holborn-foo@???
--------> dnslookup router <--------
local_part=holborn-foo domain=domain.com
checking domains
domain.com in "@ : domain.com : domain.com.untrusted.drav.net"? yes (matched "domain.com")
domain.com in "! +local_domains"? no (matched "! +local_domains")
cached lookup data = NULL
dnslookup router skipped: domains mismatch
--------> system_aliases router <--------
local_part=holborn-foo domain=domain.com
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
search_find: file="/etc/aliases"
key="holborn-foo" partial=-1
LRU list:
8/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="holborn-foo"
file lookup required for holborn-foo
in /etc/aliases
lookup failed
expanded:
file is not a filter file
parse_forward_list:
system_aliases router declined for holborn-foo@???
--------> prefixeduser router <--------
local_part=holborn-foo domain=domain.com
stripped suffix -foo
checking for local user
calling prefixeduser router
rda_interpret (file): $home/.forward
expanded: /mud/vmud/holborn/.forward
changed uid/gid: prefixeduser router (recipient is holborn-foo@???)
uid=100 gid=100
auxiliary group list: <none>
151 bytes read from /mud/vmud/holborn/.forward
data is a filter program
Filter: start of processing
Filter: end of processing
rda_interpret: subprocess yield=0 error=NULL
set transport address_file
prefixeduser router generated /mud/vmud/holborn/Mail/holborn-foo
pipe, file, or autoreply
errors_to=NULL transport=address_file
uid=100 gid=100 home=\N/mud/vmud/holborn\N
routed by prefixeduser router
envelope to: holborn-foo@???
transport: <none>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering /mud/vmud/holborn/Mail/-foo
holborn-foo@??? -> /mud/vmud/holborn/Mail/holborn-foo
transport = address_file
search_tidyup called
>>>>>>>>>>>>>>>>>> Exim pid=13402 terminating with rc=0 >>>>>>>>>>>>>>>>>>


and the error from SMTP:

exim[13373]: [ID 197553 mail.info] 2002-12-11 17:49:03 unable to set gid=100 or uid=100 (euid=25): prefixeduser router (recipient is holborn-foo@???)
exim[13373]: [ID 197553 mail.alert] 2002-12-11 17:49:03 unable to set gid=100 or uid=100 (euid=25): prefixeduser router (recipient is holborn-foo@???)
exim[13372]: [ID 197553 mail.info] 2002-12-11 17:49:03 internal problem in prefixeduser router (recipient is holborn-foo@???): failure to transfer data from subprocess
exim[13372]: [ID 197553 mail.alert] 2002-12-11 17:49:03 internal problem in prefixeduser router (recipient is holborn-foo@???): failure to transfer data from subprocess
exim[13372]: [ID 197553 mail.info] 2002-12-11 17:49:03 H=(real-life.tm) [10.0.2.1] (exim) F=<mrtest@???> temporarily rejected RCPT <holborn-foo@???>: internal problem in prefixeduser router (recipient is holborn-foo@???): failure to transfer data from subprocess
exim[13372]: [ID 197553 mail.notice] 2002-12-11 17:49:03 H=(real-life.tm) [10.0.2.1] (exim) F=<mrtest@???> temporarily rejected RCPT <holborn-foo@???>: internal problem in prefixeduser router (recipient is holborn-foo@???): failure to transfer data from subprocess
exim[13372]: [ID 197553 mail.info] 2002-12-11 17:49:03 unexpected disconnection while reading SMTP command from (real-life.tm) [10.0.2.1]
exim[13375]: [ID 197553 mail.info] 2002-12-11 17:49:03 unable to set gid=100 or uid=100 (euid=25): prefixeduser router (recipient is holborn-foo@???)
exim[13375]: [ID 197553 mail.alert] 2002-12-11 17:49:03 unable to set gid=100 or uid=100 (euid=25): prefixeduser router (recipient is holborn-foo@???)
exim[13374]: [ID 197553 mail.info] 2002-12-11 17:49:03 internal problem in prefixeduser router (recipient is holborn-foo@???): failure to transfer data from subprocess
exim[13374]: [ID 197553 mail.alert] 2002-12-11 17:49:03 internal problem in prefixeduser router (recipient is holborn-foo@???): failure to transfer data from subprocess
exim[13374]: [ID 197553 mail.info] 2002-12-11 17:49:03 H=(real-life.tm) [10.0.2.1] (exim) F=<mrtest@???> temporarily rejected RCPT <holborn-foo@???>: internal problem in prefixeduser router (recipient is holborn-foo@???): failure to transfer data from subprocess
exim[13374]: [ID 197553 mail.notice] 2002-12-11 17:49:03 H=(real-life.tm) [10.0.2.1] (exim) F=<mrtest@???> temporarily rejected RCPT <holborn-foo@???>: internal problem in prefixeduser router (recipient is holborn-foo@???): failure to transfer data from subprocess
exim[13374]: [ID 197553 mail.info] 2002-12-11 17:49:03 unexpected disconnection while reading SMTP command from (real-life.tm) [10.0.2.1]