[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fetch mail debian 11



Ma, naturalmente (e senza offesa), dopo aver cambiato i parametri, hai dato il comando 'postfix reload', vero?
Ennio

On Tue, Nov 1, 2022 at 6:47 PM Paride Desimone <huan@autistici.org> wrote:
Il 01-11-2022 14:49 Alessandro Rubini ha scritto:
>>>> Spostando il protocollo dal pop all'imap, funziona tutto
>>>> perfettamente
>
> Cio` e` buona cosa.
>
> Pero` e` utile comunque capire cosa e` andato storto. Passare
> "-v -v" a fetchmail puo` essere di aiuto.
>
>> No, postfix e` configurato bene. Gli ho messo dimensione illimitata.
>
> Qualcuno suggerisce di fare "postconf -d | grep size". I limiti
> sono piu` di uno, e il 522 viene sicuramente da SMTP -- quindi la
> consegna locale. Strano pero` che con imap funzioni. C'era poi
> un messaggio particolarmente voluminoso?

paride@arda:~$ sudo postconf -d | grep size
[sudo] password di paride:
berkeley_db_create_buffer_size = 16777216
berkeley_db_read_buffer_size = 131072
body_checks_size_limit = 51200
bounce_size_limit = 50000
header_size_limit = 102400
lmdb_map_size = 16777216
mailbox_size_limit = 51200000
message_size_limit = 10240000


paride@arda:~$ sudo postconf message_size_limit
message_size_limit = 51200000

c'è indubbiamente qualche cosa che non va.

Il valore è comunque settato, in questo momento, per entrambi a
51200000.

di seguito il main.cf

# See /usr/share/postfix/main.cf.dist for a commented, more complete
version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2
on
# fresh installs.
compatibility_level = 2



# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_security_level=may
smtp_tls_CApath=/etc/ssl/certs
smtp_tls_security_level=may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated
defer_unauth_destination
myhostname = arda.xxx.it
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

#################################################################################################
### mydestination = $myhostname, localhost.$your_domain, $your_domain,
localhost
###
### dovrebbe essere la stessa cosa di dopo
#################################################################################################

mydestination = $myhostname, xxx.it, arda.xxx.it, localhost.xxx.it,
localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128

################################### ----------------------------->
dimensione illimitata
mailbox_size_limit = 0

recipient_delimiter = +
inet_interfaces = loopback-only
inet_protocols = all

# enable SASL authentication
smtp_sasl_auth_enable = yes

# disallow methods that allow anonymous authentication.
smtp_sasl_security_options = noanonymous

# where to find sasl_passwd
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

# Enable STARTTLS encryption
smtp_use_tls = yes

# where to find CA certificates
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
message_size_limit = 51200000

Messagi voluminosi non ce ne sono e non riesco a capire sinceramente
cosa ci sia che non va.
se passo in fetchmailrc al server pop, continua a non andare.

/paride
--
http://keys.gnupg.net/pks/lookup?op=get&search=0xCC6CA35C690431D3

Chi e' pronto a rinunciare alle proprie liberta' fondamentali per
comprarsi briciole di temporanea sicurezza non merita ne' la liberta'
ne' la sicurezza.(Benjamin Franklin - dalla Risposta al Governatore,
Assemblea della Pennsylvania, 11 novembre 1755)



--
[Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo.   \\?//
 Fa' qualche cosa di cui non sei capace!"  (diceva Henry Miller) ]    (°|°)
[Why use Win$ozz (I say) if ... "even a fool can do that.              )=(
 Do something you aren't good at!" (as Henry Miller used to say) ]

 

Reply to: