[PLUTO-help] Postfix non risolve gli utenti
Piviul
pluto a flanet.org
Gio 7 Ott 2004 12:17:16 CEST
Non riesco a capire come mai postfix non mi recapita più la posta;
potrebbe essere connesso al fatto che ieri ho installato dovecot (senza
riuscirci, la versione 0.8 - ultima stable - non supporta SSHA) e
fetchmail? Bhé ma prima di prendere sul serio l'esoterico vi racconto
qualcosa in più sulla mia configurazione.
- in ldap ho un utente, *utonto*, con mail *nome.cognome a flanet.org*;
- invio una mail da un client (l'utente che invia la mail si chiama
piviul a lycos.it) il cui smtp è appunto la macchina su cui è installato
Postfix.
- a piviul a lycos.it viene recapitato dall'smtp postfix un messaggio
> <utonto a flanet.org> (expanded from <nome.cognome a flanet.org>): unknown user:
> "utonto"
Ho allora settato il verbose logging dell'smtp ed ora fra i vari log
creati trovo:
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: dict_ldap_connect: Connecting to server ldap://localhost
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: dict_ldap_connect: Actual Protocol version used is 2. Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: dict_ldap_connect: Binding to server ldap://localhost as dn
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: dict_ldap_connect: Successful bind to server ldap://localhost as
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: dict_ldap_connect: Cached connection handle for LDAP source /etc/postfix/ldap-aliases
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: dict_ldap_lookup: Searching with filter (&(|(mail=nome.cognome a flanet.org@flanet.org)(mail=nome.cognome a flanet.org))(objectClass=posixAccount))
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: dict_ldap_get_values[1]: Search found 1 match(es)
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: dict_ldap_get_values[1]: search returned 1 value(s) for requested result attribute uid
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: dict_ldap_lookup: Search returned utonto
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: maps_find: local_recipient_maps: ldap:/etc/postfix/ldap-aliases(0,100): nome.cognome a flanet.org = utonto
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: mail_addr_find: nome.cognome a flanet.org -> utonto
[...]
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: > unknown[192.168.0.35]: 250 Ok: queued as A553F26EDF2Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: watchdog_pat: 0x806ff18
> Oct 7 11:29:26 PDC-SMB postfix/qmgr[4478]: A553F26EDF2: from=<piviul a lycos.it>, size=588, nrcpt=1
> (queue active)
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: < unknown[192.168.0.35]: QUIT
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: > unknown[192.168.0.35]: 221 Bye
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: disconnect from unknown[192.168.0.35]
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: master_notify: status 1
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: connection closed
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: watchdog_stop: 0x806ff18
> Oct 7 11:29:26 PDC-SMB postfix/smtpd[4495]: watchdog_start: 0x806ff18
> Oct 7 11:29:26 PDC-SMB postfix/local[4501]: A553F26EDF2: to=<utonto a flanet.org>, orig_to=<nome.cognome a flanet.org>, relay=local, delay=0, status=bounced (unknown user: "utonto")
ma utonto c'è e se eseguo postmaster -q *nome.cognome a flanet.org* mi
risponde *utonto*.
Perché quindi postfix non riesce a recapitare la posta? Ho erroneamente
modificato qualche parametro?
Qui di seguito vi invio anche il mio main.cf
> command_directory = /usr/sbin
> daemon_directory = /usr/lib/postfix
> program_directory = /usr/lib/postfix
>
> smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
> setgid_group = postdrop
> biff = no
>
> append_dot_mydomain = no
>
> myhostname = smtp.flanet.org
> myorigin = $mydomain
> mydestination = $mydomain, $mydomain, localhost.$mydomain, localhost
> alias_maps = hash:/etc/postfix/aliases, ldap:/etc/postfix/ldap-aliases
> alias_database = hash:/etc/postfix/aliases
> mynetworks = 127.0.0.0/24, localhost, 192.168.0.35
> relayhost = smtp.fastwebnet.it
> mailbox_size_limit = 0
> recipient_delimiter = +
> home_mailbox = .mail/
grazie mille
Piviul
More information about the pluto-help
mailing list