Hi Everybody
If I send a message to a non-existing address, the bounce lets tmda exit
with a exception. I use postfix with maildrop. I'm not sure if it is tmda,
postfix or maildrop problem. Postfix doesn't set the sender environment
(says tmda, maybe it is only empty like the sender should be), but since
from <> is empty, this might be an ok behavior. Here are my logs:
[EMAIL PROTECTED]:~$ tmda-sendmail -V
TMDA/0.81 "Swaps" (Python/2.2.3+ on linux2)
[EMAIL PROTECTED]:~$ tmda-sendmail
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: sd
adf
[EMAIL PROTECTED]:~$
Maillog:
Aug 26 15:16:33 fangorn postfix/smtpd[11855]: connect from
localhost[127.0.0.1]
Aug 26 15:16:33 fangorn postfix/smtpd[11855]: 9EBA863C0F:
client=localhost[127.0.0.1]
Aug 26 15:16:33 fangorn postfix/cleanup[11856]: 9EBA863C0F:
message-id=<[EMAIL PROTECTED]>
Aug 26 15:16:33 fangorn postfix/smtpd[11855]: disconnect from
localhost[127.0.0.1]
Aug 26 15:16:33 fangorn postfix/nqmgr[11426]: 9EBA863C0F:
from=<[EMAIL PROTECTED]>, size=548, nrcpt=1
(queue active)
Aug 26 15:16:33 fangorn postfix/smtpd[11855]: connect from
localhost[127.0.0.1]
Aug 26 15:16:33 fangorn postfix/smtpd[11855]: 9EBA863C0F:
client=localhost[127.0.0.1]
Aug 26 15:16:33 fangorn postfix/cleanup[11856]: 9EBA863C0F:
message-id=<[EMAIL PROTECTED]>
Aug 26 15:16:33 fangorn postfix/smtpd[11855]: disconnect from
localhost[127.0.0.1]
Aug 26 15:16:33 fangorn postfix/nqmgr[11426]: 9EBA863C0F:
from=<[EMAIL PROTECTED]>, size=548, nrcpt=1
(queue active)
Aug 26 15:16:34 fangorn postfix/smtp[11858]: 9EBA863C0F:
to=<[EMAIL PROTECTED]>, relay=mx1.nine.ch[213.144.137.130], delay=1,
status=sent (250 Ok: queued as ADFEE25634)
Aug 26 15:16:34 fangorn postfix/smtp[11858]: 9EBA863C0F:
to=<[EMAIL PROTECTED]>, relay=mx1.nine.ch[213.144.137.130], delay=1,
status=sent (250 Ok: queued as ADFEE25634)
Aug 26 15:16:34 fangorn postfix/smtpd[11855]: connect from
merlin.nine.ch[213.144.137.131]
Aug 26 15:16:34 fangorn postfix/smtpd[11855]: 79E8C63C0F:
client=merlin.nine.ch[213.144.137.131]
Aug 26 15:16:34 fangorn postfix/cleanup[11856]: 79E8C63C0F:
message-id=<[EMAIL PROTECTED]>
Aug 26 15:16:34 fangorn postfix/smtpd[11855]: disconnect from
merlin.nine.ch[213.144.137.131]
Aug 26 15:16:34 fangorn postfix/nqmgr[11426]: 79E8C63C0F: from=<>,
size=2491, nrcpt=1 (queue active)
Aug 26 15:16:34 fangorn postfix/smtpd[11855]: connect from
merlin.nine.ch[213.144.137.131]
Aug 26 15:16:34 fangorn postfix/smtpd[11855]: 79E8C63C0F:
client=merlin.nine.ch[213.144.137.131]
Aug 26 15:16:34 fangorn postfix/cleanup[11856]: 79E8C63C0F
message-id=<[EMAIL PROTECTED]>
Aug 26 15:16:34 fangorn postfix/smtpd[11855]: disconnect from
merlin.nine.ch[213.144.137.131]
Aug 26 15:16:34 fangorn postfix/nqmgr[11426]: 79E8C63C0F: from=<>,
size=2491, nrcpt=1 (queue active)
Aug 26 15:16:36 fangorn postfix/local[11860]: 79E8C63C0F:
to=<[EMAIL PROTECTED]>, relay=local, delay=2,
status=deferred (temporary failure. Command output: Missing environment
variable: SENDER See /home/gucky/tmdadebug for traceback )
Aug 26 15:16:36 fangorn postfix/local[11860]: 79E8C63C0F:
to=<[EMAIL PROTECTED]>, relay=local, delay=2,
status=deferred (temporary failure. Command output: Missing environment
variable: SENDER See /home/gucky/tmdadebug for traceback )
tmdadebug:
Uncaught Python 2.2.3+ Exception (Tue Aug 26 15:16:36 2003):
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/bin/tmda-filter", line 53, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/usr/bin/tmda-rfilter", line 235, in ?
raise Errors.MissingEnvironmentVariable('SENDER')
MissingEnvironmentVariable
tmdaincoming:
nothing :-(
postfixs main.cf:
# see /usr/share/postfix/main.cf.dist for a commented, fuller
# version of this file.
# Do not change these directory settings - they are critical to Postfix
# operation.
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
setgid_group = postdrop
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
myhostname = fangorn.ch
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = fangorn.ch, localhost.fangorn.ch, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = /usr/bin/maildrop # Also tried (-f "$SENDER")
mailbox_size_limit = 0
recipient_delimiter = +
Best,
Hans
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users