Results 1 to 6 of 6

Thread: reject email

  1. #1
    Join Date
    Aug 2013
    Beans
    30

    reject email

    How to reject email with not have reverse dns?

    my postfix conf. is:
    Code:
    smtpd_sasl_auth_enable  = yes
    broken_sasl_auth_clients = yes
    smtpd_sasl_type         = dovecot
    smtpd_sasl_path         = private/auth
    mailbox_transport       = dovecot
    disable_vrfy_command    = yes
    smtpd_delay_reject      = yes
    smtpd_helo_required     = yes
    smtpd_sender_restrictions =
                            permit_sasl_authenticated,
                            permit_mynetworks,
                            reject_non_fqdn_sender,
                            reject_unknown_sender_domain,
                            permit
    
    smtpd_recipient_restrictions =
            permit_sasl_authenticated,
            permit_mynetworks,
            reject_non_fqdn_recipient,
            reject_unknown_recipient_domain,
            reject_unauth_destination,
            reject_unauth_pipelining,
            reject_unknown_reverse_client_hostname

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: reject email

    Try
    Code:
    smtpd_client_restrictions = reject_unknown_reverse_client_hostname
    That's a bit more permissive than "reject_unknown_client_hostname". Details here.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    Aug 2013
    Beans
    30

    Re: reject email

    Not working.Still receive message wich no have rdns. In postfix a have this config

  4. #4
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: reject email

    Quote Originally Posted by Bondar_Mircea View Post
    Not working.Still receive message wich no have rdns. In postfix a have this config
    Apologies in advance if this is "obvious" but did you remember to restart postfix after updating its config?
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

  5. #5
    Join Date
    Aug 2013
    Beans
    30

    Re: reject email

    yes..i restarted postfix..

  6. #6
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: reject email

    What do you see in mail.log? When my server encounters senders with IPs that have no reverse resolution, I get an entry like this:

    Code:
    Oct  7 09:41:32 Pikachu postfix/smtpd[11738]: NOQUEUE: reject: CONNECT from unknown[66.35.68.70]: 450 4.7.1 Client host rejected: cannot find your hostname, [66.35.68.70]; proto=SMTP
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •