Postfix receives email but doesn't send [new to server management] The 2019 Stack Overflow...

How many cones with angle theta can I pack into the unit sphere?

What is the padding with red substance inside of steak packaging?

Why are PDP-7-style microprogrammed instructions out of vogue?

How to handle characters who are more educated than the author?

Word to describe a time interval

Can each chord in a progression create its own key?

How do I design a circuit to convert a 100 mV and 50 Hz sine wave to a square wave?

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

What information about me do stores get via my credit card?

Is there a writing software that you can sort scenes like slides in PowerPoint?

Can we generate random numbers using irrational numbers like π and e?

Why doesn't shell automatically fix "useless use of cat"?

Working through the single responsibility principle (SRP) in Python when calls are expensive

What can I do if neighbor is blocking my solar panels intentionally?

Single author papers against my advisor's will?

Fixing different display colors within string

How to read αἱμύλιος or when to aspirate

Can the DM override racial traits?

Do working physicists consider Newtonian mechanics to be "falsified"?

Mortgage adviser recommends a longer term than necessary combined with overpayments

"is" operation returns false even though two objects have same id

Sub-subscripts in strings cause different spacings than subscripts

60's-70's movie: home appliances revolting against the owners

One-dimensional Japanese puzzle



Postfix receives email but doesn't send [new to server management]



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Postfix: How do I Make Email Aliases Work?Postfix rejects all incoming mail (Client host rejected: Access denied)SquirrelMail inbox blank, emails not being stored correctlyPostfix and MailmanPOSTFIX fatal: no SASL authentication mechanismsPostfix: Reject reject_unknown_recipient_domain and receive instant email notificationPostfix alias only forwarding to local usersPostfix Centos7Status=bounced unknown user “xxxx”cant send an email to host mailserver via postfix





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















As the title suggest, I'm struggling to get the mail server to send emails.



I recently purchased a VPS for hosting and I'm currently trying to set up the mail server which can now receive emails but still not send them.



This is my postfix main.cf:



# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
# fresh installs.
compatibility_level = 2

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = mail.aperturedesigns.uk
alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, localhost.localdomain, localhost.localdomain, , localhost
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.1.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
mydomain = aperturedesigns.uk
virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains
virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
virtual_mailbox_maps = , hash:/var/spool/postfix/plesk/vmailbox
transport_maps = , hash:/var/spool/postfix/plesk/transport
smtpd_tls_security_level = may
smtp_tls_security_level = may
smtp_use_tls = no
smtpd_timeout = 3600s
smtpd_proxy_timeout = 3600s
disable_vrfy_command = yes
smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated
authorized_flush_users =
authorized_mailq_users =
smtp_send_xforward_command = yes
smtpd_authorized_xforward_hosts = 127.0.0.0/8 [::1]/128
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
virtual_mailbox_base = /var/qmail/mailnames
virtual_uid_maps = static:30
virtual_gid_maps = static:31
smtpd_milters = , inet:127.0.0.1:12768
sender_dependent_default_transport_maps = hash:/var/spool/postfix/plesk/sdd_transport_maps
virtual_transport = plesk_virtual
plesk_virtual_destination_recipient_limit = 1
mailman_destination_recipient_limit = 1
message_size_limit = 10240000
virtual_mailbox_limit = 0
recipient_canonical_maps = tcp:127.0.0.1:12346
recipient_canonical_classes = envelope_recipient,header_recipient
smtpd_tls_ciphers = medium
smtpd_tls_mandatory_ciphers = medium
tls_medium_cipherlist = HIGH:!aNULL:!MD5
smtpd_tls_mandatory_protocols = TLSv1 TLSv1.1 TLSv1.2
smtpd_tls_protocols = TLSv1 TLSv1.1 TLSv1.2


Bearing in mind I am extremely new to server management and probably should learn a bit more before attempting a task like this, does anyone have an idea what I might have done wrong?



TIA









share







