OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
RE: Wietse dont kill me

From: Daniel Kaliel (Daniel.Kalieljjbedmonton.com)
Date: Thu Feb 02 2006 - 09:54:16 CST


Ok, so I did some serious reading last night, because it is fine that you help me out, but if I don't understand what is going on, then that is only a half solution. So, I have attached the requested below, with the relaying denied error. But, so I know I am on the right track. The reason that the config worked when postfix was the primary for jjbedmonton.com was because all emails to it where sent from the same domain and it delivered to itself. But now, because emails are coming into it from a different domain, and no local delivery postfix does not know what to do with the message and as such needs to be told. Hence, relayhost needs to be set. Am I right?
 
-------------------------------
log
-------------------------------
Feb 2 08:42:30 vader postfix/postfix-script: refreshing the Postfix mail system
Feb 2 08:42:30 vader postfix/master[5553]: reload configuration /etc/postfix
Feb 2 08:43:29 vader postfix/smtpd[30379]: connect from hermes.jjbedmonton.com[209.148.223.55]
Feb 2 08:43:30 vader postfix/smtpd[30379]: 0B34F3971E6: client=hermes.jjbedmonton.com[209.148.223.55]
Feb 2 08:43:30 vader postfix/cleanup[30382]: 0B34F3971E6: message-id=<B43F5AAB2860BF40879465210DBA080B18504Ahermes.jjbedmonton.com>
Feb 2 08:43:30 vader postfix/qmgr[30373]: 0B34F3971E6: from=<Daniel.Kalieljjbedmonton.com>, size=1419, nrcpt=1 (queue active)
Feb 2 08:43:30 vader postfix/smtpd[30379]: disconnect from hermes.jjbedmonton.com[209.148.223.55]
Feb 2 08:43:30 vader postfix/smtp[30383]: 0B34F3971E6: to=<rootlists.jjbedmonton.com>, relay=hermes.jjbedmonton.com[209.148.223.55], delay=1, status=bounced (host hermes.jjbedmonton.com[209.148.223.55] said: 550 5.7.1 Unable to relay for rootlists.jjbedmonton.com (in reply to RCPT TO command))
Feb 2 08:43:30 vader postfix/cleanup[30382]: 38B572479EC: message-id=<20060202154330.38B572479ECvader.lists.jjbedmonton.com>
Feb 2 08:43:30 vader postfix/qmgr[30373]: 38B572479EC: from=<>, size=3440, nrcpt=1 (queue active)
Feb 2 08:43:30 vader postfix/qmgr[30373]: 0B34F3971E6: removed
Feb 2 08:43:30 vader postfix/smtp[30383]: 38B572479EC: to=<Daniel.Kalieljjbedmonton.com>, relay=hermes.jjbedmonton.com[209.148.223.55], delay=0, status=sent (250 2.6.0 <20060202154330.38B572479ECvader.lists.jjbedmonton.com> Queued mail for delivery)
Feb 2 08:43:30 vader postfix/qmgr[30373]: 38B572479EC: removed

-------------------------
postconf
-------------------------
alias_database = hash:/etc/postfix/aliases, hash:/usr/lib/majordomo/majordomo.aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_privs = nobody
default_transport = smtp
in_flow_delay = 1s
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/local/man
message_size_limit = 20480000
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = lists.jjbedmonton.com
myhostname = vader.lists.jjbedmonton.com
mynetworks = 209.148.223.48/28, 127.0.0.0/8
myorigin = jjbedmonton.com
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
relayhost = hermes.jjbedmonton.com
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550

 

________________________________

From: owner-postfix-userspostfix.org on behalf of Wietse Venema
Sent: Wed 01/02/2006 7:02 PM
To: Postfix users
Subject: Re: Wietse dont kill me

Daniel Kaliel:
> Feb 1 16:20:51 vader postfix/smtp[6380]: 45C443971E2: to=<rootlists.jjbedmonton.com>, relay=none, delay=0, status=bounced (mail for lists.jjbedmonton.com loops back to myself)

vader.lists.jjbedmonton.com is primary MX host for lists.jjbedmonton.com.

You MUST configure Postfix where to deliver that mail.

See http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backup

Just like I told you a million emails ago.

Instead of following up with yet another "it does not work" response,
supply a complete error report with "postconf -n" and logging.

        Wietse