OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
my virtual domains are messed up..

From: Ajay Sharma (ssharmaamntv.com)
Date: Thu May 22 2003 - 13:42:05 CDT


Hello,

I'm having another problem this morning where my virtual domains are
conflicting with my local domain. Here's what's happening:

the mail server is mail.local.com and I have a bunch of aliases for that
setup in virtual file:

somethinglocal.com something (a local user in the /etc/passwd file)

I also have a catch all user:

local.com catchall (another local user)

below that in the virtual file I have some other domains:

elsevirtual.com else (still a local user)

but all the mail for elsevirtual.com is going to the catchall user. My
setup is taking the "else" user, expanding it to "elselocal.com",
realizes that there isn't an "elselocal.com" user and then sends it to
the catchall user. How can I get it to just send the virtual email
directly to the local user? Geeze, that sounds like a dumb question and
I'm really sorry. I did read the docs but they're slightly confusing.
A lot of this setup is coming from an old funky sendmail setup.

Here's my 'postconf -n'. Btw, $mydestination points to the
'local-host-names' file which is copied straight over from the sendmail
setup. Is there a problem with that?

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases, hash:/home/mailman/data/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
delay_warning_time = 4h
home_mailbox = Maildir/
local_destination_concurrency_limit = 1
mail_owner = postfix
mailbox_command = /opt/maildrop/bin/maildrop
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain,
mail.$mydomain, /etc/postfix/local-host-names
mydomain = amntv.com
myhostname = mail.amntv.com
mynetworks = 207.218.174.0/24, 207.138.31.0/24, 206.135.197.0/24,
216.103.53.7, 64.38.67.52, 64.161.68.130, 66.82.107.34
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
owner_request_special = no
queue_directory = /var/spool/postfix
readme_directory = /etc/postfix/README_FILES
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /etc/postfix/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
soft_bounce = yes
unknown_local_recipient_reject_code = 450
virtual_alias_domains = $virtual_alias_maps
virtual_alias_maps = hash:/etc/postfix/virtual

--Ajay