After an afternoon on google I've found something what should be ok:
-I'll add in master.cf:
Code:
hold unix - - n - - smtp
-I'll add in main.cf this lines:
Code:
virtual_transport=hold
default_transport=hold
defer_transport=hold
-in main.cf, where there is:
Code:
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
I'll write in that database
Code:
hold:[mail.domain.com]
instead of
Code:
smtp:[mail.domain.com]
Now all the emails that I'll try to send from the local mailhost are queued in deferred transport and I've to send them manually.
The only thing now is: how can I put all the email that I'll try to send to "hold" insted of "defer"?
I know the command to do it one by one, but I would like to have this configuration directly by postfix...
Thanks
Michele
Recent comments
14 hours 35 min ago
14 hours 41 min ago
19 hours 39 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 4 hours ago
1 day 8 hours ago
1 day 15 hours ago
1 day 19 hours ago
1 day 20 hours ago