This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

I can't send email, but i'm receive
#1
I can't send email, but i'm receive
Hi guys, i'm testing the Sentora on my Ubuntu VPS, but I have a problem to send emails, when I try to send something, always returns the following error.


Code:
This is the mail system at host painel.raposa.ninja.

####################################################################
# THIS IS A WARNING ONLY.  YOU DO NOT NEED TO RESEND YOUR MESSAGE. #
####################################################################

Your message could not be delivered for more than 4 hour(s).
It will be retried until it is 5 day(s) old.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                  The mail system

<cristian.y.yano@gmail.com>: connect to
   alt2.gmail-smtp-in.l.google.com[2a00:1450:400b:c03::1b]:25: Network is
   unreachable
Reporting-MTA: dns; painel.raposa.ninja
X-Postfix-Queue-ID: D497DC30E6
X-Postfix-Sender: rfc822; contato@raposa.ninja
Arrival-Date: Sat, 24 Sep 2016 16:46:18 -0300 (BRT)

Final-Recipient: rfc822; cristian.y.yano@gmail.com
Original-Recipient: rfc822;cristian.y.yano@gmail.com
Action: delayed
Status: 4.4.1
Diagnostic-Code: X-Postfix; connect to
   alt2.gmail-smtp-in.l.google.com[2a00:1450:400b:c03::1b]:25: Network is
   unreachable
Will-Retry-Until: Thu, 29 Sep 2016 16:46:18 -0300 (BRT)
Return-Path: <contato@raposa.ninja>
Received: from painel.raposa.ninja (localhost [127.0.0.1])
    by painel.raposa.ninja (Postfix) with ESMTPA id D497DC30E6
    for <cristian.y.yano@gmail.com>; Sat, 24 Sep 2016 16:46:18 -0300 (BRT)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="=_e85195d31df1f8de85deb4d584fa8e25"
Date: Sat, 24 Sep 2016 16:46:18 -0300
From: contato@raposa.ninja
To: cristian.y.yano@gmail.com
Subject: asd
Message-ID: <9ed7d427fc1857a22f833ff0f8360486@raposa.ninja>
X-Sender: contato@raposa.ninja
User-Agent: Roundcube Webmail/1.0.4


How can I fix this problem?

main.cf

Code:
# postfix config file

# uncomment for debugging if needed
soft_bounce=yes

# postfix main
mail_owner = postfix
setgid_group = postdrop
delay_warning_time = 4

# postfix paths
html_directory = no
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.2/samples
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES

# network settings
inet_interfaces = all
mydomain = painel.raposa.ninja
myhostname = painel.raposa.ninja
mynetworks = 127.0.0.1, 45.55.250.237
mydestination = localhost.$mydomain, localhost
relay_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-relay_domains_maps.cf

# mail delivery
recipient_delimiter = +

# mappings
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
#transport_maps
= hash:/etc/postfix/transport
#local_recipient_maps
=

# virtual setup
virtual_alias_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf,
                    regexp:/etc/sentora/configs/postfix/virtual_regexp
virtual_mailbox_base = /var/sentora/vmail
virtual_mailbox_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_mailbox_maps.cf
virtual_minimum_uid = 999
virtual_uid_maps = static:999
virtual_gid_maps = static:8
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1

# debugging
debug_peer_level = 2
debugger_command =
        PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
        xxgdb $daemon_directory/$process_name $process_id & sleep 5

# authentication
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth


# tls config
smtp_use_tls = no
smtpd_use_tls = no
#smtp_tls_note_starttls_offer
= yes
#smtpd_tls_loglevel
= 1
#smtpd_tls_received_header
= yes
#smtpd_tls_session_cache_timeout
= 3600s
#tls_random_source
= dev:/dev/urandom
#smtp_tls_session_cache_database
= btree:$data_directory/smtp_tls_session_cache
# Change mail.example.com.* to your host name
#smtpd_tls_key_file
= /etc/pki/tls/private/mail.example.com.key
#smtpd_tls_cert_file
= /etc/pki/tls/certs/mail.example.com.crt
# smtpd_tls_CAfile = /etc/pki/tls/root.crt

# rules restrictions
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,
       permit_mynetworks,
       reject_unauth_destination,
       reject_non_fqdn_sender,
       reject_non_fqdn_recipient,
       reject_unknown_recipient_domain
# uncomment for realtime black list checks. (Warn: will also reject false positive)
#       ,reject_rbl_client zen.spamhaus.org
#       ,reject_rbl_client bl.spamcop.net
#       ,reject_rbl_client dnsbl.sorbs.net

smtpd_helo_required = yes
unknown_local_recipient_reject_code = 550
disable_vrfy_command = yes
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_banner = $myhostname ESMTP

message_size_limit = 20480000
Reply
Thanks given by:
#2
RE: I can't send email, but i'm receive
what is the issue?
why to try to send via google and not you own smtp server
Reply
Thanks given by:
#3
RE: I can't send email, but i'm receive
(09-26-2016, 09:25 AM)YanoLoL Wrote: Hi guys, i'm testing the Sentora on my Ubuntu VPS, but I have a problem to send emails, when I try to send something, always returns the following error.


