Re: relay_recipient_maps

Asfihani <asfik-yNEVPA1OLJZWk0Htik3J/[email protected]>
Newsgroups gmane.mail.postfix.user.indonesian
Organization PT. Cakraperdana Proniagatama.
Message-ID <20040527050553.GV8801@nirwana>
On Thu, May 27, 2004 at 11:05:53AM +0700, Wardi wrote:

>   pake domain.com tanpa @ bisa. dari  man 5 access  :
>     domain.tld
>       Matches domain.tld as the domain part of an email
>       address.

Ditempat saya kok tidak berhasil ya:

% cat test2
[email protected] OK
xxx.co.id       REJECT

% postmap test2

% postmap -q [email protected] hash:test2
OK

% postmap -q [email protected] hash:test2

Ada komentar?

> hati2 dgn regex, /@xxx.co.id/ match dengan [email protected] yang
> mungkin domainnya juga masuk dalam auth_destination.

Thanks koreksinya, saya lupa kalau dot itu match semua karakter, jadi
harus di escape seperti ini :

/@xxx\.co\.id/                  REJECT

Test:

% cat test
/[email protected]\.co\.id/             OK
/@xxx\.co\.id/                  REJECT

% postmap -q [email protected] regexp:test
OK

% postmap -q [email protected] regexp:test
REJECT

% postmap -q [email protected] regexp:test
% postmap -q [email protected] regexp:test
%

Salam,

 Asfihani
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.