--- Cory Wright <[EMAIL PROTECTED]> wrote: > On Sat, Jul 19, 2003 at 07:17:51PM -0500, Tim Legant wrote: > > David <[EMAIL PROTECTED]> writes: > > > but just the same, I'd prefer to bounce the message at some point > to > > > prevent my system from even accepting it. I know that that is > > > something that should most likely be done from qmail before TMDA > > > ever sees it. > > > > You can put your own email address (or your entire domain) into > > /var/qmail/control/badmailfrom (man qmail-smtpd). qmail-smtpd will > > then reject that message during the SMTP transaction. > > If David is using the same qmail-smtpd service for both his public > addresses > and localhost, then listing his own address in badmailfrom would > block any > mail injected with his bare envelope address when using > OUTGOINGMAIL="smtp". > > This might not be a problem if David always uses dated addresses, has > separate > qmail-smtpd services configured, or is using OUTGOINGMAIL="sendmail". >
Good point. But here is something else that just bit me a few minutes ago. When I am sending mail using Pine on my server, the mail gets sent just fine, even though I have not specified any OUTGOINGMAIL variable in my configuration, so I'm assuming that it's still using the default smtp. However, when I send mail from another machine, for example using Outlook, the mail is bounced back to the client because my address is in the badmailfrom file, and since Outlook is making the SMTP connection to the mail server, it's being rejected as if someone else from outside the network was forging my e-mail address in the header. So now, I'm sort of back at the drawing board again. I want mail from outside, that is forged to appear as if it was sent from my address to be rejected by the system. But I also need for mail being sent from my network, even from my address, to be accepted. Suggestions? Or am I getting too far away from TMDA to ask for the help here? __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
