[Risolto] [Server] impossibile ricevere email da gmail

Installazione, configurazione e uso di Ubuntu come server: web, ftp, mail, news, proxy, dns e altro.
Alender
Prode Principiante
Messaggi: 50
Iscrizione: mercoledì 20 gennaio 2010, 12:42

Re: [Server] impossibile ricevere email da gmail

Messaggio da Alender »

faccio la prova sul server copia,stoppo amavis e spamd e tengo postfix pulito e liscio senza niente
Allora ho fermato
sudo /etc/init.d/amavis stop
sudo /etc/init.d/spamassassin stop

la mia attuale configurazione è la seguente main.cf

Codice: Seleziona tutto

# 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 (Ubuntu)
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

# 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_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

mydomanin = MIODOMINIO.it
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, localhost, localhost.localdomain
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0.0/16
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
message_size_limit = 25000000

proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
virtual_alias_domains = 
virtual_alias_maps = proxy:mysql:$config_directory/mysql_virtual_alias_maps.cf
virtual_mailbox_domains = proxy:mysql:$config_directory/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:$config_directory/mysql_virtual_mailbox_maps.cf
virtual_mailbox_base = /home/vmail
virtual_minimum_uid = 150
virtual_uid_maps = static:150
virtual_gid_maps = static:8
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach has exceeded their quota."
virtual_overquota_bounce = yes
transport_maps = hash:/etc/postfix/transport
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unauth_destination, reject_unauth_pipelining, reject_invalid_hostname, reject_unknown_sender_domain, reject_rbl_client zen.spamhaus.org, reject_rbl_client list.dsbl.org, reject_rhsbl_sender dsn.fc-ignorant.org, permit
smtpd_data_restrictions = reject_unauth_pipelining, reject_multi_recipient_bounce, permit

smtpd_data_restrictions = reject_unauth_pipelining, reject_multi_recipient_bounce, permit


receive_override_options = no_address_mappings
vacation_destination_recipient_limit = 1
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
content_filter = amavis:[127.0.0.1]:10024 ( [color=red]RIGA CHE DEVO COMMENTARE PER ELIMINARE AMAVIS[/color] )

invece il master.cf è :

Codice: Seleziona tutto

#
# Postfix master process configuration file.  Each logical line 
# describes how a Postfix daemon program should be run. 
#
# A logical line starts with non-whitespace, non-comment text.
# Empty lines and whitespace-only lines are ignored, as are comment 
# lines whose first non-whitespace character is a `#'.  
# A line that starts with whitespace continues a logical line.
#
# The fields that make up each line are described below. A "-" field
# value requests that a default value be used for that field.
#
# Service: any name that is valid for the specified transport type
# (the next field).  With INET transports, a service is specified as
# host:port.  The host part (and colon) may be omitted. Either host
# or port may be given in symbolic form or in numeric form. Examples
# for the SMTP server:  localhost:smtp receives mail via the loopback
# interface only; 10025 receives mail on port 10025.
#
# Transport type: "inet" for Internet sockets, "unix" for UNIX-domain
# sockets, "fifo" for named pipes.
#
# Private: whether or not access is restricted to the mail system.
# Default is private service.  Internet (inet) sockets can't be private.
#
# Unprivileged: whether the service runs with root privileges or as
# the owner of the Postfix system (the owner name is controlled by the
# mail_owner configuration variable in the main.cf file). Only the
# pipe, virtual and local delivery daemons require privileges.
#
# Chroot: whether or not the service runs chrooted to the mail queue
# directory (pathname is controlled by the queue_directory configuration
# variable in the main.cf file). Presently, all Postfix daemons can run
# chrooted, except for the pipe, virtual and local delivery daemons.
# The proxymap server can run chrooted, but doing so defeats most of
# the purpose of having that service in the first place.
# The files in the examples/chroot-setup subdirectory describe how
# to set up a Postfix chroot environment for your type of machine.
#
# Wakeup time: automatically wake up the named service after the
# specified number of seconds. A ? at the end of the wakeup time
# field requests that wake up events be sent only to services that
# are actually being used.  Specify 0 for no wakeup. Presently, only
# the pickup, queue manager and flush daemons need a wakeup timer.
#
# Max procs: the maximum number of processes that may execute this
# service simultaneously. Default is to use a globally configurable
# limit (the default_process_limit configuration parameter in main.cf).
# Specify 0 for no process count limit.
#
# Command + args: the command to be executed. The command name is
# relative to the Postfix program directory (pathname is controlled by
# the daemon_directory configuration variable). Adding one or more
# -v options turns on verbose logging for that service; adding a -D
# option enables symbolic debugging (see the debugger_command variable
# in the main.cf configuration file). See individual command man pages
# for specific command-line options, if any.
#
# General main.cf options can be overridden for specific services.
# To override one or more main.cf options, specify them as arguments
# below, preceding each option by "-o".  There must be no whitespace
# in the option itself (separate multiple values for an option by
# commas).
#
# In order to use the "uucp" message tranport below, set up entries
# in the transport table.
#
# In order to use the "cyrus" message transport below, configure it
# in main.cf as the mailbox_transport.
#
# SPECIFY ONLY PROGRAMS THAT ARE WRITTEN TO RUN AS POSTFIX DAEMONS.
# ALL DAEMONS SPECIFIED HERE MUST SPEAK A POSTFIX-INTERNAL PROTOCOL.
#
# DO NOT SHARE THE POSTFIX QUEUE BETWEEN MULTIPLE POSTFIX INSTANCES.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       -       -       -       smtpd
	-o content_filter=spamassassin
	-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks,no_milters