Code:
This is the mail system at host painel.raposa.ninja.

####################################################################
# THIS IS A WARNING ONLY.  YOU DO NOT NEED TO RESEND YOUR MESSAGE. #
####################################################################

Your message could not be delivered for more than 4 hour(s).
It will be retried until it is 5 day(s) old.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                  The mail system

<cristian.y.yano@gmail.com>: connect to
   alt2.gmail-smtp-in.l.google.com[2a00:1450:400b:c03::1b]:25: Network is
   unreachable
Reporting-MTA: dns; painel.raposa.ninja
X-Postfix-Queue-ID: D497DC30E6
X-Postfix-Sender: rfc822; contato@raposa.ninja
Arrival-Date: Sat, 24 Sep 2016 16:46:18 -0300 (BRT)

Final-Recipient: rfc822; cristian.y.yano@gmail.com
Original-Recipient: rfc822;cristian.y.yano@gmail.com
Action: delayed
Status: 4.4.1
Diagnostic-Code: X-Postfix; connect to
   alt2.gmail-smtp-in.l.google.com[2a00:1450:400b:c03::1b]:25: Network is
   unreachable
Will-Retry-Until: Thu, 29 Sep 2016 16:46:18 -0300 (BRT)
Return-Path: <contato@raposa.ninja>
Received: from painel.raposa.ninja (localhost [127.0.0.1])
    by painel.raposa.ninja (Postfix) with ESMTPA id D497DC30E6
    for <cristian.y.yano@gmail.com>; Sat, 24 Sep 2016 16:46:18 -0300 (BRT)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="=_e85195d31df1f8de85deb4d584fa8e25"
Date: Sat, 24 Sep 2016 16:46:18 -0300
From: contato@raposa.ninja
To: cristian.y.yano@gmail.com
Subject: asd
Message-ID: <9ed7d427fc1857a22f833ff0f8360486@raposa.ninja>
X-Sender: contato@raposa.ninja
User-Agent: Roundcube Webmail/1.0.4


How can I fix this problem?

main.cf

Code:
# postfix config file

# uncomment for debugging if needed
soft_bounce=yes

# postfix main
mail_owner = postfix
setgid_group = postdrop
delay_warning_time = 4

# postfix paths
html_directory = no
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.2/samples
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES

# network settings
inet_interfaces = all
mydomain = painel.raposa.ninja
myhostname = painel.raposa.ninja
mynetworks = 127.0.0.1, 45.55.250.237
mydestination = localhost.$mydomain, localhost
relay_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-relay_domains_maps.cf

# mail delivery
recipient_delimiter = +

# mappings
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
#transport_maps
= hash:/etc/postfix/transport
#local_recipient_maps
=

# virtual setup
virtual_alias_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf,
                    regexp:/etc/sentora/configs/postfix/virtual_regexp
virtual_mailbox_base = /var/sentora/vmail
virtual_mailbox_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_mailbox_maps.cf
virtual_minimum_uid = 999
virtual_uid_maps = static:999
virtual_gid_maps = static:8
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1

# debugging
debug_peer_level = 2
debugger_command =
        PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
        xxgdb $daemon_directory/$process_name $process_id & sleep 5

# authentication
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth


# tls config
smtp_use_tls = no
smtpd_use_tls = no
#smtp_tls_note_starttls_offer
= yes
#smtpd_tls_loglevel
= 1
#smtpd_tls_received_header
= yes
#smtpd_tls_session_cache_timeout
= 3600s
#tls_random_source
= dev:/dev/urandom
#smtp_tls_session_cache_database
= btree:$data_directory/smtp_tls_session_cache
# Change mail.example.com.* to your host name
#smtpd_tls_key_file
= /etc/pki/tls/private/mail.example.com.key
#smtpd_tls_cert_file
= /etc/pki/tls/certs/mail.example.com.crt
# smtpd_tls_CAfile = /etc/pki/tls/root.crt

# rules restrictions
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,
       permit_mynetworks,
       reject_unauth_destination,
       reject_non_fqdn_sender,
       reject_non_fqdn_recipient,
       reject_unknown_recipient_domain
# uncomment for realtime black list checks. (Warn: will also reject false positive)
#       ,reject_rbl_client zen.spamhaus.org
#       ,reject_rbl_client bl.spamcop.net
#       ,reject_rbl_client dnsbl.sorbs.net

smtpd_helo_required = yes
unknown_local_recipient_reject_code = 550
disable_vrfy_command = yes
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_banner = $myhostname ESMTP

message_size_limit = 20480000


did you fix this issue please
Reply
Thanks given by:
#4
RE: I can't send email, but i'm receive
(09-26-2016, 09:25 AM)Hi! Wrote: Hi!


I have the same problem...

Did you fix this issue?


YanoLoLHi guys, i'm testing the Sentora on my Ubuntu VPS, but I have a problem to send emails, when I try to send something, always returns the following error.


