I am having the same problem and it seems like recently the number of email messages in this for mhas gone from 1-2 a week to 5-10 a day. There has to be some elegant solution to this problem that we are missing. I am using sendmail as my SMTP instead of qmail but the problem stems from spammers using the exact same trick.
David said: > --- 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 > -- Andrew Armstrong Director of Application Development [EMAIL PROTECTED] Higher Technology Services Office Phone: 423-267-8867 Cell Phone: 423-314-4231 _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
