Charlie Root <[EMAIL PROTECTED]> writes:

> TMDA sends From [EMAIL PROTECTED] on the confirmation reply.

Actually, TMDA leaves From: exactly as your mail client set it, unless
you've deliberately changed it in your outgoing filter.

> If you are using qmail-smtpd OUTGOINGMAIL = "smtp" (which is
> recommended for 'security') and you are using rcphosts to disallow
> relaying the outgoing confirm reply fails.

Cory already gave you a link about relaying.  I highly recommend that
you completely ignore PORT_NOTES* and visit Life with Qmail.

http://www.lifewithqmail.org/lwq.html

Install daemontools and ucspi-tcp from ports and follow the LWQ
instructions.

> I did spend some time at it but didn't find a way to set [EMAIL PROTECTED]
> in the From header.

It's up to the MUA to set the From: header.  TMDA can modify or change
that base address if told to do so in the outgoing filter, but that is
an option and not necessary for regular TMDA use.  Especially if your
users can't (or won't) edit their own outgoing filters.

> Nothing I did to filters/outgoing had any effect at all.

Are you sure filters/outgoing is being found?  Are you running TMDA
for a system user or for virtual users?

> No setting in /etc/tmdarc seemed to have any effect except
> using ...
> 
> OUTGOINGMAIL = "sendmail"
> SENDMAIL_PROGRAM = "/var/qmail/bin/sendmail"

You can switch back to "smtp" once you've got relaying configured for
localhost (127.0.0.1).

> Maybe I'm daft but I've spent a day playing around with various
> configurations. The default config blocked all my mail on the initial
> setup, which I didn't realize till the second day by checking
> the debug file.

You sent this mail as 'root'.  Do you normally login as root?
<shudder>  The port creates an empty /var/qmail/alias/.qmail-root,
which causes qmail to deliver root's mail using the default mechanism
given on the qmail-start command line.  What that default delivery is
depends on which file from /var/qmail/boot you copied to
/var/qmail/rc.  This is all ugly and nasty and again, I recommend Life
With Qmail.

> I want to set the header From [EMAIL PROTECTED] where user is the
> user who is using TMDA to block mail.

Have them set it in their mail client.  With an empty outgoing filter,
TMDA won't touch it.


Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to