From: Robin Lynn Frank (no email)
Date: Mon Nov 01 2004 - 14:57:46 EST
On Mon, 2004-11-01 at 11:01, Danilo Montagna - NetworkBrasil wrote:
> Postfix version = 2.1.5
>
> mydestination = $myhostname, $mydomain, $transport_maps
> transport_maps = mysql:/etc/postfix/mysql_transport_maps.cf
> unknown_local_recipient_reject_code = 550
> relay_recipient_maps = $virtual_mailbox_maps
> failback_transport = /ust/bin/maildrop
^^^^^^^^^^ It works better without the typo.
> virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
> virtual_gid_maps = static:108
> virtual_mailbox_base = /postfix
> virtual_mailbox_limit = 25000000
> virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
> virtual_uid_maps = static:108
>
> >Why are your virtual mailbox users in "relay_domains"?
>
> My virtual mailbox users aren't in "relay_domains". My relay control are
> taken by $transport_maps in "mydestination" line. Like you can see above..
>
> If the final destination domain is listed on mysql_transport_maps.cf, then
> the relay will be accepted. If the domain isn't there, they will get a
> "relay access denied" ..
>
> Like I said before, my postfix setup don't have problems.. The only problem
> that a had was to reject unknown mail users..
>
> my environment: postfix+mysql+clamav+maildrop
>
> When an outbound smtp server tried to send a message to unknown users,
> maildrop replies with the error: Invalid user specified.
>
> And a bounce message was sent back to sender.. without success, because
> almost the time the MX destination does not exist.. sure. It is a SPAMMER..
>
> I found on some forums that the problem is because the use of maildrop and
> failback_transport = /ust/bin/maildrop
>
> When I put the option: relay_recipient_maps = $virtual_mailbox_maps
>
> Everything works fine..
>
> Now, when a smtp tries to send a message to an unknown user, my postfix
> replies whit this:
>
> Recipient address rejected: User unknown in local recipient table.
>
> I don't really now if is the best way to solve the problem.. but its works
> fine to me, and the most important is that a solve my problem..
>
> Sorry about my English, I'm trying to get better.
>
> Best Regards,
>
> Danilo.
>
>
>
> > main.cf:
> >
> > relay_recipient_maps = $virtual_mailbox_maps
> >
>
> This is not an explanation. What version of Postfix are you using.
> What is the complete set of explicit main.cf settings ("postconf -n"
> output). Why are your virtual mailbox users in "relay_domains"? It
> looks like you have failed to set "virtual_mailbox_domains" correctly,
> and are avoiding the real problem by enabling relay recipient validation.
-- Robin Lynn Frank Director of Operations Paradigm-Omega, LLC http://www.paradigm-omega.com/ ==================================================================== Spambots are welcome at http://paradigm-omega.net/cgi-bin/custmail.cgi ==================================================================== And they shall beat their swords into plowshares, for if you hit a man with a plowshare, he's going to know he's been hit.
|
|
|