OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: catchall alias for wildcard subdomains?

From: Joshua Baer (yahoojoshuabaer.com)
Date: Sun Jul 15 2007 - 16:32:00 CDT


I didn't even know about postconf - one more new thing learned! :-)

command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
local_recipient_maps =
luser_relay = example_user
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost,
$mydomain, example.net, joshuabaer.example.com,
mydomain = example.com
mydomain_fallback = localhost
myhostname = mail.example.com
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_tls_key_file =
unknown_local_recipient_reject_code = 550

~Josh

On Jul 15, 2007, at 4:23 PM, Wietse Venema wrote:

> Joshua Baer:
>> That sounds like _exactly_ what I want, but it doesn't seem to be
>> working for me.
>>
>> I added the virtual_alias_* lines right after the mydestination line
>> in my main.cf file and updated the path to be /private/etc/postfix to
>> match my system.
>
> Sorry, I won't try to debug this without "postconf -n"
> command output. There are too many opportunities for
> mistake.
>
> Wietse