Re: relay_recipient_maps

Wardi <[email protected]>
Newsgroups gmane.mail.postfix.user.indonesian
Message-ID <[email protected]>
On Thu, May 27, 2004 at 09:05:31AM +0700, Asfihani wrote:
> Sorry, saya kurang tahu kalau menggunakan hash kenapa key @domain.com
> tidak bisa (ada yang tahu?), 
  pake domain.com tanpa @ bisa. dari  man 5 access  :
    domain.tld
      Matches domain.tld as the domain part of an email
      address.

> alternatifnya bisa menggunakan regexp:
> 
> smtpd_recipient_restrictions =
>     permit_mynetworks
>     reject_unauth_destination
>     check_recipient_access regexp:/etc/postfix/relay_recipients
>     ...
> 
> File /etc/postfix/relay_recipients:
> /[email protected]/      OK
> ...
> # key paling akhir adalah domain ybs, sehingga invalid mailbox bisa
> # langsung ditolak
> /@xxx.co.id/         REJECT

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

> > Tentunya langkah yang paling baik ya upgrade :-)

Wardi
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.