spamassassin unix -     n       n       -       -       pipe
	user=spamd argv=/usr/bin/spamc -f -e
	/usr/sbin/sendmail -oi -f ${sender} ${recipient}
dovecot   unix  -       n       n       -       -       pipe
    flags=DRhu user=vmail:mail argv=/usr/lib/dovecot/deliver -d ${recipient}

#submission inet n      -       -       -       -       smtpd
#	-o smtpd_etrn_restrictions=reject
#628      inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       -       300     1       qmgr
#qmgr     fifo  n       -       -       300     1       oqmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender $recipient
scalemail-backend unix	-	n	n	-	2	pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}

# only used by postfix-tls
#tlsmgr	  fifo	-	-	n	300	1	tlsmgr
#smtps	  inet	n	-	n	-	-	smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#587	  inet	n	-	n	-	-	smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
#scache    unix  -       -       -       -       1       scache
#discard   unix  -       -       -       -       -       discard
vacation    unix  -       n       n       -       -       pipe
  flags=Rq user=vacation argv=/usr/bin/groupoffice-vacation -f ${sender} -- ${recipient}

amavis unix - - n - 2 smtp
	-o smtp_data_done_timeout=1200
	-o disable_dns_lookups=yes

127.0.0.1:10025 inet n - n - - smtpd
	-o content_filter=
	-o local_recipient_maps=
	-o relay_recipient_maps=
	-o smtpd_restriction_classes=
	-o smtpd_client_restrictions=
	-o smtpd_helo_restrictions=
	-o smtpd_sender_restrictions=
	-o smtpd_recipient_restrictions=permit_mynetworks,reject
	-o mynetworks=127.0.0.0/8
	-o strict_rfc821_envelopes=yes
	-o smtpd_error_sleep_time=0
	-o smtpd_soft_error_limit=1001
	-o smtpd_hard_error_limit=1000

cosa va commentato nel master.cf?
Ultima modifica di Alender il martedì 8 febbraio 2011, 16:37, modificato 1 volta in totale.
Avatar utente
ReMichael
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4042
Iscrizione: venerdì 30 novembre 2007, 22:02

Re: [Server] impossibile ricevere email da gmail

Messaggio da ReMichael »

Alender ha scritto: cosa va commentato nel master.cf?
allora.. nel main.cf hai questa riga doppia:

Codice: Seleziona tutto

smtpd_data_restrictions = reject_unauth_pipelining, reject_multi_recipient_bounce, permit
non che causi lei il problema, però meglio toglierla.

Invece il master.cf conviene che ti backuppi quello e metti uno "originale", così (preso dal mio server):

Codice: Seleziona tutto

