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.

1.0.2 1.0.3 postfix fix not work
#11
RE: 1.0.2 1.0.3 postfix fix not work
141.94.79.225 port 25

Code:
systemctl status postfix
● postfix.service - Postfix Mail Transport Agent
   Loaded: loaded (/lib/systemd/system/postfix.service; enabled; vendor preset: enabled)
   Active: active (exited) since Fri 2021-06-11 23:08:01 CEST; 1min 1s ago
  Process: 6762 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 6762 (code=exited, status=0/SUCCESS)

there are no firewalls

iptables -nvL

Code:
Chain INPUT (policy ACCEPT 67 packets, 6267 bytes)
pkts bytes target     prot opt in     out     source               destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination

Chain OUTPUT (policy ACCEPT 70 packets, 7439 bytes)
pkts bytes target     prot opt in     out     source               destination
Reply
Thanks given by:
#12
RE: 1.0.2 1.0.3 postfix fix not work
To fix this, I changed the postfix "master.cf": /etc/postfix/master.cf

Code:

# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - y - - smtpd

I just changed the "y" to a "n", reboot the server (postfix reload didn't seem to work). I was then able to telnet to my server on port 25!

also port 25 maybe blocked by your provider maybe try 465
Reply
Thanks given by:
#13
RE: 1.0.2 1.0.3 postfix fix not work
are you sure you're on sentora

the sentora postfix config her and here

/etc/sentora/configs/postfix/master.cf

the /etc/postfix/master.cf file and a symbolic link that points to /etc/sentora/configs/postfix/master.cf

file /etc/sentora/configs/postfix/master.cf

Code:
#
# Postfix master process configuration file.  For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ***** Unused items removed *****
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
#  -o content_filter=smtp-amavis:127.0.0.1:10024
#  -o receive_override_options=no_address_mappings
pickup    fifo  n       -       n       60      1       pickup
  -o content_filter=
  -o receive_override_options=no_header_body_checks
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       n       300     1       oqmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       n       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       n       -       -       smtp
        -o fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
# ====================================================================
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
#
# spam/virus section
#
smtp-amavis  unix  -    -       y       -       2       smtp
  -o smtp_data_done_timeout=1200
  -o disable_dns_lookups=yes
  -o smtp_send_xforward_command=yes
127.0.0.1:10025 inet n  -       y       -       -       smtpd
  -o content_filter=
  -o smtpd_helo_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o mynetworks=127.0.0.0/8
  -o smtpd_error_sleep_time=0
  -o smtpd_soft_error_limit=1001
  -o smtpd_hard_error_limit=1000
  -o receive_override_options=no_header_body_checks
  -o smtpd_helo_required=no
  -o smtpd_client_restrictions=
  -o smtpd_restriction_classes=
  -o disable_vrfy_command=no
  -o strict_rfc821_envelopes=yes
#
# Dovecot LDA
dovecot   unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail:mail argv=/usr/lib/dovecot/deliver -d ${recipient}
#
# Vacation mail
vacation    unix  -       n       n       -       -       pipe
  flags=Rq user=vacation argv=/var/spool/vacation/vacation.pl -f ${sender} -- ${recipient}

its perfectly matches what and on the github

https://github.com/sentora/sentora-insta.../master.cf
Reply
Thanks given by:
#14
RE: 1.0.2 1.0.3 postfix fix not work
(06-12-2021, 07:24 AM)andykimpe Wrote: are you sure you're on sentora

the sentora postfix config her and here

/etc/sentora/configs/postfix/master.cf

the /etc/postfix/master.cf file and a symbolic link that points to /etc/sentora/configs/postfix/master.cf

file /etc/sentora/configs/postfix/master.cf

Code:
#
# Postfix master process configuration file.  For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ***** Unused items removed *****
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
#  -o content_filter=smtp-amavis:127.0.0.1:10024
#  -o receive_override_options=no_address_mappings
pickup    fifo  n       -       n       60      1       pickup
 -o content_filter=
 -o receive_override_options=no_header_body_checks
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr
    fifo  n       -       n       300     1       oqmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       n       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       n       -       -       smtp
       -o fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
# ====================================================================
maildrop  unix  -       n       n       -       -       pipe
 flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
uucp      unix  -       n       n       -       -       pipe
 flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
 flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
 flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
#
# spam/virus section
#
smtp-amavis  unix  -    -       y       -       2       smtp
 -o smtp_data_done_timeout=1200
 -o disable_dns_lookups=yes
 -o smtp_send_xforward_command=yes
127.0.0.1:10025 inet n  -       y       -       -       smtpd
 -o content_filter=
 -o smtpd_helo_restrictions=
 -o smtpd_sender_restrictions=
 -o smtpd_recipient_restrictions=permit_mynetworks,reject
 -o mynetworks=127.0.0.0/8
 -o smtpd_error_sleep_time=0
 -o smtpd_soft_error_limit=1001
 -o smtpd_hard_error_limit=1000
 -o receive_override_options=no_header_body_checks
 -o smtpd_helo_required=no
 -o smtpd_client_restrictions=
 -o smtpd_restriction_classes=
 -o disable_vrfy_command=no
 -o strict_rfc821_envelopes=yes
#
# Dovecot LDA
dovecot   unix  -       n       n       -       -       pipe
 flags=DRhu user=vmail:mail argv=/usr/lib/dovecot/deliver -d ${recipient}
#
# Vacation mail
vacation    unix  -       n       n       -       -       pipe
 flags=Rq user=vacation argv=/var/spool/vacation/vacation.pl -f ${sender} -- ${recipient}

its perfectly matches what and on the github

https://github.com/sentora/sentora-insta.../master.cf

hi yes im just short coding stuff lol as mines on a virtual server for practice as i run windows so im just trying to follow it

yes i see its correct
 maybe you need to add it
/etc/sentora/configs/postfix/mynetworks  ?

Code:
# This specifies the list of subnets that Postfix considers as
# "trusted" SMTP clients that have more privileges than "strangers".
#
# In particular, "trusted" SMTP clients are allowed to relay mail
# through Postfix.
#
# Be sure to add your public ip address block if needed.
#
176.31.61.0/28
127.0.0.0/8
Reply
Thanks given by:
#15
RE: 1.0.2 1.0.3 postfix fix not work
it is already present with the same content this file
Reply
Thanks given by:
#16
RE: 1.0.2 1.0.3 postfix fix not work
well try different port see if it makes any difference as some providers block port 25
Reply
Thanks given by:
#17
RE: 1.0.2 1.0.3 postfix fix not work
it is not the case of the supplier it is ovh

ovh does not block port 25 it name never made its in 20 years

it's not now that we start

moreover it is a problem of blocking of port even locally it not responds

Code:
telnet localhost 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
Reply
Thanks given by:
#18
RE: 1.0.2 1.0.3 postfix fix not work
(06-12-2021, 08:10 AM)andykimpe Wrote: it is not the case of the supplier it is ovh

ovh does not block port 25 it name never made its in 20 years

it's not now that we start

moreover it is a problem of blocking of port even locally it not responds

Code:
telnet localhost 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

i can ping 141.94.79.225
but connection is refused on 141.94.79.225:25
open on port 22
if i telnet 110 i get +OK Dovecot (Ubuntu) ready.
143 * OK Waiting for authentication process to respond..
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.





but 25 467 587 cant connect refusal so ports closed

sudo ufw allow 465/tcp
sudo ufw allow 25/tcp
sudo ufw allow 587/tcp

220 test-server ESMTP
thats what i get when i telnet my test server

try this put in master.cnf
smtp inet n - n - - smtpd
25 inet n - n - - smtpd
587 inet n - n - - smtpd
465 inet n - n - - smtpd
then run the following commands :

service postfix reload

service postfix restart

netstat -plutn | grep 465
netstat -plutn | grep 25
netstat -plutn | grep 587

root@test-server:~# netstat -plutn | grep 587
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 1836/master
tcp6 0 0 :::587 :::* LISTEN 1836/master
root@test-server:~# netstat -plutn | grep 465
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 1836/master
tcp6 0 0 :::465 :::* LISTEN 1836/master
root@test-server:~# netstat -plutn | grep 25
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 1836/master
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 1836/master
tcp6 0 0 :::25 :::* LISTEN 1836/master

i didn't have listening ports till i added them in master.cnf
Reply
Thanks given by:
#19
RE: 1.0.2 1.0.3 postfix fix not work
but you're stupid I told you who was to deactivate the firewall why you want to make me activate it you your although already in localhost it does not respond if it does not respond in localhost it cannot operate remotely

Code:
sudo ufw disable
sudo iptables -F
sudo iptables -X
sudo iptables -t nat -F
sudo iptables -t nat -X
sudo iptables -t mangle -F
sudo iptables -t mangle -X
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT

and even with all the ports put in postfix it does not work then which returns active day on the status
Reply
Thanks given by:
#20
RE: 1.0.2 1.0.3 postfix fix not work
Quote:but you're stupid I told you who was to deactivate the firewall why you want to make me activate it you your although already in localhost it does not respond if it does not respond in localhost it cannot operate remotely

Code:
Code:
sudo ufw disable
sudo iptables -F
sudo iptables -X
sudo iptables -t nat -F
sudo iptables -t nat -X
sudo iptables -t mangle -F
sudo iptables -t mangle -X
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT

and even with all the ports put in postfix it does not work then which returns active day on the status


well if i'm stupid your on your own no point helping
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Webalizer Stats not work - how to fix it ? domyhost 4 6 ,997 09-22-2024, 02:35 PM
Last Post: TGates
Postfix relay specific domains to mailjet johnnyp 0 2 ,382 01-29-2021, 04:44 AM
Last Post: johnnyp
I changed date and time from server and sentora does not work gabriel15959 1 5 ,169 03-20-2019, 11:52 PM
Last Post: fearworks

Forum Jump:


Users browsing this thread: 2 Guest(s)