Mail (Postfix / Exim)

1. Brisanje mailova iz queue-a

1.1. Provjera koji mailovi se nalaze u queue:
mailq

1.2. Brisanje određenog maila
postsuper -d mail_ID

1.3. Brisanje svih mailova u Postfix queue-u
postsuper -d ALL

1.3. Brisanje svih mailova u Postfix queue-u
postsuper -d ALL

2. Ponovno slanje mailova u redu čekanja
postqueue -f

3. Brisanje svih mailova u Exim queue-u

exim -bp | exiqgrep -i | xargs exim -Mrm

4. Podešavanje Postfix konfiguracije:
Dodati:
smtp_connection_cache_destinations = smtp.gmail.com
relay_destination_concurrency_limit = 1
default_destination_concurrency_limit = 5
smtp_sasl_auth_enable = yes
smtp_use_tls = yes
smtp_sasl_security_options = 
smtp_sasl_tls_security_options = noanonymous
smtp_tls_note_starttls_offer = yes
smtp_tls_scert_verifydepth = 5
smtp_tls_enforce_peername = no
smtpd_tls_req_ccert =no
smtpd_tls_ask_ccert = yes
soft_bounce = yes
smtpd_tls_auth_only = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = 


Izmjeniti:
inet_interfaces = loopback-only

Komentirati
#virtual_transport = dovecot

Obrisati:
smtpd_sasl_authenticated_header = yes
Comments