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.

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

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

> mailbox_size_limit = 0

This is unwise.

> mailbox_transport = dovecot

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

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

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[EMAIL PROTECTED]>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to