Postfix 2.5.1 on OpenSuse 11 -
I am trying to send mail to myself on a machine that is not connected to
the internet. I have a user AAAAAAA on the machine, I try to send mail
from [EMAIL PROTECTED] to [EMAIL PROTECTED] and the postfix process seems
to be fine but is always deferred with a temporary failure. Postfix
takes the mail but cannot deliver it.
e.g.
Nov 28 13:31:21 bigbox postfix/qmgr[25540]: 35E5A5528A:
from=<[EMAIL PROTECTED]>, size=680, nrcpt=1 (queue active)
Nov 28 13:31:21 bigbox postfix/local[25627]: 35E5A5528A:
to=<[EMAIL PROTECTED]>, orig_to=<AAAAAAA>, relay=local, delay=0.04,
delays=0.02/0/0/0.01, dsn=4.3.0,status=deferred (temporary failure)
Many messages have been attempted, the file for user AAAAAAAA exists but
is always 0 size. I have opened up permissions on this file with no
effect. Suse provides /var/spool/mail and /var/mail which is a symlink
to /var/spool/mail.
I am puzzled why postfix cannot find localhost. Since the machine is not
connected to the internet and has no official domain I have invented one
as bigbox.mynet. I've a feeling that the issue hinges on my entries for
hostname and mydomain. I have tried a number of combinations but nothing
seems to work. If I understand correctly the deferral usually occurs say
if a server is offline temporarily, but this process takes place
entirely in the one machine.
My hosts file may be an issue:
127.0.0.1 localhost
127.0.0.2 bigbox.mynet mail.bigbox.mynet bigbox
...
192.168.0.101 bigbox.mynet bigbox mail.bigbox.mynet
...
Suggestions welcome.
=============================
Below is the current postconf -n:
alias_maps = hash:/etc/aliases
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = yes
disable_mime_output_conversion = no
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 0
mailbox_transport = dovecot
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain, localhost
myhostname = bigbox.mynet
mynetworks = 192.168.0.0/28, 127.0.0.0/8
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_use_tls = no
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual