Re: tmda-ofmipd in system-wide mode

Stephen Warren <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
Matthew T. Atkinson wrote:
> 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
>
>...
>
> 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

In system-wide mode, you'd need to actually invoke tmda-ofmipd as root,
and it will detect that it was run as root, and switch user to tofmipd
internally as appropriate.

I guess the HOWTO isn't clear on this point. I'll amend it.

Running tmda-ofmipd under the "tofmipd" account is actually equivalent
to "personal mode" for the "tofmipd" user.

> 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''

RSET would be something your MUA sends to tmda-ofmipd. I guess your
client is coded to send RSET upon successful completion of sending an
email, and doesn't bother if the transmission isn't successful.

I guess unsurprisingly, tmda-ofmipd's processing of the message failed,
because it was looking for the TMDA configuration files for user
tofmipd, but could not find them. It seems the tmda-ofmipd isn't logging
responses that are sent back to the MUA. I guess it'd be useful to add
that! I *hope* that if you turn on SMTP logging in your MUA, you'd see
the response to the "DATA" command would be some kind of error message
indicating some kind of exception inside tmda-ofmipd.
signature.asc (application/pgp-signature, 250 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFI9TVhk3bo0lNTrURAo5yAJ9Cn8hAeyrUWHXstSq5xdyD3NyXFACgpG5G
HPGpsiBqcfXAiVsRdYxK4mM=
=Ujmf
-----END PGP SIGNATURE-----
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.