-- Leo's gemini proxy

-- Connecting to elmau.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

iRedMail


Crear alias


psql -U postgres

\c vmail

INSERT INTO alias (address, domain) VALUES('alias@dominio.net', 'dominio.net');

INSERT INTO forwardings (address, forwarding, domain, dest_domain, is_list, active)
    VALUES ('alias@dominio.net', 'correo@destino.net', 'dominio.net', 'destino.net', 1, 1)

Manejar listas con


su

cd /opt/iredapd/tools

wblist_admin.py -h


Desactivar recepción para USER@DOMAIN


psql -U postgres

    \c vmail

    UPDATE mailbox
    SET enablelda=0, enabledeliver=0
    WHERE username='USER@DOMAIN';


Bloquear spam por cabeceras, algunos ejemplos.


vim /etc/postfix/header_checks

    /^Subject: =?big5?/     REJECT Chinese encoding not accepted by this server

    /^Subject: =?EUC-KR?/   REJECT Korean encoding not allowed by this server

    /^Subject: ADV:/        REJECT Advertisements not accepted by this server

    /^Subject: =?Windows-1251?/     REJECT Russian encoding not allowed by this server

    /^Subject: =\?KOI8-R\?/ REJECT Russian encoding not allowed by this server

    /^Subject:.*=\?(big5|euc-kr|gb2312|ks_c_5601-1987)\?/   REJECT Language not accepted by this server as it is probably spam

    /[^[:print:]]{8}/       REJECT Sorry, ascii characters only permitted by this server

    /^From:.*\@.*\.cn/      REJECT Sorry, Chinese mail not allowed here

    /^From:.*\@.*\.kr/      REJECT Sorry, Korean mail not allowed here

    /^From:.*\@.*\.tr/      REJECT Sorry, Turkish mail not allowed here

    /^From:.*\@.*\.ru/      REJECT Sorry, Russian mail not allowed here

    /^From:.*\@.*\.ro/      REJECT Sorry, Romanian mail not allowed here

    /^(Received|Message-Id|X-(Mailer|Sender)):.*\b(AutoMail|E-Broadcaster|Emailer Platinum|Thunder Server|eMarksman|Extractor|e-Merge|from stealth[^.]|Global Messenger|GroupMaster|Mailcast|MailKing|Match10|MassE-Mail|massmail\.pl|News Breaker|Powermailer|Quick Shot|Ready Aim Fire|WindoZ|WorldMerge|Yourdora|Lite)\b/ REJECT No mass mailers allowed. You are probably sending spam

    /^X-Mailer:.*\b(Aristotle|Avalanche|Blaster|Bomber|DejaVu|eMerge|Extractor|UltraMail|Sonic|Floodgate|GeoList|Mach10|MegaPro|Aureate|MultiMailer|Bluecom|Achi-Kochi Mail|Direct Email|Andrew's SuperCool Blastoise|MailerGear|Advanced Mass Sender|SpireMail|MailWorkZ|UltimDBMail|Mabry|Lite)\b/ REJECT No mass mailers allowed. You are probably sending spam.

    /^(To|From|Cc|Reply-To):.*@optonline/   REJECT Sorry, your message is probably spam


Regresar el índice

Regresar el inicio


-- Response ended

-- Page fetched on Wed May 8 06:06:30 2024