OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: virtual domains and hacking smtp_addr.c
From: Jonathan Ellis (jellisadvocast.com)
Date: Fri Oct 06 2000 - 13:29:11 CDT


> If you APPEND advocast.com to mydestination, then Postfix will not
> attempt to make an SMTP connection to the host specified in the MX
> record for advocast.com.
>
> Unless you did one of the following things:
>
> - You've typo-ed. Check output from postconf -n mydestination, see
> if it really lists advocast.com.

postconf -n mydestination:
mydestination = $myhostname, localhost.$mydomain, $mydomain
postconf mydomain:
mydomain = advocast.com

> - You have configured a transport mapping that explicitly routes
> mail for advocast.com.

No.

> - You have changed the master map so that local mail is given to
> the smtp client instead.

Haven't touched master.cf.

> Or any other of the millions of ways to misconfigure. If your
> postconf -n output is over a half dozen lines it is probably wrong.

Ah, you got me there.

postconf -n:
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
local_destination_concurrency_limit = 2
mail_owner = postfix
mailbox_command = /usr/bin/procmail
mydestination = $myhostname, localhost.$mydomain, $mydomain
myhostname = thor.advocast.com
myorigin = $mydomain
queue_directory = /var/spool/postfix
smtpd_banner = $myhostname ESMTP
virtual_maps = hash:/etc/postfix/virtual

-Jonathan