Il 2014-04-08 19:32 Noel Jones ha scritto:
On 4/8/2014 11:32 AM, Roberto Carraro wrote:
Hello,
for reasons that I still have to investigate my Postfix server is
sending mails to an outgoing server to the address:
zamu...@spyandfly.com
I would really like to know the content of those mails, if it is
possible...
Most important, how can I block mails to that address or to the
entire domain?
I suspect these are bounces of undeliverable mail. The proper
solution is to not accept mail you can't deliver.
some random nuggets:
Bounces generated by postfix are not subject to the normal access
controls and cannot be blocked with an access map or header/body
checks.
Display the contents of the postfix queue with either of
# mailq
-- or --
# postqueue -q
View the contents of a message in the queue with the postcat command.
# postcat -q QUEUEID | less
You can delay mail in the queue by adding a transport_maps entry
pointing to the defer: transport. Release the deferred mail with
"postqueue -i QUEUEID"
# main.cf
transport_maps = hash:/etc/postfix/transport
# transport
example.com defer:
-- Noel Jones
Thank you all for your support; I managed to catch one of the
'mysterious' outgoing mails.
They were user/password registrations for a web server (Dokuwiki) that
I had still active on my host, even though I didn't use it anymore, and
which I forgot to update.
Lesson learned.
bye
--
Roberto Carraro