>Is there a way with ASSP 2 to have an inbound mail be accepted, but 
dropped
>before it's sent to the recipient?

Yes, but only a general setup - 'send250OK' - in this case '250 OK' will 
be send to the connected client/server in every case. But this setting 
belongs to all connection, there is no way to do this for a single IP 
(except ISP's - 'send250OKISP')

An other possible way is to use whitelising and/or noprocessing - so any 
mail from the former contact will pass assp - and delete the mail on the 
MTA.
I do such things (keeping spammers on my side for testing) using 
hmailserver. This one is configured to accept some mails and to send them 
to something like a 'NULL device' that replies every time with 250 OK. So 
I can check ASSP in real time on real data, which I don't want to get in 
my inbox.

And possibly you can 'abuse' the 'recipient replacement' feature. Set the 
sender to whitelist and noprocessing to make sure all mails will be 
accepted. But configure the recipient replacement in a way, that every 
time a mail is comming from this former contact, the 'rcpt to:' address is 
replaced with a dummy-address that will be accepted by your MTA. Clear 
this dummy mailbox once a day per script or ....

006<=>S<=>*<=>[email protected]<=>*[email protected]<=>1<=>

which meens:

006 - this is rule number 006
S - this is a 'simple syntax record'
* - matches any recipient address ('rcpt to:')
[email protected] - replace 'rcpt to:' with this address
*[email protected] - only if the mail comes from this domain (you can 
also set a full email address if you want)
1 - continue with the next rule if this rule does not match, else stop 
replacement

For more informations, read the file 'rcptreplrules.txt'.
 
This is one of the most powerfull but less used features in V2 (available 
for over two and a half years now).


Thomas



Von:    K Post <[email protected]>
An:     ASSP development mailing list <[email protected]>
Datum:  21.10.2010 21:55
Betreff:        [Assp-test] Accept mail but don't deliver




Is there a way with ASSP 2 to have an inbound mail be accepted, but 
dropped
before it's sent to the recipient?

We've got a former contact emailing us, but we don't want his mail AND we'
don't want him to know that they're being rejected.  Essentially, have his
server think they were accepted, but have ASSP take them and delete.

Thanks
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America 
contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in 
marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to