2 msgMASQUERADING FROM BUT NOT TO
3 msgProbably not a Postfix problem...?

Quick question with user/virtual aliases.
\ Justin Piszcz (15 Mar 2008)
. \ mouss (15 Mar 2008)
. . \ Justin Piszcz (15 Mar 2008)

4 msgSending healty batch emails
5 msguse of relayhost, relaydomain?
6 msgnaming the mail server
1 msgRe: statistics by client ip address - SOLVED
3 msgquestion marks on permissions/owner
2 msgConfiguring Postfix to Receive Mail from Outloo...
3 msgtcp_table and propose for new lookup table 'pip...
12 msgAbout date spoofing
3 msgOverriding DNS lookups for a specific domain
2 msgredirecting a single email address/alias (not a...
1 msgstatistics by client ip address
2 msgsender+ip restrictions
14 msgpostfix-2.5 RPMs available
1 msgSetting up Postfix on Solaris 10
8 msgYet another virtual domain problem - do not lis...
2 msggetting a user permissions error
2 msg551 mail refused
Subject:Quick question with user/virtual aliases.
Group:Postfix-users
From:Justin Piszcz
Date:15 Mar 2008


 
What I would like to do: Have various *whitelisted* aliases so if e-mail
is sent to them, they bypass all other checks.

Problem:
Is it possible to whitelist an alias, either in /etc/aliases or a virtual alias?

When I send a message to a whitelisted alias, it does not work, it says
the account does not exist, I also tried mapping the account it is aliased
from using the virtual_uid_maps but that did not help either.

--

Example config:

main.cf:
virtual_alias_maps = hash:/etc/postfix/virtual_aliases

cat /etc/postfix/virtual_aliases
testACCOUNT real_internal_username

This configuration works fine and I receive the message sent to testACCOUNT
to the address its supposed to send it to locally when it is NOT
whitelisted.

However, when I add the following to my smtpd_recipient_restrictions:

smtpd_recipient_restrictions =
permit_mynetworks,
reject_unauth_destination,
check_recipient_access = hash:/etc/postfix/virtual_aliases_whitelist


Then restart postfix and try to send to that address, I get:
451 4.3.5 Server configuration error (in reply to RCPT TO command)

cat /etc/postfix/virtual_aliases_whitelist
testACCOUNT OK

What would be the best approach to obtain such functionality? Or should/is
it necessary to either create the users locally or create them virtually and
then everything will work?

Justin.



© 2004-2008 readlist.com