Srdan Dukic | 4 Jul 07:46
Picon
Gravatar

Re: How to backhole mail?

The test didn't work. I tried sending a message using the sendmail
command, going to my hotmail address, and the logs show that it did in
fact deliver the message to the server:

Jul  4 17:38:24 mailtest postfix/pickup[9254]: 363ABF6913: uid=1000 from=<srdan>
Jul  4 17:38:24 mailtest postfix/cleanup[9258]: 363ABF6913:
message-id=<20090704053824.363ABF6913 <at> mailtest.local>
Jul  4 17:38:24 mailtest postfix/qmgr[9255]: 363ABF6913:
from=<srdan <at> mailtest.local>, size=389, nrcpt=1 (queue active)
Jul  4 17:38:25 mailtest postfix/smtp[9260]: 363ABF6913:
to=<srdan.dukic <at> hotmail.com>, relay=mx1.hotmail.com[65.55.92.168]:25,
delay=45, delays=43/0/0.8/0.46, dsn=2.0.0, status=sent (250
<20090704053824.363ABF6913 <at> mailtest.local> Queued mail for delivery)
Jul  4 17:38:25 mailtest postfix/qmgr[9255]: 363ABF6913: removed

Also, logging in to hotmail I can confirm the message was delivered.

After adding the lines suggested I restarted Postfix using the
'/etc/init.d/postfix restart' command. Are there any other
configuration parameters which could have affected this?

Thank you

2009/7/4 Noel Jones <njones <at> megan.vbhcs.org>:
>
> This should work...
>
> # main.cf
> # accept anyuser <at> anydomain
> relay_domains = static:ALL
> # throw it away
> smtpd_end_of_data_restrictions = static:discard
> # safety net
> default_transport = discard
>
> test before sending it a million messages...
>
>  -- Noel Jones
>

--

-- 
Srđan Đukić


Gmane