Josh Cason a écrit : > A while back I setup a helo.regexp file. I have changed it around a bit. > I'm trying to stop e-mail that is sent to/from the same e-mail address > but not my system. The idea was if they are sending mail to themselves > from my ip address. It would be blocked. > > > Example from my test server: > > /^webserv\.idahofur\.com$/ 550 Don't use my own hostname > /^216\.201\.76\.183$/ 550 Don't use my own IP address > /^[0-9.]+$/ 550 Your software is not RFC 2821 compliant > /^[0-9]+(\.[0-9]+){3}$/ 550 Your software is not RFC 2821 compliant > > > > > Example from my log: > > Jun 13 20:10:45 primary postfix/smtpd[1322]: connect from > exprod6mx190.postini.com[64.18.1.42]
This mail is coming from postini. if you use postini, there's nothing you can do with the envelope (and even if you do content filtering, you shouldn't reject mail. it's too late). if you don't use postini, then please be kind and show your 'postconf -n' output and explain what you think is not working as you would like. your post shows no problem. > Jun 13 20:10:47 primary postfix/smtpd[1322]: AB47810D8005: > client=exprod6mx190.postini.com[64.18.1.42] > Jun 13 20:10:49 primary postfix/cleanup[1325]: AB47810D8005: hold: > header Received: from psmtp.com (exprod6mx190.postini.com$ > Jun 13 20:10:49 primary postfix/cleanup[1325]: AB47810D8005: > message-id=<20100614021047.ab47810d8...@primary.mychoice.cc> > Jun 13 20:10:49 primary MailScanner[28889]: New Batch: Scanning 1 > messages, 12557 bytes > Jun 13 20:10:49 primary MailScanner[28889]: Spam Checks: Starting > Jun 13 20:10:49 primary MailScanner[28889]: Expired 1 records from the > SpamAssassin cache > Jun 13 20:10:49 primary postfix/smtpd[1322]: disconnect from > exprod6mx190.postini.com[64.18.1.42] > Jun 13 20:10:50 primary MailScanner[28889]: Virus and Content Scanning: > Starting > Jun 13 20:10:55 primary MailScanner[28889]: Requeue: AB47810D8005.4CC84 > to EA43910D8139 > Jun 13 20:10:55 primary MailScanner[28889]: Uninfected: Delivered 1 > messages > Jun 13 20:10:55 primary postfix/qmgr[20454]: EA43910D8139: > from=<meusb...@testcompany.net>, size=11920, nrcpt=1 (queue active) > Jun 13 20:10:55 primary MailScanner[28889]: MailScanner child dying of > old age > Jun 13 20:10:55 primary postfix/virtual[1337]: EA43910D8139: > to=<meusb...@testcompany.net>, relay=virtual, delay=8.9, delays=8$ > Jun 13 20:10:55 primary postfix/qmgr[20454]: EA43910D8139: removed > > Thanks, > > Josh > >