مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-18 13:59:47 +00:00
initial commit from appmail
هذا الالتزام موجود في:
5
app/views/help/_header.html.haml
Normal file
5
app/views/help/_header.html.haml
Normal file
@@ -0,0 +1,5 @@
|
||||
.navBar.navBar--secondary
|
||||
%ul
|
||||
%li.navBar__item= link_to "Sending E-Mail", [organization, @server, :help_outgoing], :class => ['navBar__link', active_nav == :outgoing ? 'is-active' : '']
|
||||
%li.navBar__item= link_to "Receiving E-Mail", [organization, @server, :help_incoming], :class => ['navBar__link', active_nav == :incoming ? 'is-active' : '']
|
||||
|
||||
41
app/views/help/incoming.html.haml
Normal file
41
app/views/help/incoming.html.haml
Normal file
@@ -0,0 +1,41 @@
|
||||
- page_title << @server.name
|
||||
- page_title << "Help"
|
||||
- page_title << "Receiving E-Mail"
|
||||
= render 'servers/sidebar', :active_server => @server
|
||||
= render 'servers/header', :active_nav => :help
|
||||
= render 'header', :active_nav => :incoming
|
||||
|
||||
.pageContent.pageContent--compact
|
||||
%h1.pageContent__title Receiving e-mail
|
||||
%h2.pageContent__intro.u-margin
|
||||
This system can handle your incoming e-mail by accepting it from other mail servers and
|
||||
sending it on to your own applications using HTTP or to forward it to other SMTP servers.
|
||||
%p.u-margin.pageContent__helpLink= link_to "Read more about sending e-mails", [organization, @server, :help_outgoing]
|
||||
.u-margin
|
||||
%h2.pageContent__subTitle Forwarding e-mails
|
||||
%p.pageContent__text
|
||||
If you already have a incoming mail server for your domain, you may find the quickest
|
||||
way to get up and running is to simply forward e-mail from that server.
|
||||
You don't need to make any changes to your DNS to do this.
|
||||
%p.pageContent__text
|
||||
Just #{link_to "create an incoming route", [organization, @server, :routes], :class => "u-link"}
|
||||
for the address you want to receive messages for and then you'll be provided with
|
||||
an e-mail address that messages can be forward to. Any message that is received to
|
||||
this address will be treated as if it had been sent directly to the address on the route.
|
||||
%p.pageContent__text
|
||||
The address to forward mail to can be found by clicking on the route and copying the
|
||||
field marked Address from the form.
|
||||
|
||||
.u-margin
|
||||
%h2.pageContent__subTitle Setting your MX records
|
||||
%p.pageContent__text
|
||||
If you don't already have a mail server on your domain, you can simply set your
|
||||
MX records to point to this system. The MX records are shown
|
||||
below and you should add these both as priority 10 in your DNS configuration. Once
|
||||
these have been added successfully they will show with a green tick on your domain list.
|
||||
%dl.pageContent__definitions
|
||||
%dt MX Records
|
||||
%dd
|
||||
- for mx in Postal.config.dns.mx_records
|
||||
%p.pageContent__definitionCode= mx
|
||||
|
||||
60
app/views/help/outgoing.html.haml
Normal file
60
app/views/help/outgoing.html.haml
Normal file
@@ -0,0 +1,60 @@
|
||||
- page_title << @server.name
|
||||
- page_title << "Help"
|
||||
- page_title << "Sending E-Mail"
|
||||
= render 'servers/sidebar', :active_server => @server
|
||||
= render 'servers/header', :active_nav => :help
|
||||
= render 'header', :active_nav => :outgoing
|
||||
.pageContent.pageContent--compact
|
||||
%h1.pageContent__title Sending e-mail
|
||||
%h2.pageContent__intro.u-margin
|
||||
There are a couple of different ways you send outgoing mail through a
|
||||
mail server. These methods are shown below:
|
||||
%p.u-margin.pageContent__helpLink= link_to "Read more about receiving e-mails", [organization, @server, :help_incoming]
|
||||
.u-margin
|
||||
%h2.pageContent__subTitle Important notes
|
||||
%ul.pageContent__list
|
||||
%li
|
||||
E-mails can only be sent from addresses with domains that you have added to mail server or the server's organization.
|
||||
Mail servers can be enabled to send mail from any domain by the administrator.
|
||||
%li
|
||||
If a message cannot be delivered, the system will not send you a bounce message but dispatch a webhook (if you set one up).
|
||||
If a message delivery fails but can be retried, the system will try #{QueuedMessage::MAX_ATTEMPTS} times to deliver it before giving up.
|
||||
.u-margin
|
||||
%h2.pageContent__subTitle Sending using SMTP
|
||||
%p.pageContent__text
|
||||
These instructions explain how to send messages using the SMTP server.
|
||||
|
||||
%dl.pageContent__definitions
|
||||
%dt SMTP Server Address
|
||||
%dd
|
||||
%p.pageContent__definitionCode= Postal.config.dns.smtp_server_hostname
|
||||
%dt Port
|
||||
%dd
|
||||
%p.pageContent__definitionCode 25 or 2525
|
||||
%p.pageContent__definitionText
|
||||
The SMTP service supports STARTTLS if you wish to send messages securely. Be aware that security
|
||||
cannot guaranteed all the way to their final destination.
|
||||
|
||||
%dt Username
|
||||
%dd
|
||||
%p.pageContent__definitionCode= @server.full_permalink
|
||||
%dt Password
|
||||
%dd
|
||||
- if @credentials['SMTP'].present?
|
||||
%p.pageContent__definitionCode
|
||||
= @credentials['SMTP'].first.key
|
||||
%p.pageContent__definitionText= link_to "Create more credentials", [organization, @server, :credentials], :class => "u-link"
|
||||
- else
|
||||
%p.warningBox
|
||||
%b No SMTP credentials created for this server yet.
|
||||
A password can be generated from the #{link_to 'credentials', [:new, organization, @server, :credential], :class => "u-link"}
|
||||
page. Just create a credential with the <b>SMTP</b> type and add a name which suits the place you'll be using the credentials.
|
||||
|
||||
%dt Authentication Methods
|
||||
%dd
|
||||
%p.pageContent__definitionCode PLAIN, LOGIN or CRAM-MD5
|
||||
|
||||
.u-margin
|
||||
%h2.pageContent__subTitle Sending over HTTP using our API
|
||||
%p.pageContent__text
|
||||
For full information about how to use our HTTP API, please #{link_to 'see the documentation', 'https://gopostal.io/~/http-sending', :class => "u-link"}.
|
||||
المرجع في مشكلة جديدة
حظر مستخدم