#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       -       -       -       smtpd
#submission inet n       -       -       -       -       smtpd
#  -o smtpd_tls_security_level=encrypt
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#smtps     inet  n       -       -       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#628       inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       -       300     1       oqmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       -       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       -       -       -       smtp
	-o smtp_fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
retry     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
#
# Specify in cyrus.conf:
#   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
#
# Specify in main.cf one or more of the following:
#  mailbox_transport = lmtp:inet:localhost
#  virtual_transport = lmtp:inet:localhost
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus     unix  -       n       n       -       -       pipe
#  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
# Old example of delivery via Cyrus.
#
#old-cyrus unix  -       n       n       -       -       pipe
#  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix	-	n	n	-	2	pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}
prova così.. se non funziona ancora prova a commentare nel main.cf le restrictions:

Codice: Seleziona tutto

smtpd_recipient_restrictions
smtpd_data_restrictions
Alender
Prode Principiante
Messaggi: 50
Iscrizione: mercoledì 20 gennaio 2010, 12:42

Re: [Server] impossibile ricevere email da gmail

Messaggio da Alender »

grazie ancora per le risposte,pomeriggio faccio delle prove ancora.

Ho notato però ora che se fermo amivis e spamassassin mi trovo come errore di tutte le email la dicitura mail transport unaviable ( visto dalla gui di webmin nelle code I/U)
Avatar utente
ReMichael
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4042
Iscrizione: venerdì 30 novembre 2007, 22:02

Re: [Server] impossibile ricevere email da gmail

Messaggio da ReMichael »

Alender ha scritto: grazie ancora per le risposte,pomeriggio faccio delle prove ancora.

Ho notato però ora che se fermo amivis e spamassassin mi trovo come errore di tutte le email la dicitura mail transport unaviable ( visto dalla gui di webmin nelle code I/U)
anche dopo aver tolto la direttiva in postfix? penso che se stoppi i servizi ma lasci attiva la direttiva in postfix lui cerchi di passare la mail ad amavisd
Alender
Prode Principiante
Messaggi: 50
Iscrizione: mercoledì 20 gennaio 2010, 12:42

Re: [Server] impossibile ricevere email da gmail

Messaggio da Alender »

ReMichael ha scritto:
Alender ha scritto: grazie ancora per le risposte,pomeriggio faccio delle prove ancora.

Ho notato però ora che se fermo amivis e spamassassin mi trovo come errore di tutte le email la dicitura mail transport unaviable ( visto dalla gui di webmin nelle code I/U)
anche dopo aver tolto la direttiva in postfix? penso che se stoppi i servizi ma lasci attiva la direttiva in postfix lui cerchi di passare la mail ad amavisd
ho fatto delle prove ora direttamente sul server principale.stoppato ancoro amavis e spamassassin,commentato le due righe in main.cf ed utilizzato il tuo master ma invia ma non riceve,
o meglio se mando un email da libero arriva a postfix ma mi restituisce mail transport unavailable. Da gmail sempre e solito errore..ne sto per uscire pazzo veramente!
Avatar utente
ReMichael
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4042
Iscrizione: venerdì 30 novembre 2007, 22:02

Re: [Server] impossibile ricevere email da gmail

Messaggio da ReMichael »

Alender ha scritto: ho fatto delle prove ora direttamente sul server principale.stoppato ancoro amavis e spamassassin,commentato le due righe in main.cf ed utilizzato il tuo master ma invia ma non riceve,
o meglio se mando un email da libero arriva a postfix ma mi restituisce mail transport unavailable. Da gmail sempre e solito errore..ne sto per uscire pazzo veramente!
visto che ti dà lo stesso errore direi che non c'entrano amavis e spamassassin.. puoi riattivarli e rimettere il tuo master almeno ti torna a funzionare normalmente la ricezione. hai provato invece a togliere le restrictions nel main.cf?
Ultima modifica di ReMichael il giovedì 3 febbraio 2011, 8:39, modificato 1 volta in totale.
Alender
Prode Principiante
Messaggi: 50
Iscrizione: mercoledì 20 gennaio 2010, 12:42

Re: [Server] impossibile ricevere email da gmail

Messaggio da Alender »

