Hallo Liste,
ich bin dabei mir einen Mailserver mit Postfix für mein lokales Netz
aufzubauen. Hänge nun aber fest .
Wenn ich Mails mit Kmail verschicke, kommen Sie an. Will ich aber mails lokal
von der Commandline schicken, werden Sie nicht zugestellt ! Bekomme dann
immer folgenden Fehler :
The Postfix program
: localhost: No such file or directory
Hier noch Auszüge aus den Logs, der main.cf und dem canical Eintrag!
Danke !
LG Siggi
Auszug aus der /var/log/mail
Mar 23 00:06:56 hofstett-01 postfix/lmtp[10655]: 97F2C4402B:
to=, orig_to=,
relay=public/lmtp[public/lmtp], delay=0, status=sent (250 2.1.5 Ok)
Mar 23 00:06:56 hofstett-01 postfix/cleanup[10650]: B00184503B:
message-id=<20040322230656.B00184503B@hofstett-01.hofstett.net>
Mar 23 00:06:56 hofstett-01 postfix/qmgr[10612]: B00184503B:
from=, size=1798, nrcpt=1 (queue
active)
Mar 23 00:06:56 hofstett-01 postfix/lmtp[10655]: B00184503B:
to=, orig_to=<postmaster>,
relay=public/lmtp[public/lmtp], delay=0, status=sent (250 2.1.5 Ok)
Hier meine main.cf
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/aliases
allow_untrusted_routing = no
append_at_myorigin = yes
body_checks = pcre:/etc/postfix/maps/body_checks
bounce_size_limit = 65536
canonical_maps = hash:/etc/postfix/maps/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[localhost]:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 20
default_privs = nobody
disable_dns_lookups = no
disable_vrfy_command = yes
header_checks = pcre:/etc/postfix/maps/header_checks
header_size_limit = 32768
in_flow_delay = 1s
inet_interfaces = all
local_destination_concurrency_limit = 8
local_recipient_maps = proxy:unix:passwd.byname $alias_maps $virtual_maps
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command = /usr/cyrus/bin/deliver
mailbox_transport = lmtp:unix:public/lmtp
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = hash:/etc/postfix/maps/masquerade_domains
masquerade_exceptions = root
message_size_limit = 32768000
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = hofstett.net
myhostname = hofstett-01.hofstett.net
mynetworks = 192.168.1.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
notify_classes = resource, software, bounce, policy
program_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
recipient_delimiter = +
relay_domains = $mydomain
relayhost = [hofstett-01.$mydomain ]
relocated_maps = hash:/etc/postfix/maps/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/maps/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_banner = $myhostname ESMTP
smtpd_client_restrictions =
smtpd_etrn_restrictions =
smtpd_hard_error_limit = 25
smtpd_helo_required = yes
smtpd_helo_restrictions =
smtpd_recipient_limit = 128
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination,
reject_unknown_recipient_domain, reject_invalid_hostname,
reject_unauth_pipelining, reject_non_fqdn_sender,
reject_unknown_sender_domain, reject_multi_recipient_bounce,
reject_non_fqdn_recipient, reject_unknown_recipient_domain,
reject_unverified_recipient,
smtpd_sender_restrictions = hash:/etc/postfix/maps/access
smtpd_soft_error_limit = 10
smtpd_timeout = 180
soft_bounce = no
strict_rfc821_envelopes = yes
transport_maps = hash:/etc/postfix/maps/transport
Eintrag in der canoncical =
hofstett Siggi.Hofstetter@t-online.de ,
damit meine reale E-mail Adresse im header angezeigt wird !