I can't send email via my own Postfix anymore due to enforced restrictions that I made

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Until recently my server with Postfix has worked well. Then I enforced some restrictions to a) combat spam b) disable sending emails to me on behalf on my own name.



And now I can't send email via my own postfix server.



 Client host rejected: cannot find your reverse hostname, [<my ip here>]


Note that I carry my laptot to different places and countries, and connect to WiFi from those. And I want to be able to send email always.



Here's a part of my config of Postfix. For database of the accounts and domains I use Postgresql.



smtpd_helo_required = yes

smtpd_client_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unknown_reverse_client_hostname,

reject_unknown_client_hostname,
reject_unauth_pipelining

smtpd_helo_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_helo_hostname,

### reject_non_fqdn_helo_hostname,
reject_unauth_pipelining

smtpd_sender_restrictions =
permit_mynetworks,
reject_sender_login_mismatch,
permit_sasl_authenticated,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_unauth_pipelining

smtpd_relay_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,

reject_unauth_destination


smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unauth_pipelining

smtpd_data_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_multi_recipient_bounce,
reject_unauth_pipelining

# deliver mail for virtual users to Dovecot's LMTP socket
virtual_transport = lmtp:unix:private/dovecot-lmtp

# query to find which domains we accept mail for
virtual_mailbox_domains = pgsql:/etc/postfix/virtual_mailbox_domains.cf

# query to find which email addresses we accept mail for
virtual_mailbox_maps = pgsql:/etc/postfix/virtual_mailbox_maps.cf

# query to find a user's email aliases
virtual_alias_maps = pgsql:/etc/postfix/virtual_alias_maps.cf

virtual_alias_domains =
alias_database =
alias_maps =

mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
inet_interfaces = all








share







New contributor




