Komunikat o błędzie

  • User warning: The following module is missing from the file system: bueditor. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: field_validation_extras. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: field_validation_ui. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: geshifield. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: geshifilter. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: google_plusone. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: linkit. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: property_validation. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: taxonomy_menu. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: tweetbutton. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: wysiwyg. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: field_validation. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • Notice: Undefined index: execute_responsive_theme w drupal_theme_initialize() (linia 100 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
  • Notice: Trying to get property 'filename' of non-object w _drupal_theme_initialize() (linia 146 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
  • Notice: Trying to get property 'name' of non-object w _theme_load_registry() (linia 335 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
  • Notice: Undefined index: execute_responsive_theme w theme_get_setting() (linia 1440 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).

Postfix

Komplikacja

Utworzenie wirtualnego serwera w Virtualmin kończy się
[code]The procmail command /bin/procmail is owned by group mail, when it should be owned by root. Email may not be properly delivered or checked for spam.[/code]

Wiedza: 
Praktyczna

Komplikacja

Utworzenie wirtualnego serwera w Virtualmin kończy się
[code]Automatic BCCing of outgoing email cannot be enabled unless a BCC map is defined in the Postfix Mailserver module, or manually in the Postfix configuration file[/code]

Rozwiązanie

W pliku [code]/etc/postfix/main.cf[/code] dodajesz
[vim]sender_bcc_maps = hash:/etc/postfix/bcc[/vim]

Wiedza: 
Praktyczna

Komplikacja

Utworzenie wirtualnego serwera w Virtualmin kończy się
[code]Failed to create virtual server : No virtual domains file (virtual_alias_maps) was found in your Postfix configuration![/code]

Rozwiązanie

W pliku [code]/etc/postfix/main.cf[/code] dodajesz
[vim]virtual_alias_maps = hash:/etc/postfix/virtual[/vim]

Zastosowanie: 
Postfix - Failed to create virtual server : No virtual domains file (virtual_alias_maps) was found in your Postfix configuration!
Wiedza: 
Praktyczna

W konsoli podajesz
[bash]
systemctl enable fstrim.timer && systemctl start fstrim.timer
[/bash]
Włączenie jednostki spowoduje cotygodniowe uruchamianie [code]fstrim.service[/code].
W przypadku [code]Failed to enable unit: Unit file fstrim.timer does not exist.[/code]
W konsoli podajesz
[bash]
cp /usr/share/doc/util-linux/examples/fstrim.{service,timer} /etc/systemd/system[/bash]

Zastosowanie: 
Włączenie TRIM SSD
Wiedza: 
Praktyczna

Zainstaluj Dovecot
[bash]apt-get install -y dovecot-imapd dovecot-pop3d
[/bash]
W pliku [code]/etc/dovecot/dovecot.conf[/code] dodaj
[code]service auth {
# Postfix smtp-auth
unix_listener /var/spool/postfix/private/auth {
mode = 0666
user = postfix
group = postfix
}
}[/code]
W konsoli podajesz
[bash]postconf -e 'smtpd_sasl_local_domain = $mydomain, $myhostname'
postconf -e 'smtpd_sasl_auth_enable = yes'
postconf -e 'smtpd_sasl_type = dovecot'

Zastosowanie: 
Uwierzytelnianie Dovecot w Postfix
Wiedza: 
Praktyczna

Zainstaluj Cyrus SASL
[bash]apt-get install -y sasl2-bin libsasl2-modules
[/bash]
Utwórz plik
[bash]touch /etc/postfix/sasl/smtpd.conf
[/bash]
Edytuj plik [code]/etc/postfix/sasl/smtpd.conf[/code]
[vim]pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
[/vim]
Edytuj [code]/etc/default/saslauthd[/code]
[vim]START=yes
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd" #jeśli w master.cf pozostawiłeś włączony chroot
[/vim]
Nadpisz uprawnienie do pliku [code]/var/spool/postfix/var/run/saslauthd[/code]

Zastosowanie: 
Wystąpił błąd podczas wysyłania wiadomości. Odpowiedź serwera: 5.7.1 *: Relay access denied. Sprawdź adresata wiadomości (*), a następnie ponów próbę
Wiedza: 
Praktyczna

W pliku [code]/etc/postfix/main.cf[/code] dodajesz
[vim]queue_directory = /var/spool/postfix[/vim]
W pliku [code]/etc/postfix/master.cf[/code] zmieniasz
Dla portu 25
[vim]smtp inet n - - - - smtpd
[/vim]
Dla portu 587
[vim]submission inet n - - - - smtpd
[/vim]
Przeładuj Posfix
[bash]
service postfix reload[/bash]

Zastosowanie: 
Zmiana chrootowania dla Postfix
Wiedza: 
Praktyczna

Wykonaj kopię zapasową pliku [code]master.cf[/code]
[bash]cp /etc/postfix/master.cf /etc/postfix/master.cf_x
[/bash]
Zakomentuj linię
[vim]smtp inet n - - - - smtpd[/vim]
Odkomentuj linię
[vim]#submission inet n - - - - smtpd[/vim]
Przeładuj Postfix
[bash]postfix reload
[/bash]

Zastosowanie: 
Zmiana w Postfix z portu 25 na port 587
Wiedza: 
Praktyczna

[code]/etc/postfix/main.cf[/code]
Główny plik konfiguracyjny Posffix
[code]/usr/share/postfix/main.cf.dist[/code]
Zawiera obszerne komentarze, opisy oraz wszystkie podstawowe opcje wraz z ich wartościami domyślnymi

Wiedza: 
Teoretyczna
Subskrybuj RSS - Postfix