Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 63

Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 73

Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 89

Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 102

Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 111

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
MailScanner, sendmail i neka ograničenja – Linux, Windows, Heklanje, Kuhinja

MailScanner, sendmail i neka ograničenja

Ima mnogo stvari koje možda želite da ograničite na svom mail serveru.
Evo neke od njih, kratak opis, i kako se može podesiti :

Ukupna veličina poruke – vrlo zgodno, uobičajena veličina je između 10M i 30M
Podešava se pod /etc/MailScanner/MailScanner.conf, stavka :
Maximum Message Size = %rules-dir%/max.message.size.rules
Pa se u samom fajlu mogu podesiti različite vrednosti za različite naloge na serveru. Ako se podešava jedna vrednost za sve, onda fajl /etc/MailScanner/rules/max.message.size.rules izgleda ovako :
FromOrTo: default 50M
Naravno restartovati MailScanner da bi se promnena “primila”.

Ukupan broj primalaca jedne poruke – zaštita od slanja spam-a, obično je između 20 i 50, ali paziti ako neki korisnici šalju opšta obaveštenja na veliki broj adresa, pa im to možda neće biti dovoljno
Ovo se ne može podesiti na nivou MailScanner-a ili SpamAssassin-a (ili bar ne iole jednostavno), ali relativno se lako podešava na nivou MTA, kod mene Sendmail. To je u /etc/mail/sendmail.cf fajlu linija :
O MaxRecipientsPerMessage=50
Restartovati Sendmail/MailScanner da bi se promena “primila”.
Napomena : ovaj broj ograničava primaoce u poljima Cc i Bcc, i To.

Ograničenje veličine mailbox-a – da se ne bi disk servera prepunio. Standardna veličina se kreće od 10M do 10G (gmail). Ovo se može podesiti na nekoliko načina, ali je najjednostavnije na nivou OS-a, kroz kvote. Nezgodno, sem u slučaju da vam je /var/spool/mail odvojena particija. Druga mogućnost je kroz Procmail, ako njega koristite kao MDA (mail delivery agent), ali o tome u nekom od sledećih postova.