New contributor




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



























    0















    As the title suggest, I'm struggling to get the mail server to send emails.



    I recently purchased a VPS for hosting and I'm currently trying to set up the mail server which can now receive emails but still not send them.



    This is my postfix main.cf:



    # See /usr/share/postfix/main.cf.dist for a commented, more complete version


    # Debian specific: Specifying a file name will cause the first
    # line of that file to be used as the name. The Debian default
    # is /etc/mailname.
    #myorigin = /etc/mailname

    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    biff = no

    # appending .domain is the MUA's job.
    append_dot_mydomain = no

    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h

    readme_directory = no

    # See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
    # fresh installs.
    compatibility_level = 2

    # TLS parameters
    smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
    smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.

    smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
    myhostname = mail.aperturedesigns.uk
    alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination = $myhostname, localhost.localdomain, localhost.localdomain, , localhost
    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.1.0/24
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all
    mydomain = aperturedesigns.uk
    virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains
    virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
    virtual_mailbox_maps = , hash:/var/spool/postfix/plesk/vmailbox
    transport_maps = , hash:/var/spool/postfix/plesk/transport
    smtpd_tls_security_level = may
    smtp_tls_security_level = may
    smtp_use_tls = no
    smtpd_timeout = 3600s
    smtpd_proxy_timeout = 3600s
    disable_vrfy_command = yes
    smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated
    smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated
    authorized_flush_users =
    authorized_mailq_users =
    smtp_send_xforward_command = yes
    smtpd_authorized_xforward_hosts = 127.0.0.0/8 [::1]/128
    smtpd_sasl_auth_enable = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    virtual_mailbox_base = /var/qmail/mailnames
    virtual_uid_maps = static:30
    virtual_gid_maps = static:31
    smtpd_milters = , inet:127.0.0.1:12768
    sender_dependent_default_transport_maps = hash:/var/spool/postfix/plesk/sdd_transport_maps
    virtual_transport = plesk_virtual
    plesk_virtual_destination_recipient_limit = 1
    mailman_destination_recipient_limit = 1
    message_size_limit = 10240000
    virtual_mailbox_limit = 0
    recipient_canonical_maps = tcp:127.0.0.1:12346
    recipient_canonical_classes = envelope_recipient,header_recipient
    smtpd_tls_ciphers = medium
    smtpd_tls_mandatory_ciphers = medium
    tls_medium_cipherlist = HIGH:!aNULL:!MD5
    smtpd_tls_mandatory_protocols = TLSv1 TLSv1.1 TLSv1.2
    smtpd_tls_protocols = TLSv1 TLSv1.1 TLSv1.2


    Bearing in mind I am extremely new to server management and probably should learn a bit more before attempting a task like this, does anyone have an idea what I might have done wrong?



    TIA









    share







    New contributor




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























      0












      0








      0








      As the title suggest, I'm struggling to get the mail server to send emails.



      I recently purchased a VPS for hosting and I'm currently trying to set up the mail server which can now receive emails but still not send them.



      This is my postfix main.cf:



      # See /usr/share/postfix/main.cf.dist for a commented, more complete version


      # Debian specific: Specifying a file name will cause the first
      # line of that file to be used as the name. The Debian default
      # is /etc/mailname.
      #myorigin = /etc/mailname

      smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
      biff = no

      # appending .domain is the MUA's job.
      append_dot_mydomain = no

      # Uncomment the next line to generate "delayed mail" warnings
      #delay_warning_time = 4h

      readme_directory = no

      # See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
      # fresh installs.
      compatibility_level = 2

      # TLS parameters
      smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
      smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
      smtpd_use_tls = yes
      smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
      smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

      # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
      # information on enabling SSL in the smtp client.

      smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
      myhostname = mail.aperturedesigns.uk
      alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
      alias_database = hash:/etc/aliases
      myorigin = /etc/mailname
      mydestination = $myhostname, localhost.localdomain, localhost.localdomain, , localhost
      mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.1.0/24
      mailbox_size_limit = 0
      recipient_delimiter = +
      inet_interfaces = all
      inet_protocols = all
      mydomain = aperturedesigns.uk
      virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains
      virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
      virtual_mailbox_maps = , hash:/var/spool/postfix/plesk/vmailbox
      transport_maps = , hash:/var/spool/postfix/plesk/transport
      smtpd_tls_security_level = may
      smtp_tls_security_level = may
      smtp_use_tls = no
      smtpd_timeout = 3600s
      smtpd_proxy_timeout = 3600s
      disable_vrfy_command = yes
      smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated
      smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated
      authorized_flush_users =
      authorized_mailq_users =
      smtp_send_xforward_command = yes
      smtpd_authorized_xforward_hosts = 127.0.0.0/8 [::1]/128
      smtpd_sasl_auth_enable = yes
      smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
      virtual_mailbox_base = /var/qmail/mailnames
      virtual_uid_maps = static:30
      virtual_gid_maps = static:31
      smtpd_milters = , inet:127.0.0.1:12768
      sender_dependent_default_transport_maps = hash:/var/spool/postfix/plesk/sdd_transport_maps
      virtual_transport = plesk_virtual
      plesk_virtual_destination_recipient_limit = 1
      mailman_destination_recipient_limit = 1
      message_size_limit = 10240000
      virtual_mailbox_limit = 0
      recipient_canonical_maps = tcp:127.0.0.1:12346
      recipient_canonical_classes = envelope_recipient,header_recipient
      smtpd_tls_ciphers = medium
      smtpd_tls_mandatory_ciphers = medium
      tls_medium_cipherlist = HIGH:!aNULL:!MD5
      smtpd_tls_mandatory_protocols = TLSv1 TLSv1.1 TLSv1.2
      smtpd_tls_protocols = TLSv1 TLSv1.1 TLSv1.2


      Bearing in mind I am extremely new to server management and probably should learn a bit more before attempting a task like this, does anyone have an idea what I might have done wrong?



      TIA









      share







      New contributor




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












      As the title suggest, I'm struggling to get the mail server to send emails.



      I recently purchased a VPS for hosting and I'm currently trying to set up the mail server which can now receive emails but still not send them.



      This is my postfix main.cf:



      # See /usr/share/postfix/main.cf.dist for a commented, more complete version


      # Debian specific: Specifying a file name will cause the first
      # line of that file to be used as the name. The Debian default
      # is /etc/mailname.
      #myorigin = /etc/mailname

      smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
      biff = no

      # appending .domain is the MUA's job.
      append_dot_mydomain = no

      # Uncomment the next line to generate "delayed mail" warnings
      #delay_warning_time = 4h

      readme_directory = no

      # See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
      # fresh installs.
      compatibility_level = 2

      # TLS parameters
      smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
      smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
      smtpd_use_tls = yes
      smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
      smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

      # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
      # information on enabling SSL in the smtp client.

      smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
      myhostname = mail.aperturedesigns.uk
      alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
      alias_database = hash:/etc/aliases
      myorigin = /etc/mailname
      mydestination = $myhostname, localhost.localdomain, localhost.localdomain, , localhost
      mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.1.0/24
      mailbox_size_limit = 0
      recipient_delimiter = +
      inet_interfaces = all
      inet_protocols = all
      mydomain = aperturedesigns.uk
      virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains
      virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
      virtual_mailbox_maps = , hash:/var/spool/postfix/plesk/vmailbox
      transport_maps = , hash:/var/spool/postfix/plesk/transport
      smtpd_tls_security_level = may
      smtp_tls_security_level = may
      smtp_use_tls = no
      smtpd_timeout = 3600s
      smtpd_proxy_timeout = 3600s
      disable_vrfy_command = yes
      smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated
      smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated
      authorized_flush_users =
      authorized_mailq_users =
      smtp_send_xforward_command = yes
      smtpd_authorized_xforward_hosts = 127.0.0.0/8 [::1]/128
      smtpd_sasl_auth_enable = yes
      smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
      virtual_mailbox_base = /var/qmail/mailnames
      virtual_uid_maps = static:30
      virtual_gid_maps = static:31
      smtpd_milters = , inet:127.0.0.1:12768
      sender_dependent_default_transport_maps = hash:/var/spool/postfix/plesk/sdd_transport_maps
      virtual_transport = plesk_virtual
      plesk_virtual_destination_recipient_limit = 1
      mailman_destination_recipient_limit = 1
      message_size_limit = 10240000
      virtual_mailbox_limit = 0
      recipient_canonical_maps = tcp:127.0.0.1:12346
      recipient_canonical_classes = envelope_recipient,header_recipient
      smtpd_tls_ciphers = medium
      smtpd_tls_mandatory_ciphers = medium
      tls_medium_cipherlist = HIGH:!aNULL:!MD5
      smtpd_tls_mandatory_protocols = TLSv1 TLSv1.1 TLSv1.2
      smtpd_tls_protocols = TLSv1 TLSv1.1 TLSv1.2


      Bearing in mind I am extremely new to server management and probably should learn a bit more before attempting a task like this, does anyone have an idea what I might have done wrong?



      TIA







      ubuntu email postfix email-server plesk





      share







      New contributor




      MartynMc 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




      MartynMc 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




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









      asked 8 mins ago









      MartynMcMartynMc

      1




      1




      New contributor




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





      New contributor





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






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






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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
          });


          }
          });






          MartynMc 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%2fserverfault.com%2fquestions%2f962871%2fpostfix-receives-email-but-doesnt-send-new-to-server-management%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








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










          draft saved

          draft discarded


















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













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












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
















          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f962871%2fpostfix-receives-email-but-doesnt-send-new-to-server-management%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          117736 Шеррод Примітки | Див. також | Посилання | Навігаційне...

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Маріан Котлеба Зміст Життєпис | Політичні погляди |...