4 msgForwards vs aliases ?

no content-filter for authed users
\ Stefan Palme (15 Nov 2007)
. \ mouss (15 Nov 2007)
. . \ Stefan Palme (15 Nov 2007)
. . \ Stefan Palme (16 Nov 2007)

2 msgpostfix does not flush queued mails
1 msgRe: [dkim-milter-beta] mlfi_negotiate() problem
2 msgnewby Q
14 msgPAM 'smtp' file question
5 msgCyrus SASL2 + Postfix + PAM - part 3
9 msgtransport error?
3 msgCan't figure out if this rejection is coming fr...
8 msgAlias with check_recipient_access: /etc/ppostfi...
2 msgNDR reports
7 msgSender-ID and the Hotmail devil...
2 msgPostifx with IMAP
2 msgPostfix and procmail
4 msgdestination limits - what is 'destination'
1 msgRedirect message based on Conditions
1 msgCyrus SASL2 + Postfix + PAM - part 2
6 msgCyrus SASL2 + Postfix + PAM
5 msgheader_checks and content_filter documentation ...
2 msgSome problem configuring postfix/procmail with ...
Subject:no content-filter for authed users
Group:Postfix-users
From:Stefan Palme
Date:15 Nov 2007


 

Hi,

currently I have the following setup in main.cf:

content_filter = amavis:[127.0.0.1]:10024
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unauth_destination,
check_policy_service unix:private/postgrey,
permit
smtpd_sasl_auth_enable = yes
...


On 127.0.0.1:10024 is amavis running, which re-injects mails via
127.0.0.1:10025 into the postfix system.


For authenticated users I don't want to use the content-filter:

/etc/postfix/main.cf:
# content-filter = none
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unauth_destination,
check_policy_service unix:private/postgrey,
check_client_access static:FILTER amavis:[127.0.0.1]:10024,
permit

Is this the right way to achieve what I want?


Currently amavis re-injects the checked mails via 127.0.0.1:10025.
I think when I use the above setup omitting the content filter,
those mails still have to be injected to 127.0.0.1:10025. The cleanup
service used for the :25 smtp server does not do virtual_alias_mapping
- this is done by the cleanup-service used for the 10025-smtp server.

So I must "route" the mails which skip content-filtering into
127.0.0.1:10025 to let the second cleanup service do its work.

How to do this?


Thanks and regards
-stefan-





© 2004-2008 readlist.com