Konfiguracja postfixa - nie wysyła maili

Instalacja i konfiguracja oprogramowania sieciowego.
Awatar użytkownika
dejner
Piegowaty Guziec
Piegowaty Guziec
Posty: 9
Rejestracja: 01 cze 2017, 09:08
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Brak
Architektura: x86_64

Konfiguracja postfixa - nie wysyła maili

Post autor: dejner »

Witam mam o to taki problem, po zainstalowaniu postfixa na ubuntu 16.04 nie tworzy mi się katalog maildir i nie wysyłają się maile. Przechodziłem przez 50 różnych poradników i tutoriali ( nie tylko polskich żeby nie było ) i nadal nic nie pomaga. Sprawa wygląda tak maszyna serwerowa stoi na sieci osiedlowej, maszyna jest podpięta pod ethernet do rutera. Ruter był przywrócony do ustawień fabrycznych więc raczej firefall rutera nie powinien blokować wysyłki. Model rutera to TP-LINK Archer C1200. Jak chodzi o katalog maildir stworzyłem go osobno ale nie działał jako katalog mailowy praktycznie postfix go nie chciał wykryć jako swój katalog. Męczę się nad tym problemem od pół roku i nie potrafię sobie z nim poradzić. Przedstawiałem nawet sprawę innym informatykom i oni też byli bezradni przy moim problemie. Mam nadzieję, że przedstawienie problemu na forum to będzie koniec mojej męczarni. Dokładnie chodzi o to że chcę założyć forum i przy rejestracji ma wysyłać maile potwierdzające rejestrację. Forum będzie zrobione na phpbb.

Dziękuję za każdą pomoc.

Z poważaniem Dejner
Awatar użytkownika
mario_7
Administrator
Administrator
Posty: 8594
Rejestracja: 30 sie 2006, 13:11
Płeć: Mężczyzna
Wersja Ubuntu: 20.04
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: mario_7 »

A w logach na co postfix narzeka?
Awatar użytkownika
dejner
Piegowaty Guziec
Piegowaty Guziec
Posty: 9
Rejestracja: 01 cze 2017, 09:08
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Brak
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: dejner »