dopo che le commento,basta un sud /etc/init.d/postfix restart o prima meglio farci pure un /etc/init.d/postfix reload?

mi manca da provare amavis/spam up e commentare le due voci nel main.
Avatar utente
ReMichael
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4042
Iscrizione: venerdì 30 novembre 2007, 22:02

Re: [Server] impossibile ricevere email da gmail

Messaggio da ReMichael »

Alender ha scritto: dopo che le commento,basta un sud /etc/init.d/postfix restart o prima meglio farci pure un /etc/init.d/postfix reload?

mi manca da provare amavis/spam up e commentare le due voci nel main.
io per applicare le modifiche ho sempre fatto solamente restart.. ha sempre funzionato.
Ptah
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1269
Iscrizione: mercoledì 13 dicembre 2006, 13:19
Contatti:

Re: [Server] impossibile ricevere email da gmail

Messaggio da Ptah »

Non ho capito se hai provato o meno, ma credo che possano influire le direttive
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unauth_destination, reject_unauth_pipelining, reject_invalid_hostname, reject_unknown_sender_domain, reject_rbl_client zen.spamhaus.org, reject_rbl_client list.dsbl.org, reject_rhsbl_sender dsn.fc-ignorant.org, permit
smtpd_data_restrictions = reject_unauth_pipelining, reject_multi_recipient_bounce, permit

smtpd_data_restrictions = reject_unauth_pipelining, reject_multi_recipient_bounce, permit
Non sono chi dico di essere ;) || Problema risolto?Metti [RISOLTO] nel titolo ;)
Script per Firewall Iptables
Guida Php ufficiale (in inglese)
Alender
Prode Principiante
Messaggi: 50
Iscrizione: mercoledì 20 gennaio 2010, 12:42

Re: [Server] impossibile ricevere email da gmail

Messaggio da Alender »

appena provato a commentare le direttive
smtpd_recipient_restrictions
smtpd_data_restriction

e a cancellare la seconda linea doppia,gmail sempre lo stesso errore
Ptah
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1269
Iscrizione: mercoledì 13 dicembre 2006, 13:19
Contatti:

Re: [Server] impossibile ricevere email da gmail

Messaggio da Ptah »

Nei log ti dice qualcosa?
mail.log, mail.err, mail.info....
Non sono chi dico di essere ;) || Problema risolto?Metti [RISOLTO] nel titolo ;)
Script per Firewall Iptables
Guida Php ufficiale (in inglese)
Avatar utente
ReMichael
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4042
Iscrizione: venerdì 30 novembre 2007, 22:02

Re: [Server] impossibile ricevere email da gmail

Messaggio da ReMichael »

i log di dovecot li hai settati su un altro file per caso? se sì, controlla anche quello visto che ti fa da transport delle mail che riceve postfix.

puoi anche provare a greppare su tutti i log:

Codice: Seleziona tutto

