|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
5.1.8 invalid/host-not-in-DNS
From: Gerard Verhoeven (gv
verhoeven.doge.nl)
Date: Mon Jun 28 2004 - 08:59:56 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
my name is Gerard Verhoeven. For some time now I'm trying to gain experience
with Linux. I've build a server-system with an application written in PHP
and using Apache and Mysql to automate the administration of a shop. I used
a distribution from SUSE (version 8.0). This installation had SENDMAIL as
the mail-server, my application only uses it for outgoing mail. When a user
from the web wants to send a message, the PHP program uses the mail-function
and sends the message to discservice
planet.nl. The mailserver from PLANET
is mail.planet.nl and I used masquerading to let PLANET accept my system
(uitleen.viavia). Maybe it is not the best solution, but it worked and I was
happy.
But after the update to SUSE 9.1, POSTFIX was the 'standard' mailserver. So
now I'm trying to make Postfix behave as Sendmail did, but it won't work as
you can see from the following part from the mail logile:
Jun 28 15:05:42 uitleen postfix/postfix-script: refreshing the Postfix mail
system
Jun 28 15:05:42 uitleen postfix/master[4296]: reload configuration
Jun 28 15:12:02 uitleen postfix/pickup[4536]: 28DC4DEFD: uid=30
from=<wwwrun>
Jun 28 15:12:02 uitleen postfix/cleanup[4552]: 28DC4DEFD:
message-id=<20040628131202.28DC4DEFD
uitleen.viavia>
Jun 28 15:12:02 uitleen postfix/qmgr[4537]: 28DC4DEFD:
from=<wwwrun
uitleen.viavia>, size=497, nrcpt=1 (queue active)
Jun 28 15:12:02 uitleen postfix/smtp[4554]: 28DC4DEFD:
to=<discservice
planet.nl>, relay=mail.planet.nl[195.121.6.51], delay=0,
status=bounced (host mail.planet.nl[195.121.6.51] said: 550 5.1.8
invalid/host-not-in-DNS return address not allowed (in reply to MAIL FROM
command))
Jun 28 15:12:02 uitleen postfix/cleanup[4552]: 92E1FDF0A:
message-id=<20040628131202.92E1FDF0A
uitleen.viavia>
Jun 28 15:12:02 uitleen postfix/qmgr[4537]: 92E1FDF0A: from=<>, size=2345,
nrcpt=1 (queue active)
Jun 28 15:12:02 uitleen postfix/qmgr[4537]: 28DC4DEFD: removed
Jun 28 15:12:02 uitleen postfix/local[4556]: 92E1FDF0A:
to=<root
uitleen.viavia>, orig_to=<wwwrun
uitleen.viavia>, relay=local,
delay=0, status=sent (delivered to mailbox)
Jun 28 15:12:02 uitleen postfix/qmgr[4537]: 92E1FDF0A: removed
The output from POSTCONF -n:
uitleen:~ # postconf -n
alias_maps = hash:/etc/aliases
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
inet_interfaces = 127.0.0.1 ::1
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = planet.nl
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain
myhostname = uitleen.viavia
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost = mail.planet.nl
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_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_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450
I would appreciate it very much if I could get the information necessary to
make this work or, if needed, a description of a better solution.
Thanks in advance for all the help that I get,
Gerard Verhoeven.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]