|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: virtual_alias_maps: rewriting outbound
From: mouss (usebsd
free.fr)
Date: Sun Jul 02 2006 - 19:35:57 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Chris McKeever wrote:
> On 7/2/06, mouss <usebsd
free.fr> wrote:
>> Chris McKeever wrote:
>> > Just for clarification on a SMTP session, right during the RCPT TO:
>> > communication, if the address is invalid, it should falg it as such
>> > right then...
>>
>> Yes.
>> >
>> > so, this example against EBAY would not be correct:
>> >
>> > 250 sjciport02.sjc.ebay.com
>> > MAIL FROM: cgmckeever
google.com
>> > 250 sender <cgmckeever
google.com> ok
>> > RCPT TO: cgmckeever
ebay.com
>> > 250 recipient <cgmckeever
ebay.com> ok
>> Yes, they're broken... you won the right to submit them to spamcops...
>
> didnt mean for that too look like 'I am being a retard' as more so an
> real example of communication for clarity - If I looked like a retard,
> sorry..
I simply meant that since you're the one who posted their brokerage,
you're the one to report them. but let's forget.
>
> so - I am getting this now regarding the bounce verse the valid
> recipient...now I am having an issue wiht just getting POSTFIX to
> idntify the invalid recipient.
>
> If I open up a SMTP connection and RCPT TO: an invalid domain
> it flags it as such (this is good)
> if I remove ALL my virtual maps less one, and do a RCPT TO: an invalid
> user
> it still responds OK
>
> looking at:
> (http://www.postfix.org/postconf.5.html#reject_unlisted_recipient)
> * The recipient domain matches $mydestination, $inet_interfaces
> or $proxy_interfaces, but the recipient is not listed in
> $local_recipient_maps, and $local_recipient_maps is not null.
> * The recipient domain matches $virtual_alias_domains but the
> recipient is not listed in $virtual_alias_maps.
> * The recipient domain matches $virtual_mailbox_domains but the
> recipient is not listed in $virtual_mailbox_maps, and
> $virtual_mailbox_maps is not null.
> * The recipient domain matches $relay_domains but the recipient is
> not listed in $relay_recipient_maps, and $relay_recipient_maps is not
> null.
>
>
> it should reject it - so I cant even get a generic rejection not even
> going down the path of all the rewrites...
>
> any thoughts as to where my vlaidation is failing??
>
> postconf -n
> alias_maps = hash:/etc/aliases
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/libexec/postfix
> debug_peer_level = 2
> html_directory = no
> mail_owner = postfix
> mailq_path = /usr/bin/mailq
> manpage_directory = /usr/local/man
> myhostname = mailgate.prupref.com
> mynetworks_style = host
> newaliases_path = /usr/bin/newaliases
> queue_directory = /var/spool/postfix
> readme_directory = no
> sample_directory = /etc/postfix
> sendmail_path = /usr/sbin/sendmail
> setgid_group = postdrop
> unknown_local_recipient_reject_code = 550
> virtual_alias_maps = regexp:/etc/postfix/list-redirect.cf
What's in this regex map? if you ave a wildcard, that's your problem.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]