> Fix your php program that is submitting this e-mail to include the recipient
I don't know what to fix there 'cause it's just one function call - mail($to, $subject, $message);
> See the ADDRESS_REWRITING_README. On my system, this file is located in /etc/postfix/readme
done, but it still isn't clear for me about rewriting

I 've added this to /etc/mail/aliases
"apache: my_email"
and finally got this:
-------------------------------------------------------------------------------------------
Subject: Undelivered Mail Returned to Sender
From: Mail Delivery System <MAILER-DAEMON@arisa.hostname.ru>
To:
apache@arisa.hostname.ru
This is the Postfix program at host arisa.hostname.ru.
I'm sorry to have to inform you that your message could not be
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The Postfix program
<unknown>: No recipients specified
Reporting-MTA: dns; arisa.hostname.ru
X-Postfix-Queue-ID: 93C01F6BC6
X-Postfix-Sender: rfc822;
apache@arisa.hostname.ru
Arrival-Date: Sun, 26 Sep 2004 18:03:09 +0000 (GMT)
Final-Recipient: rfc822; unknown
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; No recipients specified
Subject:
test from gentoo
From:
apache@arisa.hostname.ru (apache)
Date:
Sun, 26 Sep 2004 18:03:09 +0000 (GMT)
To:
my_email
Received:
by arisa.hostname.ru (Postfix, from userid 81) id 93C01F6BC6; Sun, 26 Sep 2004 18:03:09 +0000 (GMT)
Message-ID:
<20040926180309.93C01F6BC6@arisa.hostname.ru>
message
-------------------------------------------------------------------------------------------
why if I tell PHP send letter to
someone@server.ru it doesn't pass address to postfix?
what I miss in /etc/postfix/main.cf?
#################
defer_transport = smtp
relayhost = hostname.ru
mail_owner = postfix
myhostname = arisa.hostname.ru
mydomain = hostname.ru
#################