Thanks for the response...

On 28/11/08 02:22 PM, Victor Duchovni wrote:
On Fri, Nov 28, 2008 at 01:58:45PM -0500, Colin Beckingham wrote:

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)

Local delivery is failing.

Yes


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.

These are not used (at least by Postfix) in your configuration.

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
...

This line of inquiry will be fruitless, the message is correctly routed
to the local delivery agent.

Suggestions welcome.

=============================

Below is the current postconf -n:

alias_maps = hash:/etc/aliases

Make sure the contents are sensible, and hte file is postmapped.

contents seem good, in the format key: value
newaliases is quite happy
postmap /etc/aliases is not so happy with the key: value format.
But I don't think aliases will be a problem in this instance. I have attempted to send mail via root to AAAAAA and it seems to be routed back to AAAAAAA as per my alias instructions (except for final delivery on local), AAAAAA is targeted for root mail.


mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail

The second (delivery to procmail) overrides the first (delivery to
mbox files in /var/spool/mail). Procmail is likely not working
correctly, or may need to be invoked differently.


I removed the reference to procmail but no difference. Indeed I wish to have postfix deliver to mail/AAAAAAA

mailbox_size_limit = 0

This is unwise.

changed to values more sensible to fit with message size


mailbox_transport = dovecot

This overrides mailbox_command, so that's not (yet) the problem
either. Make sure you have a working dovecot transport.


dovecot works fine. I can telnet to ports 25 and 143 and dovecot responds correctly, if that is relevant. However I removed that reference to see if there is a difference and not so.

Do read your mail logs more carefully, there are entries there you have
not looked at.


I'm sure that is the case, I will keep looking.

Reply via email to