文件操作 - main.cf-05-06-2026
返回文件管理
返回主菜单
删除本文件
文件: /root/sh/etc/postfix/main.cf-05-06-2026
编辑文件内容
# postfix config file # compatibility_level=2 # ************************************************************************************ # Debug (disabilitare dopo fatto) # debug_peer_list = 127.0.0.1 # ************************************************************************************ # ************************************************************************************ # SPAMHAUS # # Mi sono registrato su Spamhaus e mi hanno dato per ora una chiave gratuita # vbwf6pgqj3f7ds5l7sefgy43a4 # Per configurarla su Postifix ginepraio di merda: # https://portal.spamhaus.com/dqs/#3.0 # # reject_rhsbl_sender vbwf6pgqj3f7ds5l7sefgy43a4.dbl.dq.spamhaus.net=127.0.1.[2..99], # reject_rhsbl_sender vbwf6pgqj3f7ds5l7sefgy43a4.dbl.dq.spamhaus.net=127.0.1.[2..99], # reject_rhsbl_helo vbwf6pgqj3f7ds5l7sefgy43a4.dbl.dq.spamhaus.net=127.0.1.[2..99], # reject_rhsbl_reverse_client vbwf6pgqj3f7ds5l7sefgy43a4.dbl.dq.spamhaus.net=127.0.1.[2..99], # reject_rhsbl_sender vbwf6pgqj3f7ds5l7sefgy43a4.zrd.dq.spamhaus.net=127.0.2.[2..24], # reject_rhsbl_helo vbwf6pgqj3f7ds5l7sefgy43a4.zrd.dq.spamhaus.net=127.0.2.[2..24], # reject_rhsbl_reverse_client vbwf6pgqj3f7ds5l7sefgy43a4.zrd.dq.spamhaus.net=127.0.2.[2..24], # reject_rbl_client vbwf6pgqj3f7ds5l7sefgy43a4.zen.dq.spamhaus.net=127.0.0.[2..255] # Quello sopra lo aggiunto smtpd_recipient_restrictions # Questa onvece è la risposta in caso di spam rbl_reply_maps = hash:/etc/postfix/dnsbl-reply-map # ************************************************************************************ # ************************************************************************************ # The Postfix bounce(8) server produces delivery status notification # (DSN) messages for undeliverable mail, delayed mail, successful deliv- # ery or address verification requests. # By default, these notifications are generated from built-in templates # with message headers and message text. Sites can override the built-in # information by specifying a bounce template file with the bounce_tem- # plate_file configuration parameter. # https://www.postfix.org/bounce.5.html bounce_template_file = /etc/postfix/bounce.cf # ************************************************************************************ # ******************************************** # 27-09-2022 # c'è ancora spam di merd fare tute le impostazioni come da qui # questo postfix è un casino unico # https://www.linuxbabe.com/mail-server/block-email-spam-postfix # ******************************************** # ********************************************************************************************************************************************** # 15-02-2022 # Questo postifix è un poco incasinato e confusionario. Ho tentato ancora di diminuire lo spam leggendo articoli in giro e # la nuova configurazione ( file main.cf--aa ha bloccato in enhtrata tutte le mail. # Quindi vuol dire che anche in giro c'è fuffa e tanti scrivono per nulla # Questa però è una configurazione presa di serverfault da una persona che mi sembra in gamba # https://serverfault.com/questions/748105/postfix-reject-rbl-client-blacklists-not-working # # Inserirla solo nel week end e provarla ! # # smtpd_helo_restrictions = # permit_mynetworks, # permit_sasl_authenticated, # reject_unauth_pipelining, # reject_non_fqdn_hostname # # smtpd_client_restrictions = # permit_mynetworks, # permit_sasl_authenticated, # reject_unauth_destination, # reject_rbl_client zen.spamhaus.org, # reject_rbl_client bl.spamcop.net, # reject_rbl_client cbl.abuseat.org, # reject_rbl_client b.barracudacentral.org # # smtpd_sender_restrictions = # reject_non_fqdn_sender, # reject_unknown_sender_domain, # permit_mynetworks, # permit_sasl_authenticated, # reject_authenticated_sender_login_mismatch, # reject_sender_login_mismatch # # smtpd_recipient_restrictions = # reject_unknown_recipient_domain, # check_policy_service inet:127.0.0.1:7777, # check_policy_service inet:127.0.0.1:10031, # reject_non_fqdn_recipient, # reject_unlisted_recipient, # permit # # # QUESTO INVECE E' ANCORA PIU' PRECISO PERCHE' TIENE CONTO ANCHE DELLA RISPOSTA DEL SERVER # https://docs.iredmail.org/enable.dnsbl.html # smtpd_recipient_restrictions = # ... # reject_unauth_destination 'Questa riga l'ho provata il 11-11-2025 e i clienti non potevano inviare email. Che casino!! # reject_rbl_client zen.spamhaus.org=127.0.0.[2..11] # reject_rbl_client b.barracudacentral.org=127.0.0.2 # # Dangerous use of smtpd_recipient_restrictions # https://www.linuxtopia.org/online_books/mail_systems/postfix_documentation/SMTPD_ACCESS_README_005.html # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # 25-05-2022 errore da commerciale@poliedrosrl.it con encoding errato # cerco di fare l'update con questo articolo # smtputf8_enable = yes # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # EMPTY USERS 02-02-2021 # Blocco dell'invio da user empty <> # https://serverfault.com/questions/694511/postfix-how-to-reject-sender-addresses-that-dont-exist-only-for-local-domains smtpd_reject_unlisted_sender = yes # submission_sender_checks = check_sender_access hash:/etc/postfix/reject_null_sender # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # uncomment for debugging if needed # soft_bounce=yes # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # MAIN mail_owner = postfix setgid_group = postdrop delay_warning_time = 4 # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # PATHS html_directory = no command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix queue_directory = /var/spool/postfix sendmail_path = /usr/sbin/sendmail.postfix newaliases_path = /usr/bin/newaliases.postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # NETWORK inet_interfaces = all mydomain = planetcloud-host.com myhostname = mail.planetcloud-host.com # Ross : questo mancava inserito il 05-02-2021 # https://support.plesk.com/hc/en-us/articles/115000269754-How-to-change-the-hostname-and-SMTP-banner-in-Postfix-on-a-Plesk-server smtpd_banner = $myhostname = mail.planetcloud-host.com mynetworks = $config_directory/mynetworks # mydestination = $myhostname = mail.planetcloud-host.com # https://serverfault.com/questions/557914/postfix-mail-delivered-locally-but-i-wanted-relayhost-delivery mydestination = $myhostname = mail.planetcloud-host.com relay_domains = proxy:mysql:/etc/postfix/mysql-relay_domains_maps.cf # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # MAIL DELIVERY recipient_delimiter = + # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # MAPPINGS alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases transport_maps = hash:/etc/postfix/transport # Era come sopra cambiata il 22-12-2025 # transport_maps = mysqp:/etc/postfix/transport # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # LOCAL RECIPIENT MAP ( PER EVITARE CHE ACCETTA MAIL DI USER INESISTENTI ) # https://www.golinuxcloud.com/postfix-reject-mail-for-unknown-users/ # ross Reject mail for unknown users era vuoto: # local_recipient_maps = # mettere local_recipient_maps = proxy:unix:passwd.byname, $alias_maps, <the database with non-UNIX accounts> # 07-07 aggiungere questo e provare $virtual_mailbox_maps # local_recipient_maps = $alias_maps, unix:passwd.byname, $virtual_mailbox_maps # 06-07-2021 Disabilitato perchè c'è il rischio che, non avendo la mappa completa delle mailbox, fa passare lo stesso sconosciuti # in entrata. Per cui, siccome Postfix per default Reject unknown recipient allora lo lascio così. Proviamo. # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # virtual setup virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_alias_default_maps.cf, proxy:mysql:/etc/postfix/mysql-virtual_alias_maps.cf, regexp:/etc/postfix/virtual_regexp virtual_mailbox_base = /var/vmail virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains_maps.cf virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf, proxy:mysql:/etc/postfix/mysql-virtual_alias_pipe_maps.cf virtual_minimum_uid = 101 virtual_uid_maps = static:101 virtual_gid_maps = static:12 virtual_transport = dovecot dovecot_destination_recipient_limit = 1 # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # DEBUGGING debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # AUTHENTICATION smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = $myhostname = mail.planetcloud-host.com broken_sasl_auth_clients = yes smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth # smtpd_sender_login_maps = # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # TLS CONFIG smtp_use_tls = yes smtpd_use_tls = yes smtpd_tls_security_level = may smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache # Change mail.example.com.* to your host name smtpd_tls_key_file = /etc/pki/tls/private/hostname.key smtpd_tls_cert_file = /etc/pki/tls/certs/hostname.bundle # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # REJECT CODE SPAM # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # RELAY RESTRICTION # https://anandarajpandey.com/2019/12/30/postfix-how-to-prevent-open-relay/ # Prevent others to use your server to send emails. Most important setting is permit_sasl_authenticated # check_policy_service unix:private/policy-spf smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination # , # check_policy_service unix:private/spfpolicy, # permit # # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # CLIENT RESTRICTION # rules restrictions # Ross : rimosso "reject_unknown_client" per provare se ritorna dopo l'invio la conferma # originale :smtpd_client_restrictions = reject_unknown_client da: # https://serverfault.com/questions/808671/bypass-postfix-reject-unknown-client-hostname-for-authenticated-smtp-clients # 24-08-2021 era solo con 2 righe cambiata come da https://serverfault.com/questions/748105/postfix-reject-rbl-client-blacklists-not-working # smtpd_client_restrictions = # permit_sasl_authenticated, # reject_unknown_client_hostname, smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_client_access hash:/etc/postfix/sender_whitelist, reject_rbl_client bl.spamcop.net, # reject_rbl_client dnsbl.sorbs.net, reject_rbl_client cbl.abuseat.org=127.0.0.2, reject_rbl_client b.barracudacentral.org=127.0.0.2 # reject_rbl_client zen.spamhaus.org=127.0.0.[2..11], # # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # HELO RESTRICTION # ross: la row successiva era : smtpd_helo_restrictions = ( vuota ) # 24-06-2021 aggiunto reject_invalid_helo_hostname # rimosso perchè molte mail, venivano rispedite reject_unknown_helo_hostname smtpd_helo_restrictions = permit_sasl_authenticated, reject_non_fqdn_helo_hostname # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # SENDER RESTRICTION # ross la nex riga era vuota ma da: # https://wiki.centos.org/HowTos/postfix_restrictions # Ross 09-09-2020 Modificcato e aggiunto reject_unknown_reverse_client_hostname # da : https://www.linuxbabe.com/redhat/blocking-email-spam-postfix-centos # era : smtpd_sender_restrictions = permit_mynetworks, reject_non_fqdn_sender, reject_unknown_sender_domain, permit # 24-06-2021 aggiunto reject_unknown_client_hostname # 02-07 aggiunto check_client_access cidr:/etc/postfix/internal_clients_filter # per controllare le mail in uscita # 05-07-2021 da aggiungere : reject_unauth_destination reject_sender_login_mismatch # # 22-03-2022 aggiunti # reject_invalid_hostname, # reject_unauth_pipelining smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_sender_login_mismatch, reject_unauth_destination, reject_unlisted_sender, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unknown_reverse_client_hostname, reject_unknown_client_hostname, reject_invalid_hostname, reject_unauth_pipelining, permit # ********************************************************************************************************************************************** # https://www.linuxbabe.com/redhat/blocking-email-spam-postfix-centos # smtpd_recipient_restrictions = # permit_mynetworks # permit_sasl_authenticated # check_policy_service unix:private/policyd-spf # check_policy_service unix:postgrey/socket # reject_rhsbl_helo dbl.spamhaus.org # reject_rhsbl_reverse_client dbl.spamhaus.org # reject_rhsbl_sender dbl.spamhaus.org # reject_rbl_client zen.spamhaus.org # Where: # # rhs stands for right-hand side, i.e, the domain name. # reject_rhsbl_helo makes Postfix reject email when the client HELO or EHLO hostname is blacklisted. # reject_rhsbl_reverse_client: reject the email when the unverified reverse client hostname is blacklisted. Postfix will fetch the client hostname from PTR record. # If the hostname is blacklisted, reject the email. # reject_rhsbl_sender makes Postfix reject email when the MAIL FROM domain is blacklisted. # reject_rbl_client: This is an IP-based blacklist. When the client IP address is blacklisted, reject the email. # 03-04-2021 ho aggiunto il file per non permettere ad alcuni utenti ( tipo l'FTP ) di non inviare mail # check_sender_access hash:/etc/postfix/restricted_senders -- http://www.postfix.org/RESTRICTION_CLASS_README.html # ross 24-06-2021 aggiunto check_recipient_access hash:/etc/postfix/bad_recipients # tolto spam cop per ora 25-06-2021 # ORE 10:49 25-06-2021 questo check_client_access hash:/etc/postfix/sender_blacklist VA MESSO PRIMA DI # place it before permit_mynetworks and/or permit_sasl_authenticated. # ********************************************************************************************************************************************** # RECIPIENT RESTRICTION # # 05-07-2021 AGGIUNGERE QUESTE QUANDO C'E' CALMA DA https://anandarajpandey.com/2019/12/30/postfix-how-to-prevent-open-relay/ # smtpd_recipient_restrictions: This options allow to filter incoming emails based on criteria which will help to minimize spam emails: Some of the important options # are: reject_non_fqdn_recipient, reject_unlisted_reciepient, permit_sasl_authenticated and reject_invalid_hostname. More options can be added as follows. # smtpd_recipient_restrictions = # reject_non_fqdn_recipient, # reject_unlisted_recipient # permit_mynetworks, # permit_sasl_authenticated, # reject_unauth_destination, # reject_invalid_hostname, # reject_unknown_sender_domain, # reject_unknown_recipient_domain, # reject_unauth_pipelining # 24-08-2021 Aggiungere questi ---- https://docs.rackspace.com/support/how-to/prevent-spam-in-postfix/ # reject_rbl_client zen.spamhaus.org, # reject_rbl_client bl.spamcop.net,stop # reject_rbl_client dnsbl.sorbs.net, # reject_rbl_client cbl.abuseat.org, # reject_rbl_client b.barracudacentral.org, # reject_rbl_client dnsbl-1.uceprotect.net, # # 21-02 Aggiunta questa line per controllare SPF record: check_policy_service unix:private/policyd-spf, spfpolicy_time_limit = 3600s # 09-06-2022 aggiunto reject_rbl_client dnsbl.sorbs.net NON FUNZIONA BLOCCA GOOGLE smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031, check_client_access hash:/etc/postfix/sender_blacklist, permit_sasl_authenticated, permit_mynetworks, check_recipient_access hash:/etc/postfix/bad_recipients, check_client_access hash:/etc/postfix/sender_whitelist, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unverified_recipient, check_policy_service unix:private/spfpolicy, reject_rhsbl_sender vbwf6pgqj3f7ds5l7sefgy43a4.dbl.dq.spamhaus.net=127.0.1.[2..99], reject_rhsbl_sender vbwf6pgqj3f7ds5l7sefgy43a4.dbl.dq.spamhaus.net=127.0.1.[2..99], reject_rhsbl_helo vbwf6pgqj3f7ds5l7sefgy43a4.dbl.dq.spamhaus.net=127.0.1.[2..99], reject_rhsbl_reverse_client vbwf6pgqj3f7ds5l7sefgy43a4.dbl.dq.spamhaus.net=127.0.1.[2..99], reject_rhsbl_sender vbwf6pgqj3f7ds5l7sefgy43a4.zrd.dq.spamhaus.net=127.0.2.[2..24], reject_rhsbl_helo vbwf6pgqj3f7ds5l7sefgy43a4.zrd.dq.spamhaus.net=127.0.2.[2..24], reject_rhsbl_reverse_client vbwf6pgqj3f7ds5l7sefgy43a4.zrd.dq.spamhaus.net=127.0.2.[2..24], reject_rbl_client vbwf6pgqj3f7ds5l7sefgy43a4.zen.dq.spamhaus.net=127.0.0.[2..255], reject_rbl_client cbl.abuseat.org=127.0.0.2, permit # 13-11-2025 aggiunta parte di spamhaus # reject_unauth_destination # reject_rbl_client zen.spamhaus.org=127.0.0.[2..11] # reject_rhsbl_sender dbl.spamhaus.org=127.0.1.[2..99] # reject_rhsbl_helo dbl.spamhaus.org=127.0.1.[2..99] # reject_rhsbl_reverse_client dbl.spamhaus.org=127.0.1.[2..99] # warn_if_reject reject_rbl_client zen.spamhaus.org=127.255.255.[1..255] # reject_rbl_client bl.spamcop.net # 10-08-2022 # sistemate le policy di zen.spamhaus.org # copiato da qui : https://docs.spamhaus.com/datasets/docs/source/40-real-world-usage/PublicMirrors/MTAs/020-Postfix.html # in pratica è stato aggiunto come ultimo bit dell'IP la risposta negativa del servizio # # check_policy_service unix:private/policyd-spf # check_policy_service unix:private/spfpolicy, # reject_rbl_client dnsbl.sorbs.net, # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # OTHER RESTRICTIONS smtpd_helo_required = yes # aggiunto ROSS 22-12-2025 smtp_helo_name = $myhostname unknown_local_recipient_reject_code = 550 disable_vrfy_command = yes smtpd_data_restrictions = reject_unauth_pipelining # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # LIMIT # # Other options # email size limit ~20Meg # era 40000000 40M ma l'ho dimiuito per il server interhost A 4000000 4m message_size_limit = 60000000 mailbox_size_limit = 20096000000 # Limit 500 ( ross 100 ) emails per hour per email address # Era # anvil_rate_time_unit = 3600s # smtpd_client_message_rate_limit = 400 anvil_rate_time_unit = 1d smtpd_client_message_rate_limit = 3000 # Questi sono dei limiti che ho trovato interessanti da : http://wiki.deimos.fr/Postfix:_limit_outgoing_mail_throttling # default_destination_concurrency_limit: This means that postfix will up to two concurrent connections per receiving domains. The default value is 20. # default_destination_rate_delay: Postfix will add a delay between each message to the same receiving domain. It overrides the previous rule and in this example, it # will send one email after another with a delay of 1 second. If you want to disable this rule, either delete it or set to 0. # default_extra_recipient_limit: Limit the number of recipients of each message. If a message had 20 recipients on the same domain, postfix will break it out to two # different email messages instead of one. smtp_destination_rate_delay = 10s # default_destination_recipient_limit = 2 # smtp_destination_recipient_limit = 2 # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # VACATION vacation_destination_recipient_limit = 1 recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql-virtual_vacation.cf # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # MILTERS smtpd_milters = inet:127.0.0.1:8891 non_smtpd_milters = $smtpd_milters # era default accept milter_default_action = tempfail # era 2 ross # milter_protocol should be 2 for postfix versions 2.5 and lower, 6 for 2.6 and higher. source – Keith milter_protocol = 6 # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # BACKUP ALL MAIL # http://mailvault.in/tag/postfix-email-backup/ # 05-06-2026 Genera email doppie solo con Gmail # qui la causa. Ma fino a settimana scorsa arrivavano regolarmente 1 su 1 # Probabilmente Google ha cambiato qualche impo sui loro server # Per abilitarlo # always_bcc = backup@planetline.it # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # BOUNCE TRANSLATE # https://www.howtoforge.com/configure-custom-postfix-bounce-messages # http://www.postfix.org/bounce.5.html # bounce_template_file = /etc/postfix/bounce.cf # Ross: Reject extension # # method 2, specific on extensions before the .js, customize as desired # /^(.*)name=\"(.*)\.(exe|lnk|dll|shs|vbe|hta|mht|com|vbs|vbe|js|jse|bat|cmd|vxd|scr|shm|pif|chm|pdf|zip|dmg)\.js\"$/ REJECT BAD_ATTACHMENT_PLUSJS # Ross. header checks https://www.suse.com/support/kb/doc/?id=000016697 header_checks = regexp:/etc/postfix/header_checks.pcre # Ross: body check body_checks = regexp:/etc/postfix/body_checks.re # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # TIMEOUT QUEQUE 03-10-2020 # Gestione del timeout queue # # http://www.postfix.org/postconf.5.html#bounce_queue_lifetime # Consider a bounce message as undeliverable, when delivery fails with a temporary error, and the time in the queue has # reached the bounce_queue_lifetime limit. By default, this limit is the same as for regular mail. # # Time units: s (seconds), m (minutes), h (hours), d (days), w (weeks). The default time unit is d (days). # # Specify 0 when mail delivery should be tried only once # 14-11-2024 bounce per mial che rimangono in attesa # soft_bounce = yes # minimal_backoff_time = 30m bounce_queue_lifetime = 1d # idem come sopra # # maximal_queue_lifetime (default: 5d) # Consider a message as undeliverable, when delivery fails with a temporary error, and the time in the queue has # reached the maximal_queue_lifetime limit. # # Time units: s (seconds), m (minutes), h (hours), d (days), w (weeks). The default time unit is d (days). # # Specify 0 when mail delivery should be tried only once. maximal_queue_lifetime = 1d tls_server_sni_maps = hash:/etc/postfix/vmail_ssl.map # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # RELAY SERVER SMTP # 02-07-2021 Merda devo configurare SMTP esterno l'IP è andato nella black list # INTERHOST DELLE GENTE CHE MI HA FATTO DEL MALE # smtp_sasl_password_maps = static:guespu54:ZGhLUiZR # smtp_sasl_password_maps = static:leheun24:lFLudygy # smtp_sasl_password_maps = static:jururo44:hsMviuhy # smtp_sasl_password_maps = static:muneej70:nypHfyHv # ATTENZIONE QUESTO LO USO PER CERUTI PER MANDARE LE NEWSLETTER # QUESTO GRUPPO DA ABILITARE SE USO RELAY # smtp_sasl_auth_enable = yes # smtp_sasl_security_options = noanonymous # smtp_tls_security_level = may # header_size_limit = 4096000 # relayhost = [smtpvip.interhost.it]:587 # INTERHOST DEDICATO # smtp_sasl_auth_enable = yes # smtp_sasl_password_maps = static:smtp\@planetcloud-host.com:U64Dac9Hf # smtp_sasl_security_options = noanonymous # smtp_tls_security_level = may # header_size_limit = 4096000 # relayhost = [smtpdom.interhost.it]:587 # NUOVO SERVER MINKIA # 31-07 fatti diversi test e sembra ok anche con Outlook # Aspetto di finire il programma PHP per il server per poi # fare tutti i DNS dei clienti "giusti" e poi # pubblicarlo # smtp_sasl_auth_enable = yes # smtp_sasl_password_maps = static:Mklsw34:Xz23kw38 # smtp_sasl_password_maps = static:mail.planetcloud-host2.com info@the-evidence.org:Okdh$we34 # smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd # smtp_sasl_security_options = noanonymous # smtp_tls_security_level = may # header_size_limit = 4096000 # relayhost = [mail.planetcloud-host2.com]:587 # aggiungere e provare # In some situations, for redundancy, you may want to configure the relay via two or # more remote SMTP server. In such instances, you may configure the following # fallback_relay = [remote2.server.com] # SOCKETS LAB -- 40,000/mo per ors free ma poi 40$ / 40000 msg # smtp_sasl_auth_enable = yes # smtp_sasl_password_maps = static:server40042:c4DQe25Pxn6WJi8t9R7Z # smtp_sasl_security_options = noanonymous # smtp_tls_security_level = may # header_size_limit = 4096000 # relayhost = [smtp.socketlabs.com]:587 # MAILJET -- 6000/mo free ma poi 19$ / 60000 msg # smtp_sasl_auth_enable = yes # smtp_sasl_password_maps = static:81cc53ccc57193d36dceff88b921e3c2:1ac195a9a228d4cf4b043634723eb4cf # smtp_sasl_security_options = noanonymous # smtp_tls_security_level = may # header_size_limit = 4096000 # relayhost = [in-v3.mailjet.com]:587 # OLD SERVER WIN # smtp_sasl_auth_enable = yes # smtp_sasl_password_maps = static:smtp@the-evidence.org:Olsk873tdg54re # smtp_sasl_security_options = noanonymous # smtp_tls_security_level = may # header_size_limit = 4096000 # relayhost = [mail.the-evidence.org]:587 # accept email from our web-server only # inet_interfaces = 127.0.0.1 QUESTO NON VA BENE !!!! # ********************************************************************************************************************************************** # ********************************************************************************************************************************************** # UTENTI AUTORIZZATI # 02-07-2021 # https://serverfault.com/questions/530406/postfix-block-local-user-from-sending # https://serverfault.com/questions/691480/stop-all-websites-from-sending-emails # authorized_submit_users = root, spamd # authorized_submit_users = !tecno1, !rossano@planetline.it, !unknown, static:all # **********************************************************************************************************************************************
修改文件时间
将文件时间修改为当前时间的前一年
删除文件