Tutaj są logi z pliku mail.log https://pastebin.com/1BuJKSSd, praktycznie do serwera łącze się przez putty bo serwer jest w innej miejscowości u kumpla w domu.
Ten ciąg wyskakuje przy wpisaniu komendy mail i właśnie nie wiem czemu nie tworzy sobie katalogu postfix w tutorialach wszystkim działa normalnie.
Can't canonicalize "/home/serwer/Maildir"
s-nail version v14.8.6. Type ? for help.
There are new messages in the error message ring (denoted by "#ERR#")
The `errors' command manages this message ring
#ERR#?
Możliwe jest że źle coś robię albo źle konfiguruje postfixa, tutaj daje plik main.cf https://pastebin.com/GXK748fW
Ja jestem już bez radny w tej materii robiłem co tylko mogłem a praktycznie chcielibyśmy z kumplem od lipaca ruszyć z forum i ts'em
Awatar użytkownika
mario_7
Administrator
Administrator
Posty: 8594
Rejestracja: 30 sie 2006, 13:11
Płeć: Mężczyzna
Wersja Ubuntu: 20.04
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: mario_7 »

Straszny bajzel...
Zacznij od początku...
Po pierwsze - może nie musisz mieć własnego serwera pocztowego - forum może korzystać z jakiegoś zewnętrznego serwera smtp do wysyłania maili.
Po drugie - jeśli już musisz mieć serwer pocztowy i jedynie do wysyłania maili, to po co ci skrzynki pocztowe?
https://www.digitalocean.com/community/ ... untu-16-04
Awatar użytkownika
dejner
Piegowaty Guziec
Piegowaty Guziec
Posty: 9
Rejestracja: 01 cze 2017, 09:08
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Brak
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: dejner »

Can't canonicalize "/home/serwer/Maildir"
/home/serwer/Maildir/sent: No such file or directory
Failed to save message in "/home/serwer/Maildir/sent" - message not sent
"/home/serwer/dead.letter" 6/115
wyskakuje to przy wysyłaniu maila i teraz pytanie przy instalacji raczej powinny się pliki i katalogi potworzyć wszystkie więc czemu tu się tak nie stało ? korzystałem z poradnika który mario podesłałeś.
Awatar użytkownika
mario_7
Administrator
Administrator
Posty: 8594
Rejestracja: 30 sie 2006, 13:11
Płeć: Mężczyzna
Wersja Ubuntu: 20.04
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: mario_7 »

Pokaż jak wygladają pliki konfiguracyjne postfixa.
Gdzie się takie błędy pokazują?
zajdi10
Piegowaty Guziec
Piegowaty Guziec
Posty: 5
Rejestracja: 11 cze 2017, 14:46
Wersja Ubuntu: 16.04
Środowisko graficzne: Brak
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: zajdi10 »

Witam,

main.cf

Kod: Zaznacz cały

# 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

# 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 = gamescult.eu
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, localhost.$mydomain, $mydomain
relayhost = 
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = loopback-only
inet_protocols = all
master.cf

Kod: Zaznacz cały

#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master" or
# on-line: http://www.postfix.org/master.5.html).
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (no)    (never) (100)
# ==========================================================================
smtp      inet  n       -       y       -       -       smtpd
#smtp      inet  n       -       y       -       1       postscreen
#smtpd     pass  -       -       y       -       -       smtpd
#dnsblog   unix  -       -       y       -       0       dnsblog
#tlsproxy  unix  -       -       y       -       0       tlsproxy
#submission inet n       -       y       -       -       smtpd
#  -o syslog_name=postfix/submission
#  -o smtpd_tls_security_level=encrypt
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_reject_unlisted_recipient=no
#  -o smtpd_client_restrictions=$mua_client_restrictions
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
#  -o smtpd_sender_restrictions=$mua_sender_restrictions
#  -o smtpd_recipient_restrictions=
#  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#smtps     inet  n       -       y       -       -       smtpd
#  -o syslog_name=postfix/smtps
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_reject_unlisted_recipient=no
#  -o smtpd_client_restrictions=$mua_client_restrictions
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
#  -o smtpd_sender_restrictions=$mua_sender_restrictions
#  -o smtpd_recipient_restrictions=
#  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#628       inet  n       -       y       -       -       qmqpd
pickup    unix  n       -       y       60      1       pickup
cleanup   unix  n       -       y       -       0       cleanup
qmgr      unix  n       -       n       300     1       qmgr
#qmgr     unix  n       -       n       300     1       oqmgr
tlsmgr    unix  -       -       y       1000?   1       tlsmgr
rewrite   unix  -       -       y       -       -       trivial-rewrite
bounce    unix  -       -       y       -       0       bounce
defer     unix  -       -       y       -       0       bounce
trace     unix  -       -       y       -       0       bounce
verify    unix  -       -       y       -       1       verify
flush     unix  n       -       y       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       y       -       -       smtp
relay     unix  -       -       y       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       y       -       -       showq
error     unix  -       -       y       -       -       error
retry     unix  -       -       y       -       -       error
discard   unix  -       -       y       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       y       -       -       lmtp
anvil     unix  -       -       y       -       1       anvil
scache    unix  -       -       y       -       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.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
#
# Specify in cyrus.conf:
#   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
#
# Specify in main.cf one or more of the following:
#  mailbox_transport = lmtp:inet:localhost
#  virtual_transport = lmtp:inet:localhost
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus     unix  -       n       n       -       -       pipe
#  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
# Old example of delivery via Cyrus.
#
#old-cyrus unix  -       n       n       -       -       pipe
#  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix	-	n	n	-	2	pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}
Awatar użytkownika
mario_7
Administrator
Administrator
Posty: 8594
Rejestracja: 30 sie 2006, 13:11
Płeć: Mężczyzna
Wersja Ubuntu: 20.04
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: mario_7 »

A co pokazuje te błędy?
Bo wyglądają jakby z IMAP ktoś próbował się połączyć, a nie przez SMTP...
Awatar użytkownika
dejner
Piegowaty Guziec
Piegowaty Guziec
Posty: 9
Rejestracja: 01 cze 2017, 09:08
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Brak
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: dejner »

Dokładnie idąc poradnikiem który podesłałeś gdy mamy step 3, wpisuje to echo "This is the body of the email" | mail -s "This is the subject line" your_email_address i przy tym wyskakują te błędy. Maila testowego wysyłałem do siebie na pocztę onet więc raczej wszystko powinno być dobrze dlatego się dziwie że coś takiego wychodzi.
Awatar użytkownika
mario_7
Administrator
Administrator
Posty: 8594
Rejestracja: 30 sie 2006, 13:11
Płeć: Mężczyzna
Wersja Ubuntu: 20.04
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: mario_7 »

Ok, już wszystko jasne.
Chodzi o sposób konfiguracji postfixa - korzysta z przechowywania maili typu Maildir, co jest trochę dziwne, bo domyślnie powinno być to mbox...

Spróbuj utworzyć katalog o który się upomina: mkdir -p /home/serwer/Maildir/sent

Poczytaj o zmiennej home_mailbox aby skonfigurować sposób przechowywania maili.
Awatar użytkownika
dejner
Piegowaty Guziec
Piegowaty Guziec
Posty: 9
Rejestracja: 01 cze 2017, 09:08
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Brak
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: dejner »

Nic nie dało cały czas wyskakuje ten sam błąd. Uzyłem komendy postfix check i wyskoczyło mi coś takiego

Kod: Zaznacz cały

 postfix: error: to submit mail, use the Postfix sendmail command
  postfix: fatal: the postfix command is reserved for the superuser 
Home_mailbox ustawiłem na maildir z myślą że to pomoże i też nic. Zmieniłem na mailbox i wyskoczyło coś takiego

Kod: Zaznacz cały

/home/serwer/Maildir/sent: File exists
Failed to save message in "/home/serwer/Maildir/sent" - message not sent
"/home/serwer/dead.letter" 8/120
Dziwne jest to że na yt jak oglądałem tutorial to tam działało a jak sam chciałem już z kolegą zrobić to nie. Tak samo było z poradnikami tam niby działa u nas nie.
Awatar użytkownika
mario_7
Administrator
Administrator
Posty: 8594
Rejestracja: 30 sie 2006, 13:11
Płeć: Mężczyzna
Wersja Ubuntu: 20.04
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: mario_7 »

Dla testu - zrób na jakiejś maszynie wirtualnej z czystym Ubuntu (nawet w trybie live) ten tutorial. Mam wrażenie że coś jest nie tak z tym serwerem.

Ponadto - co pojawia się w mail.log oraz mail.err ?
Awatar użytkownika
dejner
Piegowaty Guziec
Piegowaty Guziec
Posty: 9
Rejestracja: 01 cze 2017, 09:08
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Brak
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: dejner »

Plik mail.log

Kod: Zaznacz cały

Jun 12 06:25:48 gamescult sm-mta[31278]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 06:35:48 gamescult sm-mta[31495]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 06:45:48 gamescult sm-mta[31861]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 06:55:48 gamescult sm-mta[32066]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 07:05:48 gamescult sm-mta[1112]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 07:15:48 gamescult sm-mta[2277]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 07:25:48 gamescult sm-mta[2837]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 07:35:48 gamescult sm-mta[3061]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 07:45:48 gamescult sm-mta[8107]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 07:55:48 gamescult sm-mta[8718]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 08:05:48 gamescult sm-mta[28304]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 08:15:48 gamescult sm-mta[2608]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 08:25:48 gamescult sm-mta[9588]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 08:35:48 gamescult sm-mta[12640]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 08:45:48 gamescult sm-mta[2003]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 08:55:48 gamescult sm-mta[20798]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 09:05:48 gamescult sm-mta[23423]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 09:15:48 gamescult sm-mta[23541]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 09:23:38 gamescult postfix/postdrop[26250]: warning: unable to look up public/pickup: No such file or directory
Jun 12 09:25:48 gamescult sm-mta[27039]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 09:35:48 gamescult sm-mta[29020]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 09:35:48 gamescult sm-mta[29020]: v577ZmWa006180: v5C7ZmWa029020: return to sender: Cannot send message for 5 days
Jun 12 09:35:48 gamescult sm-mta[29020]: v5C7ZmWa029020: to=postmaster, delay=00:00:00, mailer=local, pri=30000, stat=queued
Jun 12 09:45:48 gamescult sm-mta[7032]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 09:55:48 gamescult sm-mta[7070]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 10:05:48 gamescult sm-mta[7126]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 10:15:48 gamescult sm-mta[7292]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 10:25:48 gamescult sm-mta[7724]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 10:35:48 gamescult sm-mta[8229]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 10:45:48 gamescult sm-mta[31900]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 10:55:48 gamescult sm-mta[13133]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 11:05:48 gamescult sm-mta[23318]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 11:15:48 gamescult sm-mta[25838]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 11:25:48 gamescult sm-mta[27679]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 11:35:48 gamescult sm-mta[27732]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 11:45:48 gamescult sm-mta[28327]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 11:55:48 gamescult sm-mta[29237]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 12:05:48 gamescult sm-mta[29695]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 12:15:48 gamescult sm-mta[24013]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
mail.err

Kod: Zaznacz cały

Jun 12 06:25:48 gamescult sm-mta[31278]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 06:35:48 gamescult sm-mta[31495]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 06:45:48 gamescult sm-mta[31861]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 06:55:48 gamescult sm-mta[32066]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 07:05:48 gamescult sm-mta[1112]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 07:15:48 gamescult sm-mta[2277]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 07:25:48 gamescult sm-mta[2837]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 07:35:48 gamescult sm-mta[3061]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 07:45:48 gamescult sm-mta[8107]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 07:55:48 gamescult sm-mta[8718]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 08:05:48 gamescult sm-mta[28304]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 08:15:48 gamescult sm-mta[2608]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 08:25:48 gamescult sm-mta[9588]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 08:35:48 gamescult sm-mta[12640]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 08:45:48 gamescult sm-mta[2003]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 08:55:48 gamescult sm-mta[20798]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 09:05:48 gamescult sm-mta[23423]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 09:15:48 gamescult sm-mta[23541]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 09:25:48 gamescult sm-mta[27039]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 09:35:48 gamescult sm-mta[29020]: v577ZmWa006180: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 09:45:48 gamescult sm-mta[7032]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 09:55:48 gamescult sm-mta[7070]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 10:05:48 gamescult sm-mta[7126]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 10:15:48 gamescult sm-mta[7292]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 10:25:48 gamescult sm-mta[7724]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 10:35:48 gamescult sm-mta[8229]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 10:45:48 gamescult sm-mta[31900]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 10:55:48 gamescult sm-mta[13133]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 11:05:48 gamescult sm-mta[23318]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 11:15:48 gamescult sm-mta[25838]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 11:25:48 gamescult sm-mta[27679]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 11:35:48 gamescult sm-mta[27732]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 11:45:48 gamescult sm-mta[28327]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 11:55:48 gamescult sm-mta[29237]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 12:05:48 gamescult sm-mta[29695]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 12:15:48 gamescult sm-mta[24013]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 12:25:48 gamescult sm-mta[16438]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 12:35:48 gamescult sm-mta[13906]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Jun 12 12:45:48 gamescult sm-mta[11713]: v5C7ZmWa029020: SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or directory
Na wirtualnej maszynie kiedyś też próbowałem stworzyć i pojawiał się ten sam błąd z maildir że nie towrzyło katalogu w ogóle. Nie wiem może jakoś na opak rozumiem poradnik albo nie wiem może mam po prostu pecha.
Awatar użytkownika
mario_7
Administrator
Administrator
Posty: 8594
Rejestracja: 30 sie 2006, 13:11
Płeć: Mężczyzna
Wersja Ubuntu: 20.04
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: mario_7 »

Co prawda konfigurowałem to na Ubuntu 14.04 ale takich problemów nie było...
Błąd w logu też dziwny, jakby nie było jakichś uprawnień.
Sprawdź na czystym systemie.
Awatar użytkownika
dejner
Piegowaty Guziec
Piegowaty Guziec
Posty: 9
Rejestracja: 01 cze 2017, 09:08
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Brak
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: dejner »

Próbowaliśmy na czystym systemie, na wirtualnej maszynie, na wersji ubuntu 17.04 i cały czas nic. Robiłem też z jakiś poradników typowanych dla wersji ubuntu 16.04 i cały czas był błąd z maildir albo taki że niby wysyłał maila ale żadna poczta go nie odbierała.
Awatar użytkownika
mario_7
Administrator
Administrator
Posty: 8594
Rejestracja: 30 sie 2006, 13:11
Płeć: Mężczyzna
Wersja Ubuntu: 20.04
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: mario_7 »

Gdy niby wysyłał maile - w logach było widać że mail wysłany?
Nie było go nawet w folderze ze spamem na koncie docelowym?
Awatar użytkownika
dejner
Piegowaty Guziec
Piegowaty Guziec
Posty: 9
Rejestracja: 01 cze 2017, 09:08
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Brak
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: dejner »

Nie było, wczoraj powtórzyliśmy próbę z wirtualną maszyna, wgraliśmy wersje serwerową taką jaka mamy na maszynie, szliśmy według poradnika który wysłałeś. Mail nie doszedł, nie pokazało żadnych błędów już tylko zachował się tak jakby był wysłany, poczekaliśmy kilka minut i ani w spamie ani w innej zakładce nie było. Maila wysyłaliśmy na konto założone na gmailu.
Awatar użytkownika
mario_7
Administrator
Administrator
Posty: 8594
Rejestracja: 30 sie 2006, 13:11
Płeć: Mężczyzna
Wersja Ubuntu: 20.04
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: mario_7 »

A logi? W logu mail.log powinno być widać, czy nastąpiło połączenie z serwerem Google i czy wysłano wiadomość.
zajdi10
Piegowaty Guziec
Piegowaty Guziec
Posty: 5
Rejestracja: 11 cze 2017, 14:46
Wersja Ubuntu: 16.04
Środowisko graficzne: Brak
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: zajdi10 »

Kod: Zaznacz cały

Jun 13 19:35:47 ubuntu dovecot: master: Dovecot v2.2.22 (fe789d2) starting up for imap, pop3 (core dumps disabled)
Jun 13 19:35:47 ubuntu dovecot: ssl-params: Generating SSL parameters
Jun 13 19:35:49 ubuntu dovecot: ssl-params: SSL parameters regeneration completed
Jun 13 19:35:49 ubuntu postfix[1392]: Postfix is running with backwards-compatible default settings
Jun 13 19:35:49 ubuntu postfix[1392]: See http://www.postfix.org/COMPATIBILITY_README.html for details
Jun 13 19:35:49 ubuntu postfix[1392]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
Jun 13 19:35:49 ubuntu postfix/master[1437]: daemon started -- version 3.1.0, configuration /etc/postfix
Jun 13 19:42:34 ubuntu postfix[1588]: Postfix is running with backwards-compatible default settings
Jun 13 19:42:34 ubuntu postfix[1588]: See http://www.postfix.org/COMPATIBILITY_README.html for details
Jun 13 19:42:34 ubuntu postfix[1588]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
Jun 13 19:42:34 ubuntu postfix/master[1437]: terminating on signal 15
Jun 13 19:42:34 ubuntu postfix[1678]: Postfix is running with backwards-compatible default settings
Jun 13 19:42:34 ubuntu postfix[1678]: See http://www.postfix.org/COMPATIBILITY_README.html for details
Jun 13 19:42:34 ubuntu postfix[1678]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
Jun 13 19:42:34 ubuntu postfix/master[1715]: daemon started -- version 3.1.0, configuration /etc/postfix
Jun 13 19:46:09 ubuntu postfix/pickup[1716]: F153220AC4: uid=1000 from=<serwer>
Jun 13 19:46:09 ubuntu postfix/cleanup[1721]: F153220AC4: message-id=<20170613174608.F153220AC4@ubuntu>
Jun 13 19:46:09 ubuntu postfix/qmgr[1717]: F153220AC4: from=<serwer@ubuntu>, size=311, nrcpt=2 (queue active)
Jun 13 19:46:09 ubuntu postfix/local[1723]: F153220AC4: to=<.@ubuntu>, orig_to=<.>, relay=local, delay=0.17, delays=0.08/0.08/0/0, dsn=5.1.1, status=bounced (unknown user: ".")
Jun 13 19:46:09 ubuntu postfix/smtp[1724]: connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c0f::1b]:25: Network is unreachable
Jun 13 19:46:39 ubuntu postfix/smtp[1724]: connect to gmail-smtp-in.l.google.com[209.85.233.27]:25: Connection timed out
Jun 13 19:47:09 ubuntu postfix/smtp[1724]: connect to alt1.gmail-smtp-in.l.google.com[74.125.203.27]:25: Connection timed out
Jun 13 19:47:09 ubuntu postfix/smtp[1724]: connect to alt1.gmail-smtp-in.l.google.com[2404:6800:4008:c03::1b]:25: Network is unreachable
Jun 13 19:47:14 ubuntu postfix/pickup[1716]: F357620AC9: uid=1000 from=<serwer>
Jun 13 19:47:14 ubuntu postfix/cleanup[1721]: F357620AC9: message-id=<20170613174714.F357620AC9@ubuntu>
Jun 13 19:47:15 ubuntu postfix/qmgr[1717]: F357620AC9: from=<serwer@ubuntu>, size=316, nrcpt=1 (queue active)
Jun 13 19:47:15 ubuntu postfix/smtp[1730]: connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c0f::1b]:25: Network is unreachable
Jun 13 19:47:39 ubuntu postfix/smtp[1724]: connect to alt2.gmail-smtp-in.l.google.com[74.125.28.27]:25: Connection timed out
Jun 13 19:47:39 ubuntu postfix/smtp[1724]: F153220AC4: to=<zajdi10@gmail.com>, relay=none, delay=90, delays=0.08/0.02/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[74.125.28.27]:25: Connection timed out)
Jun 13 19:47:39 ubuntu postfix/cleanup[1721]: 6EDB120ACC: message-id=<20170613174739.6EDB120ACC@ubuntu>Jun 13 19:47:39 ubuntu postfix/qmgr[1717]: 6EDB120ACC: from=<>, size=1951, nrcpt=1 (queue active)
Jun 13 19:47:39 ubuntu postfix/bounce[1725]: F153220AC4: sender non-delivery notification: 6EDB120ACC
Jun 13 19:47:40 ubuntu postfix/local[1723]: 6EDB120ACC: to=<serwer@ubuntu>, relay=local, delay=1, delays=0/0/0/1, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Jun 13 19:47:40 ubuntu postfix/qmgr[1717]: 6EDB120ACC: removed
Jun 13 19:47:45 ubuntu postfix/smtp[1730]: connect to gmail-smtp-in.l.google.com[209.85.233.27]:25: Connection timed out
Jun 13 19:47:45 ubuntu postfix/smtp[1730]: connect to alt1.gmail-smtp-in.l.google.com[2404:6800:4008:c03::1b]:25: Network is unreachable
Jun 13 19:48:15 ubuntu postfix/smtp[1730]: connect to alt1.gmail-smtp-in.l.google.com[74.125.203.27]:25: Connection timed out
Jun 13 19:48:15 ubuntu postfix/smtp[1730]: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:400e:c04::1b]:25: Network is unreachable
Jun 13 19:48:15 ubuntu postfix/smtp[1730]: F357620AC9: to=<zajdi10@gmail.com>, relay=none, delay=60, delays=0/0/60/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:400e:c04::1b]:25: Network is unreacha$
Jun 13 19:49:07 ubuntu postfix/pickup[1716]: 0986C20ACF: uid=1000 from=<serwer>
Jun 13 19:49:07 ubuntu postfix/cleanup[1721]: 0986C20ACF: message-id=<20170613174907.0986C20ACF@ubuntu>
Jun 13 19:49:07 ubuntu postfix/qmgr[1717]: 0986C20ACF: from=<serwer@ubuntu>, size=316, nrcpt=1 (queue active)
Jun 13 19:49:37 ubuntu postfix/smtp[1724]: connect to gmail-smtp-in.l.google.com[209.85.233.27]:25: Connection timed out
Jun 13 19:49:37 ubuntu postfix/smtp[1724]: connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c0f::1b]:25: Network is unreachable
Jun 13 19:49:37 ubuntu postfix/smtp[1724]: connect to alt1.gmail-smtp-in.l.google.com[2404:6800:4008:c03::1b]:25: Network is unreachable
Jun 13 19:49:38 ubuntu postfix/pickup[1716]: 31F9C20AD0: uid=1000 from=<serwer>
Jun 13 19:49:38 ubuntu postfix/cleanup[1721]: 31F9C20AD0: message-id=<20170613174938.31F9C20AD0@ubuntu>
Jun 13 19:49:38 ubuntu postfix/qmgr[1717]: 31F9C20AD0: from=<serwer@ubuntu>, size=273, nrcpt=2 (queue active)
Jun 13 19:49:38 ubuntu postfix/local[1741]: 31F9C20AD0: to=<.@ubuntu>, orig_to=<.>, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: ".")
Jun 13 19:49:38 ubuntu postfix/local[1742]: 31F9C20AD0: to=<?@ubuntu>, orig_to=<?>, relay=local, delay=0.01, delays=0/0.01/0/0, dsn=5.1.1, status=bounced (unknown user: "?")
Jun 13 19:49:38 ubuntu postfix/cleanup[1721]: 34C2D20AD1: message-id=<20170613174938.34C2D20AD1@ubuntu>
Jun 13 19:49:38 ubuntu postfix/qmgr[1717]: 34C2D20AD1: from=<>, size=2118, nrcpt=1 (queue active)
Jun 13 19:49:38 ubuntu postfix/bounce[1744]: 31F9C20AD0: sender non-delivery notification: 34C2D20AD1
Jun 13 19:49:38 ubuntu postfix/qmgr[1717]: 31F9C20AD0: removed
Jun 13 19:49:38 ubuntu postfix/local[1741]: 34C2D20AD1: to=<serwer@ubuntu>, relay=local, delay=0, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Jun 13 19:49:38 ubuntu postfix/qmgr[1717]: 34C2D20AD1: removed
Jun 13 19:50:07 ubuntu postfix/smtp[1724]: connect to alt1.gmail-smtp-in.l.google.com[74.125.203.27]:25: Connection timed out
Jun 13 19:50:37 ubuntu postfix/smtp[1724]: connect to alt2.gmail-smtp-in.l.google.com[74.125.28.27]:25: Connection timed out
Jun 13 19:50:37 ubuntu postfix/smtp[1724]: 0986C20ACF: to=<zajdi10@gmail.com>, relay=none, delay=90, delays=0/0/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[74.125.28.27]:25: Connection timed out)
Jun 13 19:52:54 ubuntu postfix/pickup[1716]: 4657520AD3: uid=1000 from=<serwer>
Jun 13 19:52:54 ubuntu postfix/cleanup[1768]: 4657520AD3: message-id=<20170613175254.4657520AD3@ubuntu>
Jun 13 19:52:54 ubuntu postfix/qmgr[1717]: 4657520AD3: from=<serwer@ubuntu>, size=274, nrcpt=2 (queue active)
Jun 13 19:52:54 ubuntu postfix/local[1770]: 4657520AD3: to=<.@ubuntu>, orig_to=<.>, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=5.1.1, status=bounced (unknown user: ".")
Jun 13 19:52:55 ubuntu postfix/local[1771]: 4657520AD3: to=<p@ubuntu>, orig_to=<p>, relay=local, delay=1.2, delays=0.01/0.01/0/1.2, dsn=5.1.1, status=bounced (unknown user: "p")
Jun 13 19:52:55 ubuntu postfix/cleanup[1768]: 6EB7E20AD4: message-id=<20170613175255.6EB7E20AD4@ubuntu>
Jun 13 19:52:55 ubuntu postfix/qmgr[1717]: 6EB7E20AD4: from=<>, size=2119, nrcpt=1 (queue active)
Jun 13 19:52:55 ubuntu postfix/bounce[1772]: 4657520AD3: sender non-delivery notification: 6EB7E20AD4
Jun 13 19:52:55 ubuntu postfix/qmgr[1717]: 4657520AD3: removed
Jun 13 19:52:55 ubuntu postfix/local[1770]: 6EB7E20AD4: to=<serwer@ubuntu>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Jun 13 19:52:55 ubuntu postfix/qmgr[1717]: 6EB7E20AD4: removed
Jun 15 10:34:43 ubuntu dovecot: master: Dovecot v2.2.22 (fe789d2) starting up for imap, pop3 (core dumps disabled)
Jun 15 10:34:46 ubuntu postfix[1433]: Postfix is running with backwards-compatible default settings
Jun 15 10:34:46 ubuntu postfix[1433]: See http://www.postfix.org/COMPATIBILITY_README.html for details
Jun 15 10:34:46 ubuntu postfix[1433]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
Jun 15 10:34:47 ubuntu postfix/master[1470]: daemon started -- version 3.1.0, configuration /etc/postfix
Jun 15 10:34:47 ubuntu postfix/qmgr[1475]: 0986C20ACF: from=<serwer@ubuntu>, size=316, nrcpt=1 (queue active)
Jun 15 10:34:47 ubuntu postfix/qmgr[1475]: F153220AC4: from=<serwer@ubuntu>, size=311, nrcpt=2 (queue active)
Jun 15 10:34:47 ubuntu postfix/qmgr[1475]: F357620AC9: from=<serwer@ubuntu>, size=316, nrcpt=1 (queue active)
Jun 15 10:35:18 ubuntu postfix/smtp[1480]: connect to gmail-smtp-in.l.google.com[74.125.205.26]:25: Connection timed out
Jun 15 10:35:18 ubuntu postfix/smtp[1480]: connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c0b::1a]:25: Network is unreachable
Jun 15 10:35:18 ubuntu postfix/smtp[1481]: connect to gmail-smtp-in.l.google.com[74.125.205.26]:25: Connection timed out
Jun 15 10:35:18 ubuntu postfix/smtp[1481]: connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c0b::1a]:25: Network is unreachable
Jun 15 10:35:18 ubuntu postfix/smtp[1481]: connect to alt1.gmail-smtp-in.l.google.com[2404:6800:4008:c00::1a]:25: Network is unreachable
Jun 15 10:35:18 ubuntu postfix/smtp[1479]: connect to gmail-smtp-in.l.google.com[64.233.161.26]:25: Connection timed out
Jun 15 10:35:18 ubuntu postfix/smtp[1479]: connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c0b::1a]:25: Network is unreachable
Jun 15 10:35:43 ubuntu dovecot: master: Warning: Killed with signal 15 (by pid=6094 uid=0 code=kill)
Jun 15 10:35:48 ubuntu postfix/smtp[1480]: connect to alt1.gmail-smtp-in.l.google.com[108.177.97.26]:25: Connection timed out
Jun 15 10:35:48 ubuntu postfix/smtp[1480]: connect to alt1.gmail-smtp-in.l.google.com[2404:6800:4008:c00::1b]:25: Network is unreachable
Jun 15 10:35:48 ubuntu postfix/smtp[1480]: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:400e:c04::1a]:25: Network is unreachable
Jun 13 19:52:54 ubuntu postfix/cleanup[1768]: 4657520AD3: message-id=<20170613175254.4657520AD3@ubuntu>
Jun 13 19:52:54 ubuntu postfix/qmgr[1717]: 4657520AD3: from=<serwer@ubuntu>, size=274, nrcpt=2 (queue active)
Jun 13 19:52:54 ubuntu postfix/local[1770]: 4657520AD3: to=<.@ubuntu>, orig_to=<.>, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=5.1.1, status=bounced (unknown user: ".")
Jun 13 19:52:55 ubuntu postfix/local[1771]: 4657520AD3: to=<p@ubuntu>, orig_to=<p>, relay=local, delay=1.2, delays=0.01/0.01/0/1.2, dsn=5.1.1, status=bounced (unknown user: "p")
Jun 13 19:52:55 ubuntu postfix/cleanup[1768]: 6EB7E20AD4: message-id=<20170613175255.6EB7E20AD4@ubuntu>
Jun 13 19:52:55 ubuntu postfix/qmgr[1717]: 6EB7E20AD4: from=<>, size=2119, nrcpt=1 (queue active)
Jun 13 19:52:55 ubuntu postfix/bounce[1772]: 4657520AD3: sender non-delivery notification: 6EB7E20AD4
Jun 13 19:52:55 ubuntu postfix/qmgr[1717]: 4657520AD3: removed
Jun 13 19:52:55 ubuntu postfix/local[1770]: 6EB7E20AD4: to=<serwer@ubuntu>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Jun 13 19:52:55 ubuntu postfix/qmgr[1717]: 6EB7E20AD4: removed
Jun 15 10:34:43 ubuntu dovecot: master: Dovecot v2.2.22 (fe789d2) starting up for imap, pop3 (core dumps disabled)
Jun 15 10:34:46 ubuntu postfix[1433]: Postfix is running with backwards-compatible default settings
Jun 15 10:34:46 ubuntu postfix[1433]: See http://www.postfix.org/COMPATIBILITY_README.html for details
Jun 15 10:34:46 ubuntu postfix[1433]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
Jun 15 10:34:47 ubuntu postfix/master[1470]: daemon started -- version 3.1.0, configuration /etc/postfix
Jun 15 10:34:47 ubuntu postfix/qmgr[1475]: 0986C20ACF: from=<serwer@ubuntu>, size=316, nrcpt=1 (queue active)
Jun 15 10:34:47 ubuntu postfix/qmgr[1475]: F153220AC4: from=<serwer@ubuntu>, size=311, nrcpt=2 (queue active)
Jun 15 10:34:47 ubuntu postfix/qmgr[1475]: F357620AC9: from=<serwer@ubuntu>, size=316, nrcpt=1 (queue active)
Jun 15 10:35:18 ubuntu postfix/smtp[1480]: connect to gmail-smtp-in.l.google.com[74.125.205.26]:25: Connection timed out
Jun 15 10:35:18 ubuntu postfix/smtp[1480]: connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c0b::1a]:25: Network is unreachable
Jun 15 10:35:18 ubuntu postfix/smtp[1481]: connect to gmail-smtp-in.l.google.com[74.125.205.26]:25: Connection timed out
Jun 15 10:35:18 ubuntu postfix/smtp[1481]: connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c0b::1a]:25: Network is unreachable
Jun 15 10:35:18 ubuntu postfix/smtp[1481]: connect to alt1.gmail-smtp-in.l.google.com[2404:6800:4008:c00::1a]:25: Network is unreachable
Jun 15 10:35:18 ubuntu postfix/smtp[1479]: connect to gmail-smtp-in.l.google.com[64.233.161.26]:25: Connection timed out
Jun 15 10:35:18 ubuntu postfix/smtp[1479]: connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c0b::1a]:25: Network is unreachable
Jun 15 10:35:43 ubuntu dovecot: master: Warning: Killed with signal 15 (by pid=6094 uid=0 code=kill)
Jun 15 10:35:48 ubuntu postfix/smtp[1480]: connect to alt1.gmail-smtp-in.l.google.com[108.177.97.26]:25: Connection timed out
Jun 15 10:35:48 ubuntu postfix/smtp[1480]: connect to alt1.gmail-smtp-in.l.google.com[2404:6800:4008:c00::1b]:25: Network is unreachable
Jun 15 10:35:48 ubuntu postfix/smtp[1480]: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:400e:c04::1a]:25: Network is unreachable
Jun 15 10:35:48 ubuntu postfix/smtp[1481]: connect to alt1.gmail-smtp-in.l.google.com[108.177.97.26]:25: Connection timed out
Jun 15 10:35:48 ubuntu postfix/smtp[1479]: connect to alt1.gmail-smtp-in.l.google.com[108.177.97.26]:25: Connection timed out
Jun 15 10:35:48 ubuntu postfix/smtp[1479]: connect to alt1.gmail-smtp-in.l.google.com[2404:6800:4008:c00::1a]:25: Network is unreachable
Jun 15 10:35:48 ubuntu postfix/smtp[1479]: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:400e:c04::1a]:25: Network is unreachable
Jun 15 10:35:48 ubuntu postfix/smtp[1480]: F153220AC4: to=<zajdi10@gmail.com>, relay=none, delay=139779, delays=139719/0.15/60/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:400e:c04::1a]:25: Network$
Jun 15 10:35:48 ubuntu postfix/smtp[1479]: 0986C20ACF: to=<zajdi10@gmail.com>, relay=none, delay=139601, delays=139540/0.38/60/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:400e:c04::1a]:25: Network$
Jun 15 10:36:18 ubuntu postfix/smtp[1481]: connect to alt2.gmail-smtp-in.l.google.com[74.125.28.26]:25: Connection timed out
Jun 15 10:36:18 ubuntu postfix/smtp[1481]: F357620AC9: to=<zajdi10@gmail.com>, relay=none, delay=139743, delays=139653/0.03/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[74.125.28.26]:25: Connection timed $
Jun 15 10:36:19 ubuntu dovecot: master: Dovecot v2.2.22 (fe789d2) starting up for imap, pop3 (core dumps disabled)
Jun 15 10:36:41 ubuntu dovecot: master: Warning: Killed with signal 15 (by pid=26016 uid=0 code=kill)
Jun 15 10:36:41 ubuntu dovecot: master: Dovecot v2.2.22 (fe789d2) starting up for imap, pop3 (core dumps disabled)
Awatar użytkownika
mario_7
Administrator
Administrator
Posty: 8594
Rejestracja: 30 sie 2006, 13:11
Płeć: Mężczyzna
Wersja Ubuntu: 20.04
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Konfiguracja postfixa - nie wysyła maili

Post autor: mario_7 »

Connection timed out - coś blokuje połączenie z serwerem zewnętrznym na porcie 25.
Może hosting z serwerem albo dostawca Internetu albo błędna konfiguracja po stronie serwera - jakiś firewall albo router.
ODPOWIEDZ

Wróć do „Sieci, serwery, Internet”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 23 gości