grep -r "@gmail.com" /var/log/*
Alender
Prode Principiante
Messaggi: 50
Iscrizione: mercoledì 20 gennaio 2010, 12:42

Re: [Server] impossibile ricevere email da gmail

Messaggio da Alender »

allora ho questi out

Codice: Seleziona tutto

/var/log/mail.info.0:Feb  3 21:58:50 mail postfix/qmgr[17396]: 10C41526CA: from=<utente@gmail.com>, size=1003, nrcpt=2 (queue active)
/var/log/mail.info.0:Feb  3 21:59:07 mail postfix/qmgr[17396]: 488D25262E: from=<utente@gmail.com>, size=1217, nrcpt=2 (queue active)
/var/log/mail.info.0:Feb  3 21:59:07 mail amavis[26251]: (26251-03) Passed CLEAN, <utente@gmail.com> -> <miaemail@miodominio.it>,<utente@gmail.com>, Message-ID: <20110203205844.77A995262E@mail.miodominio.it>, mail_id: R8c8Fk1GCbP5, Hits: 2.673, size: 1003, queued_as: 488D25262E, 17196 ms
/var/log/mail.info.0:Feb  3 21:59:07 mail postfix/smtp[26434]: 10C41526CA: to=<utente@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=17, delays=0.06/0/0/17, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 488D25262E)
/var/log/mail.info.0:Feb  3 21:59:09 mail postfix/smtp[26441]: 488D25262E: to=<utente@gmail.com>, relay=gmail-smtp-in.l.google.com[209.85.229.27]:25, delay=1.8, delays=0.02/0/0.96/0.76, dsn=2.0.0, status=sent (250 2.0.0 OK 1296767028 s28si2331512weq.80)
Alender
Prode Principiante
Messaggi: 50
Iscrizione: mercoledì 20 gennaio 2010, 12:42

Re: [Server] impossibile ricevere email da gmail

Messaggio da Alender »

ReMichael ha scritto: i log di dovecot li hai settati su un altro file per caso? se sì, controlla anche quello visto che ti fa da transport delle mail che riceve postfix.
non non ho impostato niente diverso dal suo default
ReMichael ha scritto: puoi anche provare a greppare su tutti i log:

Codice: Seleziona tutto

grep -r "@gmail.com" /var/log/*
inserito quello che mi restituisce..Ho preso solamente i campi che vedo da from.
Avatar utente
ReMichael
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4042
Iscrizione: venerdì 30 novembre 2007, 22:02

Re: [Server] impossibile ricevere email da gmail

Messaggio da ReMichael »

hai installato per caso postgrey per la gestione della greylist?

Codice: Seleziona tutto

apt-cache policy postgrey
Alender
Prode Principiante
Messaggi: 50
Iscrizione: mercoledì 20 gennaio 2010, 12:42

Re: [Server] impossibile ricevere email da gmail

Messaggio da Alender »

ReMichael ha scritto: hai installato per caso postgrey per la gestione della greylist?

Codice: Seleziona tutto

apt-cache policy postgrey
si è installato anche postgrey!

Codice: Seleziona tutto

> sudo apt-cache policy postgrey
postgrey:
  Installato: 1.31-2
  Candidato: 1.31-2
  Tabella versione:
 *** 1.31-2 0
        500 http://it.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status
potrebbe essere a sto punto un problema di configurazione di postgrey o procmail?
Ultima modifica di Alender il domenica 6 febbraio 2011, 9:09, modificato 1 volta in totale.
Avatar utente
ReMichael
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4042
Iscrizione: venerdì 30 novembre 2007, 22:02

Re: [Server] impossibile ricevere email da gmail

Messaggio da ReMichael »

Alender ha scritto:
ReMichael ha scritto: hai installato per caso postgrey per la gestione della greylist?

Codice: Seleziona tutto

apt-cache policy postgrey
si è installato anche postgrey!

Codice: Seleziona tutto

> sudo apt-cache policy postgrey
postgrey:
  Installato: 1.31-2
  Candidato: 1.31-2
  Tabella versione:
 *** 1.31-2 0
        500 http://it.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status
potrebbe essere a sto punto un problema di configurazione di postgrey o procmail?
procmail non credo.. però prova a togliere temporaneamente postgrey e vedere se così ti funziona
Alender
Prode Principiante
Messaggi: 50
Iscrizione: mercoledì 20 gennaio 2010, 12:42

Re: [Server] impossibile ricevere email da gmail

Messaggio da Alender »

uguale
Avatar utente
ReMichael
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4042
Iscrizione: venerdì 30 novembre 2007, 22:02

Re: [Server] impossibile ricevere email da gmail

Messaggio da ReMichael »

Alender ha scritto: uguale
in /etc/postfix/transport cosa c'è?

posta anche procmailrc a questo punto..
Alender
Prode Principiante
Messaggi: 50
Iscrizione: mercoledì 20 gennaio 2010, 12:42

Re: [Server] impossibile ricevere email da gmail

Messaggio da Alender »

ReMichael ha scritto:
in /etc/postfix/transport cosa c'è?

Codice: Seleziona tutto

> cat /etc/postfix/transport
autoreply.miodominio.it vacation:
ReMichael ha scritto: posta anche procmailrc a questo punto..
in che senso scusa?
Scrivi risposta

Ritorna a “Ubuntu su server”

Chi c’è in linea

Visualizzano questa sezione: Bing [Bot] e 4 ospiti