💾 Archived View for elmau.net › notes › iredmail.gmi captured on 2023-04-26 at 13:03:42. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-03-20)
-=-=-=-=-=-=-
psql -U postgres \c vmail INSERT INTO alias (address, domain, active) VALUES('alias@dominio.net', 'dominio.net', 1); INSERT INTO forwardings (address, forwarding, domain, dest_domain, is_list, active) VALUES ('alias@dominio.net', 'correo@destino.net', 'dominio.net', 'destino.net', 1, 1)
su cd /opt/iredapd/tools wblist_admin.py -h
psql -U postgres \c vmail UPDATE mailbox SET enablelda=0, enabledeliver=0 WHERE username='USER@DOMAIN';
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