nylypej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    0
    down vote

    favorite












    Until recently my server with Postfix has worked well. Then I enforced some restrictions to a) combat spam b) disable sending emails to me on behalf on my own name.



    And now I can't send email via my own postfix server.



     Client host rejected: cannot find your reverse hostname, [<my ip here>]


    Note that I carry my laptot to different places and countries, and connect to WiFi from those. And I want to be able to send email always.



    Here's a part of my config of Postfix. For database of the accounts and domains I use Postgresql.



    smtpd_helo_required = yes

    smtpd_client_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    reject_unknown_reverse_client_hostname,

    reject_unknown_client_hostname,
    reject_unauth_pipelining

    smtpd_helo_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    reject_invalid_helo_hostname,

    ### reject_non_fqdn_helo_hostname,
    reject_unauth_pipelining

    smtpd_sender_restrictions =
    permit_mynetworks,
    reject_sender_login_mismatch,
    permit_sasl_authenticated,
    reject_non_fqdn_sender,
    reject_unknown_sender_domain,
    reject_unauth_pipelining

    smtpd_relay_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    reject_non_fqdn_recipient,
    reject_unknown_recipient_domain,

    reject_unauth_destination


    smtpd_recipient_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    reject_non_fqdn_recipient,
    reject_unknown_recipient_domain,
    reject_unauth_pipelining

    smtpd_data_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    reject_multi_recipient_bounce,
    reject_unauth_pipelining

    # deliver mail for virtual users to Dovecot's LMTP socket
    virtual_transport = lmtp:unix:private/dovecot-lmtp

    # query to find which domains we accept mail for
    virtual_mailbox_domains = pgsql:/etc/postfix/virtual_mailbox_domains.cf

    # query to find which email addresses we accept mail for
    virtual_mailbox_maps = pgsql:/etc/postfix/virtual_mailbox_maps.cf

    # query to find a user's email aliases
    virtual_alias_maps = pgsql:/etc/postfix/virtual_alias_maps.cf

    virtual_alias_domains =
    alias_database =
    alias_maps =

    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
    inet_interfaces = all








    share







    New contributor




    nylypej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Until recently my server with Postfix has worked well. Then I enforced some restrictions to a) combat spam b) disable sending emails to me on behalf on my own name.



      And now I can't send email via my own postfix server.



       Client host rejected: cannot find your reverse hostname, [<my ip here>]


      Note that I carry my laptot to different places and countries, and connect to WiFi from those. And I want to be able to send email always.



      Here's a part of my config of Postfix. For database of the accounts and domains I use Postgresql.



      smtpd_helo_required = yes

      smtpd_client_restrictions =
      permit_mynetworks,
      permit_sasl_authenticated,
      reject_unknown_reverse_client_hostname,

      reject_unknown_client_hostname,
      reject_unauth_pipelining

      smtpd_helo_restrictions =
      permit_mynetworks,
      permit_sasl_authenticated,
      reject_invalid_helo_hostname,

      ### reject_non_fqdn_helo_hostname,
      reject_unauth_pipelining

      smtpd_sender_restrictions =
      permit_mynetworks,
      reject_sender_login_mismatch,
      permit_sasl_authenticated,
      reject_non_fqdn_sender,
      reject_unknown_sender_domain,
      reject_unauth_pipelining

      smtpd_relay_restrictions =
      permit_mynetworks,
      permit_sasl_authenticated,
      reject_non_fqdn_recipient,
      reject_unknown_recipient_domain,

      reject_unauth_destination


      smtpd_recipient_restrictions =
      permit_mynetworks,
      permit_sasl_authenticated,
      reject_non_fqdn_recipient,
      reject_unknown_recipient_domain,
      reject_unauth_pipelining

      smtpd_data_restrictions =
      permit_mynetworks,
      permit_sasl_authenticated,
      reject_multi_recipient_bounce,
      reject_unauth_pipelining

      # deliver mail for virtual users to Dovecot's LMTP socket
      virtual_transport = lmtp:unix:private/dovecot-lmtp

      # query to find which domains we accept mail for
      virtual_mailbox_domains = pgsql:/etc/postfix/virtual_mailbox_domains.cf

      # query to find which email addresses we accept mail for
      virtual_mailbox_maps = pgsql:/etc/postfix/virtual_mailbox_maps.cf

      # query to find a user's email aliases
      virtual_alias_maps = pgsql:/etc/postfix/virtual_alias_maps.cf

      virtual_alias_domains =
      alias_database =
      alias_maps =

      mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
      inet_interfaces = all








      share







      New contributor




      nylypej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      Until recently my server with Postfix has worked well. Then I enforced some restrictions to a) combat spam b) disable sending emails to me on behalf on my own name.



      And now I can't send email via my own postfix server.



       Client host rejected: cannot find your reverse hostname, [<my ip here>]


      Note that I carry my laptot to different places and countries, and connect to WiFi from those. And I want to be able to send email always.



      Here's a part of my config of Postfix. For database of the accounts and domains I use Postgresql.



      smtpd_helo_required = yes

      smtpd_client_restrictions =
      permit_mynetworks,
      permit_sasl_authenticated,
      reject_unknown_reverse_client_hostname,

      reject_unknown_client_hostname,
      reject_unauth_pipelining

      smtpd_helo_restrictions =
      permit_mynetworks,
      permit_sasl_authenticated,
      reject_invalid_helo_hostname,

      ### reject_non_fqdn_helo_hostname,
      reject_unauth_pipelining

      smtpd_sender_restrictions =
      permit_mynetworks,
      reject_sender_login_mismatch,
      permit_sasl_authenticated,
      reject_non_fqdn_sender,
      reject_unknown_sender_domain,
      reject_unauth_pipelining

      smtpd_relay_restrictions =
      permit_mynetworks,
      permit_sasl_authenticated,
      reject_non_fqdn_recipient,
      reject_unknown_recipient_domain,

      reject_unauth_destination


      smtpd_recipient_restrictions =
      permit_mynetworks,
      permit_sasl_authenticated,
      reject_non_fqdn_recipient,
      reject_unknown_recipient_domain,
      reject_unauth_pipelining

      smtpd_data_restrictions =
      permit_mynetworks,
      permit_sasl_authenticated,
      reject_multi_recipient_bounce,
      reject_unauth_pipelining

      # deliver mail for virtual users to Dovecot's LMTP socket
      virtual_transport = lmtp:unix:private/dovecot-lmtp

      # query to find which domains we accept mail for
      virtual_mailbox_domains = pgsql:/etc/postfix/virtual_mailbox_domains.cf

      # query to find which email addresses we accept mail for
      virtual_mailbox_maps = pgsql:/etc/postfix/virtual_mailbox_maps.cf

      # query to find a user's email aliases
      virtual_alias_maps = pgsql:/etc/postfix/virtual_alias_maps.cf

      virtual_alias_domains =
      alias_database =
      alias_maps =

      mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
      inet_interfaces = all






      linux email postfix





      share







      New contributor




      nylypej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      nylypej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      nylypej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 5 mins ago









      nylypej

      1




      1




      New contributor




      nylypej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      nylypej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      nylypej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          nylypej is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479630%2fi-cant-send-email-via-my-own-postfix-anymore-due-to-enforced-restrictions-that%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          nylypej is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          nylypej is a new contributor. Be nice, and check out our Code of Conduct.












          nylypej is a new contributor. Be nice, and check out our Code of Conduct.











          nylypej is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479630%2fi-cant-send-email-via-my-own-postfix-anymore-due-to-enforced-restrictions-that%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)