"Jason R. Mastaler" <[EMAIL PROTECTED]> writes:
> Patrick Starrenburg <[EMAIL PROTECTED]> writes:
>
> > Re: the umask setting above - Ouch! when I made this change to
> > /etc/tmdarc it caused major problems worst being mails appeared to
> > be processing normally but they have vanished!
>
> Why? I don't see how changing the umask would cause mail to
> vanish. Other users have used os.umask() successfully in the past.
>
> > I happened to be looking at mail server monitor, saw mails coming in
> > from both whitelisted address and from reply to dated address of
> > mine and they have totally gone. Not in .tmda/pending, not in
> > /Maildir/new - nowhere.
>
> Perhaps LOGFILE_INCOMING and/or your MTA's log would be helpful?
OK I tested carefully again and same behaviour - incoming message just
disappears.
* I double checked that TMDA setup was functioning OK - messages in and out
both tagged and untagged, confirm requests going out all looked fine.
* Setup and checked both debug and incoming logs
* Then from outside client not on whitelist sent in correctly formed dated
addressed mail which came in fine.
* Edited /etc/tmdarc and entered at top "os.umask(012)" as shown on your mail
* Immediately went back to outside client and sent exactly the same mail
* Watched mail come in on Eximon monitor - looked normal (log below)
* Looked in /Maildir/new|cur|tmp = all empty, .tmda/pending no new files
* Exim log showed mail coming in (log below)
* TMDA incoming log = nothing new, TMDA debug log = nothing new
* Edited /etc/tmdarc and commented out "os.umask(012)", sent mail again - came
in OK
I can reproduce this at will, e-mails simply vanish.
Trust this is enough info to investigate this, regards.
Patrick
==========================
This is my setup:
* 'Centralised' TMDA, /etc/tmdarc file, other files like incoming and outgoing
and lists in /usr/share/tmda
* Using purpose made router and transport definition in Exim 4 (below)
* User in question Maidir directories ownership
drwxrwxr-x 5 patrick patrick 4096 Nov 27 2001 .
drwx------ 20 patrick patrick 4096 Dec 2 20:42 ..
drwx------ 2 patrick patrick 4096 Jun 9 23:53 cur
drwx------ 2 patrick patrick 4096 Dec 2 19:59 new
drwx------ 2 patrick patrick 4096 Dec 2 19:59 tmp
* /usr/share/tmda directories ownership
drwxrwxr-x 4 root tmda 4096 Dec 2 21:12 .
drwxr-xr-x 137 root root 4096 Nov 30 19:14 ..
-rw-rw-r-- 1 root tmda 405 Nov 13 21:46 bounce.txt
-rw-rw-r-- 1 root tmda 215 Nov 10 19:05 confirm_accept.txt
-rw-rw-r-- 1 root tmda 740 Nov 24 09:34 confirm_request.txt
-rw-rw-r-- 1 root tmda 1480 Dec 1 10:06 debug.log
-rw-rw-r-- 1 root tmda 884 Dec 2 19:58 incoming
-rw-rw-r-- 1 root tmda 256 Dec 2 20:00 incoming.log
drwxrwxr-x 2 root tmda 4096 Dec 2 19:34 lists
drwxrwxr-x 2 root tmda 4096 Oct 1 23:57 original
-rw-rw-r-- 1 root tmda 407 Nov 24 15:25 outgoing
Exim 4 log
==========
2002-12-02 20:07:59 18IvvD-00087H-00 <= [EMAIL PROTECTED] H=(mail.domain.dom1)
[62.xx.xx.xx] P=esmtp S=1246 [EMAIL PROTECTED]
2002-12-02 20:08:02 18IvvD-00087H-00 => patrick
<[EMAIL PROTECTED]> R=tmdaprocess T=tmda_pipe
2002-12-02 20:08:02 18IvvD-00087H-00 Completed
Exim 4 custom TMDA router
=========================
tmdaprocess:
driver = accept
check_local_user
no_verify
no_expn
local_part_suffix = -*
local_part_suffix_optional
transport = tmda_pipe
Exim 4 custom TMDA transport
============================
tmda_pipe:
driver = pipe
command = /usr/bin/python2 /usr/bin/tmda-filter
return_path_add
delivery_date_add
envelope_to_add
user = $local_part
group = tmda
environment = EXTENSION=${substr_1:$local_part_suffix}:\
RECIPIENT=$local_part$local_part_suffix@$domain
OS group tmda contains - all TMDA users plus root, mail
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users