Brian Blater wrote:
On 1/23/07, Sandy Drobic <[EMAIL PROTECTED]> wrote:
Brian Blater wrote:
You should check if the domain mail.pure-energy.net is included in
$mydestination. Please keep in mind that not to set a parameter does NOT
mean the parameter will be empty. It means that the default value will be
used.
# postconf -d mydestination
mydestination = $myhostname, localhost.$mydomain, localhost
What does "postconf mydestination" say?
Do you get warnings in your logfile?
egrep 'fatal|panic|error|warning' /var/log/mail
This is what postconf shows:
porsche:~ # postconf -n mydestination
mydestination = $myhostname, localhost.$mydomain
porsche:~ # postconf -n myhostname
myhostname = mail.pure-energy.net
The egrep of /var/log/mail only shows the bounces because the local
delivery failed error:
Jan 23 15:00:09 porsche postfix/error[7763]: 4AF0AA3C36:
to=<[EMAIL PROTECTED]>, orig_to=<vscan>, relay=none,
delay=0.17, delays=0.16/0/0/0.01, dsn=5.0.0, status=bounced (local
mail delivery is disabled)
In that case set $mydestination to an empty value:
postconf -e "mydestination = "
If mail.pure-energy.net is a relay_domain, set up the relay_recipient_maps
with the table of valid recipient addresses.
main.cf:
relay_domains = mail.pure-energy.net
relay_recipient_maps = hash:/etc/postfix/relay_recipients
transport_maps = hash:/etc/postfix/transport
/etc/postfix/relay_recipients:
[EMAIL PROTECTED] OK
/etc/postfix/transport:
mail.pure-energy.net relay:[1.2.3.4]
postmap /etc/postfix/relay_recipients
postmap /etc/postfix/transport
postfix reload
Then send another testmail, it should be sent to the server/ip address in
/etc/postfix/transport
Sandy
--
List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]