Code:
This is the mail system at host painel.raposa.ninja.

####################################################################
# THIS IS A WARNING ONLY.  YOU DO NOT NEED TO RESEND YOUR MESSAGE. #
####################################################################

Your message could not be delivered for more than 4 hour(s).
It will be retried until it is 5 day(s) old.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                  The mail system

<cristian.y.yano@gmail.com>: connect to
   alt2.gmail-smtp-in.l.google.com[2a00:1450:400b:c03::1b]:25: Network is
   unreachable
Reporting-MTA: dns; painel.raposa.ninja
X-Postfix-Queue-ID: D497DC30E6
X-Postfix-Sender: rfc822; contato@raposa.ninja
Arrival-Date: Sat, 24 Sep 2016 16:46:18 -0300 (BRT)

Final-Recipient: rfc822; cristian.y.yano@gmail.com
Original-Recipient: rfc822;cristian.y.yano@gmail.com
Action: delayed
Status: 4.4.1
Diagnostic-Code: X-Postfix; connect to
   alt2.gmail-smtp-in.l.google.com[2a00:1450:400b:c03::1b]:25: Network is
   unreachable
Will-Retry-Until: Thu, 29 Sep 2016 16:46:18 -0300 (BRT)
Return-Path: <contato@raposa.ninja>
Received: from painel.raposa.ninja (localhost [127.0.0.1])
    by painel.raposa.ninja (Postfix) with ESMTPA id D497DC30E6
    for <cristian.y.yano@gmail.com>; Sat, 24 Sep 2016 16:46:18 -0300 (BRT)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="=_e85195d31df1f8de85deb4d584fa8e25"
Date: Sat, 24 Sep 2016 16:46:18 -0300
From: contato@raposa.ninja
To: cristian.y.yano@gmail.com
Subject: asd
Message-ID: <9ed7d427fc1857a22f833ff0f8360486@raposa.ninja>
X-Sender: contato@raposa.ninja
User-Agent: Roundcube Webmail/1.0.4


How can I fix this problem?

main.cf

Code:
# postfix config file

# uncomment for debugging if needed
soft_bounce=yes

# postfix main
mail_owner = postfix
setgid_group = postdrop
delay_warning_time = 4

# postfix paths
html_directory = no
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.2/samples
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES

# network settings
inet_interfaces = all
mydomain = painel.raposa.ninja
myhostname = painel.raposa.ninja
mynetworks = 127.0.0.1, 45.55.250.237
mydestination = localhost.$mydomain, localhost
relay_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-relay_domains_maps.cf

# mail delivery
recipient_delimiter = +

# mappings
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
#transport_maps
= hash:/etc/postfix/transport
#local_recipient_maps
=

# virtual setup
virtual_alias_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf,
                    regexp:/etc/sentora/configs/postfix/virtual_regexp
virtual_mailbox_base = /var/sentora/vmail
virtual_mailbox_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_mailbox_maps.cf
virtual_minimum_uid = 999
virtual_uid_maps = static:999
virtual_gid_maps = static:8
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1

# debugging
debug_peer_level = 2
debugger_command =
        PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
        xxgdb $daemon_directory/$process_name $process_id & sleep 5

# authentication
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth


# tls config
smtp_use_tls = no
smtpd_use_tls = no
#smtp_tls_note_starttls_offer
= yes
#smtpd_tls_loglevel
= 1
#smtpd_tls_received_header
= yes
#smtpd_tls_session_cache_timeout
= 3600s
#tls_random_source
= dev:/dev/urandom
#smtp_tls_session_cache_database
= btree:$data_directory/smtp_tls_session_cache
# Change mail.example.com.* to your host name
#smtpd_tls_key_file
= /etc/pki/tls/private/mail.example.com.key
#smtpd_tls_cert_file
= /etc/pki/tls/certs/mail.example.com.crt
# smtpd_tls_CAfile = /etc/pki/tls/root.crt

# rules restrictions
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,
       permit_mynetworks,
       reject_unauth_destination,
       reject_non_fqdn_sender,
       reject_non_fqdn_recipient,
       reject_unknown_recipient_domain
# uncomment for realtime black list checks. (Warn: will also reject false positive)
#       ,reject_rbl_client zen.spamhaus.org
#       ,reject_rbl_client bl.spamcop.net
#       ,reject_rbl_client dnsbl.sorbs.net

smtpd_helo_required = yes
unknown_local_recipient_reject_code = 550
disable_vrfy_command = yes
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_banner = $myhostname ESMTP

message_size_limit = 20480000
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Email has suddenly stopped coming through rsthomas 4 4 ,679 10-12-2022, 09:29 PM
Last Post: rsthomas
Why can i not send emails from my site phabeon8 3 6 ,381 04-20-2021, 06:29 AM
Last Post: sparkrack
Webmail Send / Receive works but Outlook doesn't | Digital Ocean dipakcg 12 33 ,857 04-17-2020, 04:52 PM
Last Post: iraqiboy90

Forum Jump:


Users browsing this thread: 1 Guest(s)