Re: Redirect mails to virtual address
- Thanks for the replies.
I forgotten some details in my last mail:
Our current configuration looks like this:
[outter-postfix] (MX, Spamfilter, virus scanner ...) <=> [inner-postfix] (expands the virtual recipients, delivers mails to different internel MTA's) <=> Exchange Server (holds the user mailboxes)
Am Dienstag, 31. Mai 2011, 16:15:38 schrieb /dev/rob0:
> The "right" solution is to have the recipient address checkingWe could not figure out right now how to do that with an Exchange Server as mailstorage.
> process also check for the "full mailbox" condition, or better yet,
> use a check_recipient_access lookup which returns a proper reject
> message for these full mailboxes.
Maybe someone on this list knows how to setup this correct?
> > Now we want to redirect Bounces, send to an external system to oneAs we only redirect the mails and don't drop them, and thats only effects outgoing mail, we would never loose some real mails.
> > of our virtual users.
> This is broken. Although you're rightly thinking about minimizing
> backscatter, you may be causing loss of real mail.
> Please note that what is needed is "postconf -n". It's possible thatDone, i have attached a new output to this mail.
> I missed something relevant in all of that, which I did not attempt
> to read.
> So I guess you are saying it is a virtual ALIAS. Here it failed to beWe don't have this set anywhere, there are no override options, we use virtual aliases here since a few years, without any problem.
> delivered as a virtual MAILBOX. If you have receive_override_options
> set with no_address_mappings, you can't deliver to a virtual alias at
> this point.
> > As we have only virtual domains on thisThis is not an MX host, this is just an internal relay.
> > mailsystem, there is no way to send to a local user.
> > receive_override_options =
> > smtpd_client_restrictions = permit_mynetworks,
> > permit_sasl_authenticated, reject
> (This is not suitable for a MX host.)
> > smtpd_data_restrictions =Here the relevant parts from the config and the maps:
> > smtpd_helo_restrictions =
> > smtpd_recipient_restrictions = check_sender_access
> > hash:/etc/postfix/check_bounce_sender, permit_mynetworks,
> > permit_sasl_authenticated, reject_unauth_destination
> > smtpd_sender_restrictions = mysql:/etc/postfix/mysql-sender_restrictions.cf
> No check_recipient_access lookup exists in the above.
/./ REDIRECT postmaster@...
> What you are telling us is that virtual_alias_maps were not checked,~ # postmap -q postmaster@... mysql:/etc/postfix/mysql-virtual.cf
> but no evidence to that effect was shown.
> > virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cfThats right, as not every virtual user is in the same system. We have a few system accounts, used for bounce back mgmt and more, but thats a rare case.
> boreus.de is found here, in virtual_mailbox_domains
> > virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
> postmaster@... is NOT found here.
> Go back to the right solution, above. Figure out a way to check forAs we didn't found any informations about doing that in the exchange docs or on the net, that seems impossible at the moment :(
> and populate a list of addresses with "full" mailboxes. Then consult
> that list as a check_recipient_access lookup.