Re: tmda cropping

Christopher Bachmann <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
I'm not sure where it's going wrong. I'm using the FreeBSD port modified 
to reflect the latest version. Same results happen with 1.1.5, which is 
what is in the latest port. Python and procmail comes from the port as 
well. Let me know if there is anything else you would like to see.

dornier# telnet localhost 25
Trying ::1...
Connected to localhost.ai.net.
Escape character is '^]'.
220 dornier.ai.net ESMTP Sendmail 8.13.6/8.13.6; Sat, 14 Oct 2006 
18:13:03 -0400 (EDT)
quit
221 2.0.0 dornier.ai.net closing connection
Connection closed by foreign host.

dornier# procmail -v
procmail v3.22 2001/09/10
    Copyright (c) 1990-2001, Stephen R. van den Berg    <[email protected]>
    Copyright (c) 1997-2001, Philip A. Guenther         
<[email protected]>

Submit questions/answers to the procmail-related mailinglist by sending to:
        <[email protected]>

And of course, subscription and information requests for this list to:
        <[email protected]>

Locking strategies:     dotlocking, lockf()
Default rcfile:         $HOME/.procmailrc
Your system mailbox:    /var/mail/root

dornier# tmda-keygen -V
TMDA/1.1.7 "Hazelburn" (Python/2.4.3 on FreeBSD-6.1-RELEASE-i386-32bit-ELF)

dornier# cat /home/cbachman/.procmailrc
# Uncomment this for users without valid shells.
VERBOSE=yes
MAILDIR=$TMPDIR/procmail.out
DEFAULT=$MAILDIR/$USER
  # Set the necessary environment variables.
  EXTENSION="$1"
  :0
  * EXTENSION ?? .
  {
    DELIMITER="+"
  }
  RECIPIENT="$LOGNAME$DELIMITER$EXTENSION@$HOST"
  SENDER=`formail -x Return-Path | sed 's/[&lt;&gt;]//g;s/^[ ]*//'`
  # Run the message through tmda-filter.
  :0 w
  | /usr/local/bin/tmda-filter
  # Take the exit code from TMDA.
  EXITCODE=$?
  # TMDA takes care of final delivery
  DEFAULT=/dev/null


dornier# cat /home/cbachman/.tmda/config
# -*- python -*-

# ~/.tmda/config
#
# TMDA configuration file.  See
# http://wiki.tmda.net/ConfigurationVariables for descriptions of all
# the available options.

########################################################
# Required settings.  One from each section is required.
########################################################

#MAIL_TRANSFER_AGENT = "qmail"
#MAIL_TRANSFER_AGENT = "postfix"
#MAIL_TRANSFER_AGENT = "exim"
MAIL_TRANSFER_AGENT = "sendmail"

#RECIPIENT_DELIMITER = "-"
RECIPIENT_DELIMITER = "+"

#DELIVERY = "~/mail"
DELIVERY = "/var/mail/cbachman"
#DELIVERY = "/var/mail/"%s" % os.environ.get("USER")
#DELIVERY = "~/Maildir/"
#DELIVERY = "|/usr/local/bin/procmail ~/.procmailrc-tmda"
#DELIVERY = "[email protected]"

####################################################
# Optional settings.
# Here are some recommended configuration variables.
####################################################

BARE_APPEND = "~/.tmda/lists/whitelist"
CONFIRM_APPEND = "~/.tmda/lists/confirmed"
CONFIRM_APPEND = "~/.tmda/lists/whitelist"
LOGFILE_INCOMING = "~/.tmda/incoming.log"
LOGFILE_OUTGOING = "~/.tmda/outgoing.log"

from incoming.log:
Date: Wed, 11 Oct 2006 19:00:35 -0400
Sndr: <[email protected]>
From: Christopher Bachmann <[email protected]>
  To: [email protected]
Subj: test
Actn: CONFIRM pending 1160607635.59039                                   
(878)

dornier# cat /home/cbachman/.tmda/pending/1160607635.59039.msg
Return-Path: <[email protected]>
Received: from venom.ai.net (venom.ai.net [205.134.160.42])
        by dornier.ai.net (8.13.6/8.13.6) with ESMTP id k9BN0ZSl059032
        for <[email protected]>; Wed, 11 Oct 2006 19:00:35 -0400 (EDT)
        (envelope-from [email protected])
Received: from [10.246.38.235] (net-ix.gw.ai.net [205.134.160.6] (may be 
forged))
        (authenticated bits=0)
        by venom.ai.net (8.12.6/8.12.6) with ESMTP id k9BN0MnU004063
        for <[email protected]>; Wed, 11 Oct 2006 19:00:22 -0400 (EDT)
        (envelope-from [email protected])
Message-ID: <[email protected]>
Date: Wed, 11 Oct 2006 19:00:30 -0400
From: Christopher Bachmann <[email protected]>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
To: Christopher Bachmann <[email protected]>
Subject: test
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-TMDA-Recipient: [email protected]


Jason R. Mastaler wrote:
> Christopher Bachmann <[email protected]> writes:
>
>   
>> I'm having a problem with TMDA chopping up the address. I am sending
>> from [email protected] to [email protected]. Any ideas?
>>     
>
> So this is a problem with tmda-sendmail or tmda-ofmipd?  Could you
> provide some more info/detail,  à la http://wiki.tmda.net/TroubleShooting
>
> _____________________________________________
> tmda-users mailing list ([email protected])
> http://tmda.net/lists/listinfo/tmda-users
>
>
>
>   
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.