Sembra che Cron, oltre ad inviare le e-mail prestabilite che funzionano correttamente, vuole inviare un'email a se stesso o meglio all'admin che nel mio caso è 'franco'.
Sul server c'è un cronjob ogni ora e ottengo un carico enorme di e-mail di questo tipo:
Codice: Seleziona tutto
Delivery to the following recipient failed permanently:
franco@gmail.com
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient
domain gmail.com by gmail-smtp-in.l.google.com. [2a00:1450:400c:c07::1b].
The error that the other server returned was:
552-5.2.2 The email account that you tried to reach is over quota. Please direct
552-5.2.2 the recipient to
552 5.2.2 http://support.google.com/mail/bin/answer.py?answer=6558 i6si9110542wiv.51 -
gsmtpCodice: Seleziona tutto
franco@ServerTest:~$ sudo nano /etc/ssmtp/ssmtp.conf
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
#root=postmaster
# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=mail
# Where will the mail seem to come from?
#rewriteDomain=
# The full hostname
hostname=ServerTest
# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
#FromLineOverride=YES
root=mia-mail@gmail.com
mailhub=smtp.gmail.com:587
UseTLS=YES
UseSTARTTLS=YES
rewriteDomain=gmail.com
hostname=ServerTest
AuthUser=mia-mail@gmail.com
AuthPass=mia-passwordCodice: Seleziona tutto
franco@ServerTest:~$ sudo nano /etc/ssmtp/revaliases
# sSMTP aliases
#
# Format: local_account:outgoing_address:mailhub
#
# Example: root:your_login@your.domain:mailhub.your.domain[:port]
# where [:port] is an optional port number that defaults to 25.
user_mail:mia-mail@gmail.com:smtp.gmail.com:587
root:mia-mail@gmail.com:smtp.gmail.com:587Codice: Seleziona tutto
franco@ServerTest:~$ nano ~/.muttrc
set imap_user = "mia-mail@gmail.com"
set imap_pass = "mia-password"
set from = "mia-mail@gmail.com"
set realname = "PubblicaOrdinanze"
set sendmail = "/usr/sbin/ssmtp -f PubblicaOrdinanze -au mia-mail@gmail.c$
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed="+[Gmail]/Drafts"
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates
set sort = 'threads'
set sort_aux = 'last-date-received'
set imap_check_subscribed
set move = no
ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To CcSaluti, Franco
