Angky wrote:

> Ada yang tahu pemecahan masalah ini ?
>
> Feb  3 10:34:26 MX1 postfix/smtpd[25685]: NOQUEUE: reject: RCPT from
> unknown[81.x.x.x]: 504 <lune>: Helo command rejected: need
> fully-qualified hostname; from=<[EMAIL PROTECTED]>
> to=<[EMAIL PROTECTED]> proto=SMTP helo=<lune>

 Ini karena restriksi reject_non_fqdn_hostname

> Apakah dengan option ini dapat teratasi?
>
> smtpd_sender_restrictions = hash:/etc/postfix/access
>
> /etc/postfix/access
> domainku.com OK

Jangan melakukan ini, saya bisa salah gunakan dengan mengirim spam
dari sender domainku.com :-) karena hasil evaluasinya selalu true...

> karena saya ingin mempertahankan hal ini
>
> smtpd_helo_required = yes
> smtpd_sender_restrictions = regexp:/etc/postfix/forbid_from,
>         reject_unauth_pipelining, permit_mynetworks,
> reject_unauth_destination,
>         reject_non_fqdn_sender

User the order luke :-)

smtpd_helo_required = yes
smtpd_recipient_restrictions =
    regexp:/etc/postfix/forbid_from
    reject_unauth_pipelining
    permit_mynetworks
    reject_unauth_destination
    check_client_access hash:/etc/postfix/client_checks
    reject_non_fqdn_sender
    reject_non_fqdn_hostname
    ...(dst)

/etc/postfix/client_checks:
81.x.x.x    OK

Rgds,
Asfihani

Reply via email to