tmda-ofmipd in system-wide mode

"Matthew T. Atkinson" <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <1159969143.8011.19.camel@localhost>
Since the last bit of advice I received from this list, I've been
setting up TMDA on my own personal account.  I thought that, as I have a
number of users and they may all like to use TMDA, I'd run tmda-ofmipd
system-wide, so I created a user account and set it up as directed by
the docs.

Unfortunately, for some reason, the mail-sending process fails when
sending via a system-wide tmda-ofmipd daemon, but seems to work when a
single user is running it.

Here is the log from when it worked; when I was running from my test
user's account:

mta@oblique:~/.tmda$ tmda-ofmipd -p oblique.agrip.org.uk:8025 -df
tmda-ofmipd started at Wed, 04 Oct 2006 14:19:12 +0100
        Listening on oblique.agrip.org.uk:8025
Incoming connection from: ('192.168.42.10', 41382)
Incoming connection to: ('195.137.71.106', 8025)
Data: 'EHLO obsidian.lan.agrip.org.uk'
Data: 'AUTH CRAM-MD5'
Data: 'bXRhIDU5NmYzODdlNGEyNDQ3NWViMGQ1YWM5Y2UwY2Q5Mjc0'
Auth:  succeeded for user 'mta'
Data: 'MAIL FROM:<[email protected]>'
===> MAIL FROM:<[email protected]>
sender: [email protected]
Data: 'RCPT TO:<[email protected]>'
===> RCPT TO:<[email protected]>
recips: ['[email protected]']
Data: 'DATA'
Data: 'Subject: test\r\nFrom: mta <[email protected]>\r\nTo: "Matthew T.
Atkinson" <[email protected]>\r\nContent-Type: text/plain\r\nDate:
Wed, 04 Oct 2006 14:15:32 +0100\r\nMessage-Id:
<1159967732.8011.13.camel@localhost>\r\nMime-Version: 1.0\r\nX-Mailer:
Evolution 2.6.3 \r\nContent-Transfer-Encoding: 7bit\r\n\r\n\r\n-- \r
\nmta <[email protected]>\r\n'
Data: 'RSET'
Data: 'QUIT'
<CTRL-C>
mta@oblique:~/.tmda$

Here is the log from when it didn't work, when I was running as the
global ``tofmipd'' user (started from a root login):

oblique:~# su tofmipd -m -c 'tmda-ofmipd -df -a /etc/xpass/tofmipd -p
oblique.agrip.org.uk:8025'
tmda-ofmipd started at Wed, 04 Oct 2006 14:28:44 +0100
        Listening on oblique.agrip.org.uk:8025
Incoming connection from: ('192.168.42.10', 44033)
Incoming connection to: ('195.137.71.106', 8025)
Data: 'EHLO obsidian.lan.agrip.org.uk'
Data: 'AUTH CRAM-MD5'
Data: 'bXRhIDY5N2I1MTM0NmEzMmM5YjQ5NWNhNTlhZDkwODhiMGEy'
Auth:  succeeded for user 'mta'
Data: 'MAIL FROM:<[email protected]>'
===> MAIL FROM:<[email protected]>
sender: [email protected]
Data: 'RCPT TO:<[email protected]>'
===> RCPT TO:<[email protected]>
recips: ['[email protected]']
Data: 'DATA'
Data: 'Subject: test\r\nFrom: mta <[email protected]>\r\nTo: "Matthew T.
Atkinson" <[email protected]>\r\nContent-Type: text/plain\r\nDate:
Wed, 04 Oct 2006 14:29:05 +0100\r\nMessage-Id:
<1159968545.8011.17.camel@localhost>\r\nMime-Version: 1.0\r\nX-Mailer:
Evolution 2.6.3 \r\nContent-Transfer-Encoding: 7bit\r\n\r\n\r\n-- \r
\nmta <[email protected]>\r\n'
Data: 'QUIT'
<CTRL-C>
oblique:~#

Notice the absence of the ``RSET'' line before the ``QUIT'' -- I'm not
sure if that was something tmda-ofmipd should send to the MUA or
vice-versa.  The MUA (Evolution 2.6.x in this case) produces the
following error:

``DATA command failed: Requested action aborted: error in processing''

Is this a problem with my setup, or the behaviour of tmda-ofmipd in
multi-user mode?  Any advice would be appreciated!

best regards,


-- 
Matthew T. Atkinson <[email protected]>
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.