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: Wed Feb 01 2006 - 17:03:06 CST


ok.. Here is a sample of the email error I get:
 
testlists.<mydomain>.com on 01/02/2006 3:53 PM
  The e-mail system was unable to deliver the message, but did not report a specific reason. Check the address and try again. If it still fails, contact your system administrator.
  < vader.lists.<mydomain>.com #5.0.0 X-Postfix; mail for lists.<mydomain>.com loops back to myself>
 
Here is my config:
 
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
default_privs = nobody
myhostname = vader.lists.<mydomain>.com
mydomain = lists.<mydomain>.com
myorigin = <mydomain>.com
message_size_limit = 20480000
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
mynetworks = <subnet>/28, 127.0.0.0/8
in_flow_delay = 1s
default_transport = smtp
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases, hash:/usr/lib/majordomo/majordomo.aliases
#home_mailbox = Mailbox
#relay_domains = <mydomain>.com
#relayhost = mx1.<mydomain>.com
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail
debug_peer_level = 2
debugger_command =
  PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
  xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
manpage_directory = /usr/local/man
sample_directory = /etc/postfix

 

________________________________

From: owner-postfix-userspostfix.org on behalf of Magnus Bäck
Sent: Wed 01/02/2006 3:22 PM
To: postfix-userspostfix.org
Subject: Re: Wietse dont kill me

On Wednesday, February 01, 2006 at 22:05 CET,
     Daniel Kaliel <Daniel.Kalieljjbedmonton.com> wrote:

> Ok, I have run through even the most simple configs to no avail.
>
> I have a postfix server setup as primary for domain
> <lists.mydomain.com> in the alias file I have setup root to point to
> memydomain.com.
>
> I had main.cf setup to say relayhost = mydomain.com but that gets
> rejected with unable to relay. But further reading lead me to believe
> that by setting relayhost in main.cf it would tell postfix not to
> check the MX record via DNS. Which is what I want. Because although
> the list currently only have memydomain.com it will have
> someoneanydomain.com.
>
> However not setting relayhost gives me the error msg "Loops back to
> myself". So that makes me think that postfix is not checking for an
> mx record for the domain mydomain.com. And I am not sure why.
>
> The main.cf I am using worked perfectly when this postfix server was
> the main mx for mydomain.com. All I did was move it to the new domain
> lists.mydomain.com. The name of the server then became
> server.lists.mydomain.com.

Post logs and "postconf -n" output is you want to receive any help.

--
Magnus Bäck
magnusdsek.lth.se