Visualizzazione dei risultati da 1 a 9 su 9
  1. #1

    [gentoo] Dove sono le mail ricevute da postfix?

    Non uso un demone pop3 o imap, perché ho appena installato il server.

    Per ora vorrei sapere intanto se riesce a riceverle: c'è un file che contiene le mail ricevute? Se si, qual'è?
    Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.

  2. #2
    Utente di HTML.it
    Registrato dal
    Sep 2006
    Messaggi
    796
    /var/spool/mail/nome_utente

  3. #3
    Hmm.. allora c'è qualche problema perché le email inviate non le ricevo: il file resta vuoto..

    Però se immetto un utente errato mi arriva la notifica di fallimento, mentre altrimenti non ricevo nulla..
    Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.

  4. #4
    Utente di HTML.it
    Registrato dal
    Sep 2006
    Messaggi
    796
    Lancia tail -f /var/log/syslog mentre ti mandi una mail, cosi` guardi cosa succede.

  5. #5
    Ho catturato l'output di /var/log/messages

    codice:
    May  2 15:40:54 host postfix/smtpd[9857]: input attribute name: status
    May  2 15:40:54 host postfix/smtpd[9857]: input attribute value: 0
    May  2 15:40:54 host postfix/smtpd[9857]: private/anvil: wanted attribute: (list terminator)
    May  2 15:40:54 host postfix/smtpd[9857]: input attribute name: (end)
    May  2 15:40:54 host postfix/smtpd[9857]: disconnect from smtp.server.com[x.x.x.x]
    May  2 15:40:54 host postfix/smtpd[9857]: master_notify: status 1
    May  2 15:40:54 host postfix/smtpd[9857]: connection closed
    May  2 15:40:54 host postfix/qmgr[4362]: 0AC82C12: from=<fuori@server.com>, size=1601, nrcpt=1 (queue active)
    May  2 15:40:54 host postfix/local[9862]: 0AC82C12: to=<utente@host.locale>, relay=local, delay=0.23, delays=0.18/0/0/0.05, dsn=2.0.0, status=sent (delivered to maildir)
    May  2 15:40:54 host postfix/qmgr[4362]: 0AC82C12: removed
    Ecco, da qui non c'è accenno a scrivere in qualche file ...
    Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.

  6. #6
    Utente di HTML.it
    Registrato dal
    Sep 2006
    Messaggi
    796
    codice:
    ...
    delay=0.23, delays=0.18/0/0/0.05, dsn=2.0.0, status=sent (delivered to maildir)
    May  2 15:40:54 host postfix/qmgr[4362]: 0AC82C12: removed
    Delivered to maildir, te le sta mettendo nella home utente. Ma per farlo ha bisogno di una struttura a lui comprensibile:

    codice:
    /home/utente/Maildir
                       |_cur
                       |_new
                       |_tmp
    Il tutto con permessi a 755 e owner l'utente stesso. Per comodita` puoi crearti la stessa struttura in /etc/skel.

  7. #7
    Le ho create, ma restano vuote ..
    Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.

  8. #8
    Utente di HTML.it
    Registrato dal
    Sep 2006
    Messaggi
    796
    Diamo un'occhiata al main.cf?

  9. #9
    Originariamente inviato da dAb
    Diamo un'occhiata al main.cf?
    Le direttive attive sono queste
    codice:
    queue_directory = /var/spool/postfix
    command_directory = /usr/sbin
    daemon_directory = /usr/lib/postfix
    mail_owner = postfix
    myhostname = sito.dnsalias.com
    mydomain = dnsalias.com
    myorigin = $myhostname
    inet_interfaces = all
    mydestination = $myhostname, localhost
    unknown_local_recipient_reject_code = 550
    mynetworks = 192.168.0.0/24, 127.0.0.0/8
    mail_spool_directory = /var/spool/mail
    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
    sendmail_path = /usr/sbin/sendmail
    newaliases_path = /usr/bin/newaliases
    mailq_path = /usr/bin/mailq
    setgid_group = postdrop
    html_directory = /usr/share/doc/postfix-2.3.6/html
    manpage_directory = /usr/share/man
    sample_directory = /etc/postfix
    readme_directory = /usr/share/doc/postfix-2.3.6/readme
    Non voglio usare il mailbox, se le mail vanno su /var/spool/mail è meglio ..
    Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.