On Friday 20 June 2003 14:09, Bernd Tannenbaum wrote:
Wenn ich mit dem Programm mail ein lokales email an irgendeinen Benutzer schreibe, so funktioniert das problemlos. Schicke ich es an einen anderen Rechner, finde ich nichts in /var/spool/mail Die main.cf wurde so editiert mydestination = $myhostname, localhost.$mydomain $mydomain test@client3:~> mail -v test@client3.local oder nur mail -v test funktioniert test@client3:~> mail -v test@client2.local bringt zwar keine Fehlermeldung, aber ich sehe nichts in /var/spool/mail Auf beiden Clients gibt es den User test
Meine erste Idee wäre vielleicht der Parameter: "inet_interfaces". Steht der noch auf localhost?
Ja Mit inet_interfaces = all funktioniert es aber auch nicht. (postfix neu gestartet) Könnte ich auch zB 192.168.1.96/28 bei inet_interfaces angeben oder ist das nur bei mynetworks möglich? # cat /etc/postfix/main.cf queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/lib/postfix mail_owner = postfix unknown_local_recipient_reject_code = 450 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 = maildrop manpage_directory = /usr/share/man sample_directory = /usr/share/doc/packages/postfix/samples readme_directory = /usr/share/doc/packages/postfix/README_FILES mail_spool_directory = /var/mail canonical_maps = hash:/etc/postfix/canonical virtual_maps = hash:/etc/postfix/virtual relocated_maps = hash:/etc/postfix/relocated transport_maps = hash:/etc/postfix/transport sender_canonical_maps = hash:/etc/postfix/sender_canonical masquerade_exceptions = root masquerade_classes = envelope_sender, header_sender, header_recipient myhostname = client3.local program_directory = /usr/lib/postfix #original: inet_interfaces = 127.0.0.1 inet_interfaces = all masquerade_domains = #original: mydestination = $myhostname, localhost.$mydomain mydestination = $myhostname, localhost.$mydomain, $mydomain defer_transports = smtp disable_dns_lookups = yes relayhost = email.aon.at content_filter = vscan: mailbox_command = mailbox_transport = smtpd_sender_restrictions = hash:/etc/postfix/access smtpd_client_restrictions = smtpd_helo_required = no smtpd_helo_restrictions = strict_rfc821_envelopes = no smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination smtp_sasl_auth_enable = no smtpd_sasl_auth_enable = no smtpd_use_tls = no alias_maps = hash:/etc/aliases mailbox_size_limit = 51200000 message_size_limit = 10240000 Al