Quantcast
Channel: iRedMail — iRedMail Support
Viewing all 43456 articles
Browse latest View live

Upgrade steps from 0.9.8 to 1.3.2 iRedMail with MySQL

$
0
0

Hi, I was running iRedMail 0.9.8 on Ubuntu 16.04 and decided to upgrade to 1.3.2 following the version-to-version upgrade guides.

I have encountered and solved some issues which might be useful for others, so I thought I'd share them here.

From 0.9.9 to 1.0 :

The change to the file /etc/postfix/helo_access.pcre was unclear to me, so I changed the file like this :

### THIS WAS ALREADY THERE FOR SENDGRID
# bypass some HELOs which contains IP address
/^o\d{1,3}-\d{1,3}-\d{1,3}-\d{1,3}\.outbound-mail\.sendgrid\.net$/ DUNNO

### ADDED THIS SECTION FOR FACEBOOK
# bypass new facebook servers (iRedMail 1.0+)
/^\d{1,3}-\d{1,3}-\d{1,3}-\d{1,3}\.mail-mail\.facebook\.com$/ DUNNO
###

Maybe the docs could be made a bit more clear.

From 1.1 to 1.2 (MySQL backend)

I found the schema for the new table "last_login" has different index names in the 1.2 docs compared to the sql script given in the 1.1 docs, so I ran the following queries :

ALTER TABLE last_login RENAME INDEX domain TO last_login_domain;
ALTER TABLE last_login RENAME INDEX pop3 TO last_login_pop3;
ALTER TABLE last_login RENAME INDEX imap TO last_login_imap;
ALTER TABLE last_login RENAME INDEX lda TO last_login_lda;

I don't know if the indexes are referenced by name anywhere, but this could be an issue.

Everything else was very precise and worked well.  Thanks !


Re: Upgrade steps from 0.9.8 to 1.3.2 iRedMail with MySQL

$
0
0

Слушайте <a href=https://lorfmuz.club/>слушать музыку 2018 2019 года новинки</a>   и популярные песни в хорошем качестве. Собирайте песни в плейлист и приятно проводите сезон и наслаждайтесь. Чтобы Вас мы собрали подборки с лучшими новинками и хитами 2020 года. В 2020 году вышло для свет много интересных звучаний и новых исполнителей, между которых отдельный меломан найдет ради себя что-то интересное.


У нас представлена искусство разных <a href=https://lorfmuz.club/top/russkaja-muzyka/>музыка 2020 слушать русские хиты 2019</a>
  и исполнителей. Здесь каждый найдет себе что-то по вкусу будь это строгий рэп https://lorfmuz.club/top/klubnaja-muzyka/ тож легкая поп-музыка. Ищешь подборку, воеже раскачать машину? Лирику про любовь? Рингтон для телефона? Включай клубную и танцевальную музыку, самые горячие новинки. У нас обедать всё – и даже больше.

<a href=https://lorfmuz.club/hits/55581/>Чёрный Обелиск - Адреналин</a> <a href=https://lorfmuz.club/hits/2366/>Алла Попова - Падаю</a> <a href=https://lorfmuz.club/hits/93150/>Arcash - Цвет Настроения Белый</a> <a href=https://lorfmuz.club/hits/78260/>Yulduz Abdullayeva - Askar</a> <a href=https://lorfmuz.club/hits/29397/>104 - BACKWOODS II</a> <a href=https://lorfmuz.club/hits/28552/>Барон - Тот Самый Тип</a> <a href=https://lorfmuz.club/hits/95649/>Триколор - Зачем Слова</a> <a href=https://lorfmuz.club/hits/127028/>Linkin Park - Pictureboard</a> <a href=https://lorfmuz.club/hits/39652/>Little big - uno (Евровидение 2020 Россия)</a> <a href=https://lorfmuz.club/hits/16799/>Земфира - Чайка</a> <a href=https://lorfmuz.club/hits/90680/>Yulduz Usmonova - Qozoqcha</a> <a href=https://lorfmuz.club/hits/132636/>Kareena - Ментос и кола (Dj Sasha White Remix) (Radio Edit)</a> <a href=https://lorfmuz.club/hits/65886/>Марк Маршал - Бежать</a> <a href=https://lorfmuz.club/hits/104726/>Filizola - make me</a> <a href=https://lorfmuz.club/hits/86599/>Азамат Исенгазин - Ты моя и не моя</a> <a href=https://lorfmuz.club/hits/62758/>YNW MELLY - SUICIDAL</a> <a href=https://lorfmuz.club/hits/72463/>Slame - Гидравлика</a> <a href=https://lorfmuz.club/hits/72484/>Wiz Khalifa feat. Trippie Redd &amp; Preme - Alright</a> <a href=https://lorfmuz.club/hits/63552/>Erkin Hudoyqulov - 5 Ug'il</a> <a href=https://lorfmuz.club/hits/48012/>Эльвина Зяблицева - Я запуталась</a> <a href=https://lorfmuz.club/hits/84873/>Faxriddin Umarov - Erkam</a> <a href=https://lorfmuz.club/hits/4157/>Я.Д. - Любовь На Куски</a> <a href=https://lorfmuz.club/hits/18791/>Mavluda Asalxo'jayeva - Kelarmish</a> <a href=https://lorfmuz.club/hits/125954/>EGOR FROM GOR - Message</a> <a href=https://lorfmuz.club/hits/94433/>Lola - Toshkent Samarqand</a> <a href=https://lorfmuz.club/hits/30178/>Алла Земскова - Без Адресов</a> <a href=https://lorfmuz.club/hits/127477/>Чаян Фамали &amp; Зомб - Дайвер (2018)</a> <a href=https://lorfmuz.club/hits/6657/>Robert Cristian, Roxana - One Day</a> <a href=https://lorfmuz.club/hits/27634/>Mc Bad - Держу твою руку</a> <a href=https://lorfmuz.club/hits/94770/>Ольга Кочеткова - Голубая Лагуна</a> <a href=https://lorfmuz.club/hits/103972/>DVOE - Девочка-Мечта</a> <a href=https://lorfmuz.club/hits/16928/>O'ktam Ahmedov - Ibodatdur</a> <a href=https://lorfmuz.club/hits/34054/>Vohidjon isoqov - aldama meni</a> <a href=https://lorfmuz.club/hits/80517/>Safiya Saftarova - Vatanim Qomusi</a> <a href=https://lorfmuz.club/hits/131471/>ITZY - Not Shy (Альбом 2020)</a> <a href=https://lorfmuz.club/hits/32735/>Tenderlybae - Юность (Новый альбом 2020)</a> <a href=https://lorfmuz.club/hits/11342/>Виталий Козловский - Трачу</a> <a href=https://lorfmuz.club/hits/85536/>Heard Right — Episode (Original Mix)</a> <a href=https://lorfmuz.club/hits/4075/>Tosh &amp; Deems - Ненавижу людей</a> <a href=https://lorfmuz.club/hits/4844/>Muhabbat - Bir lahza yurak</a> <a href=https://lorfmuz.club/hits/15166/>Sevinch Mo'minova - Dil gavharim</a> <a href=https://lorfmuz.club/hits/9209/>Муся Тотибадзе - Разбегаюсь</a> <a href=https://lorfmuz.club/hits/99376/>American Football feat. Hayley Williams - Uncomfortably Numb</a> <a href=https://lorfmuz.club/hits/72215/>Andrey Volnyi - Мои улицы</a> <a href=https://lorfmuz.club/hits/47342/>Umid Ashurov - Uyalma</a> <a href=https://lorfmuz.club/hits/42648/>Несмачный - Только Мы</a> <a href=https://lorfmuz.club/hits/64278/>Flexdope - Свэг</a> <a href=https://lorfmuz.club/hits/15219/>Javlonbek Jo'rayev - Tilak</a> <a href=https://lorfmuz.club/hits/129008/>LeaveMeAlone - Run Away</a> <a href=https://lorfmuz.club/hits/43211/>Polina krupchak - Неразлучники</a> <a href=https://lorfmuz.club/hits/32125/>Muse - Thought Contagion</a> <a href=https://lorfmuz.club/hits/53259/>Zivert - Ещё хочу (Alexandr Vinilov Remix)</a> <a href=https://lorfmuz.club/hits/116472/>Влад Ступак - Корабли</a> <a href=https://lorfmuz.club/hits/13214/>Doniyor Fayz - Sog'inganim Bilmaysan</a> <a href=https://lorfmuz.club/hits/28298/>Каспийский Груз - Mademoiselle</a> <a href=https://lorfmuz.club/hits/55774/>Sideriz - Begona</a> <a href=https://lorfmuz.club/hits/33220/>Chris Brown - You Like</a> <a href=https://lorfmuz.club/hits/50814/>Bolalar - Temurlan</a> <a href=https://lorfmuz.club/hits/55556/>Мария Яремчук - Со Мной Опять</a> <a href=https://lorfmuz.club/hits/74475/>Блестящие - Знаешь, Милый</a> <a href=https://lorfmuz.club/hits/116280/>Shnappy a.k.a. Satyr - В долгий путь</a> <a href=https://lorfmuz.club/hits/33738/>Killstation - Devastation</a> <a href=https://lorfmuz.club/hits/68610/>Jamshid Abduazimov - Kerak emas</a> <a href=https://lorfmuz.club/hits/133810/>Вячеслав Ковалёв - Крымский полуостров</a> <a href=https://lorfmuz.club/hits/78734/>Алик Довлатбекян - Гипноз</a> <a href=https://lorfmuz.club/hits/130844/>Rontae Don't Play - I'm Single And I'm Lit</a> <a href=https://lorfmuz.club/hits/76428/>Йошивара - Молитва</a> <a href=https://lorfmuz.club/hits/95225/>Idan - Комната выход</a> <a href=https://lorfmuz.club/hits/42976/>Михаил Евдокимов - За Дунаем (Toothpaste Remix) — Михаил Евдокимов - За Дунаем (Toothpaste Remix)</a> <a href=https://lorfmuz.club/hits/18385/>Не спал ведь этой ночью, тебе писал - Егор Шип (Tik tok)</a> <a href=https://lorfmuz.club/hits/91885/>Султонали Рахматов - Чудеса-2008</a>

Re: Upgrade steps from 0.9.8 to 1.3.2 iRedMail with MySQL

Re: problem installing on "fresh" ubuntu 20.04

$
0
0
herzog.albert wrote:

Shall I get rid of all mysql, postfix, dovecot and other relevant stuff installed by default on this machine before starting the iRedMail installation ?

Yes. iRedMail requires a fresh / clean OS.

Re: Problem work SOGo

$
0
0

- Don't use the sogo packages offered by Debian official apt repository, i never got it working.
- What do you mean "when installing the SOGo iRedmail was not installed"? It's confused, sounds like your SOGo is running on a server without iRedMail.
- The sogo error is not clear, no idea what the problem is. Better double check your /etc/sogo/sogo.conf, make sure it's the one generated by iRedMail.

Re: Can you recommend a host for iRedMail. I've tried so many with no luck

Re: Is there a way to block mails that contain urls made by url shorteners

$
0
0

You can define your own SpamAssassin rule, and give it a high score to tag it as spam.

Re: Existing mail + alias

$
0
0

You should use mail forwarding instead, not per-user alias address since the alias address is in different domain.


Re: Tracking who deleted a mailbox

$
0
0

If the admin deleted/modified an account with iRedAdmin-Pro, it logs the activity and you can view the activities under "Activities -> Admin Log" after logged in to iRedAdmin-Pro.

Re: Catch-All not working for new domains

$
0
0

It's hard to troubleshooting without detailed SQL records.
Did you add domain "someodomainiown.pl" in "vmail.domain" table too?

Re: Change Sogo access url

$
0
0

Hello,

Same I tested with some custom url /xyz instead of /sogo
Login Page loads fine with new URL /xyz but while trying to login it gives unhandled error.

Please suggest

good.dr.ahmad wrote:

It did not work, and it gives unhandeled error.

Re: Is there a way to block mails that contain urls made by url shorteners

Re: problem installing on "fresh" ubuntu 20.04

$
0
0
ZhangHuangbin wrote:
herzog.albert wrote:

Shall I get rid of all mysql, postfix, dovecot and other relevant stuff installed by default on this machine before starting the iRedMail installation ?

Yes. iRedMail requires a fresh / clean OS.

This is not a simple task in my case, as the "minimal" ubuntu 20.04 installation is in fact a "lamp" version with Apache, Postfix, Mysql and other "basic" stuff already in place. Thus I come back to my preceding question. "Can someone provide a script to get rid of all the undesirable software". Shall I go step by step with "apt purge xyz".
Thanks for your reply.

Iredadmin 1.2 - 500 error

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version: 1.3.2
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Debian 9.13
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Maria DB
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? No
====

When I try to access iredadmin panel, I get an internal server error 500.
if I launch iredadmin manually:
python3 /opt/www/iredadmin/iredadmin.py

I have fount this Posting: https://forum.iredmail.org/topic17597-i … r-500.html

And i have done this fix:

"pip3 install -U web.py
service iredadmin restart"


Unfortunately the bug still persists

How to deploy iRedMail to Amazon AWS EC2

$
0
0

I am trying to use iRedMail  as our mail server and deploy to Amazon AWS.

But I wonder how to make the 'Best Practice' on Amazon AWS after I read the document-https://docs.iredmail.org/iredmail-easy.getting.start.html.

May I know how to make the iRed Mail server on AWS platform with the following features?

1、Multiple EC2 machines with Load-Balance features, use AWS auto-scaling service to manger all EC2(AWS auto scaling service will trigger the CPU/RAM usage, it will release one more EC2 when CPU/RAM overload some sign).
But I found the document without any description about this, all iRed Mail components all in one EC2?

2、Can I change the emails storage to one EBS machine with large size, that make the EC2 use less resources and size to make the price cheaper。

3、Can I put the DB(MySql) into AWS RDS ?

Thanks a lot !

BR


How to deploy iRedMail to Amazon AWS EC2

$
0
0

Hello1

I am trying to use iRedMail  as our mail server and deploy to Amazon AWS.

But I wonder how to make the 'Best Practice' on Amazon AWS after I read the document-https://docs.iredmail.org/iredmail-easy.getting.start.html.

May I know how to make the iRed Mail server on AWS platform with the following features?

1、Multiple EC2 machines with Load-Balance features, use AWS auto-scaling service to manger all EC2(AWS auto scaling service will trigger the CPU/RAM usage, it will release one more EC2 when CPU/RAM overload some sign).
But I found the document without any description about this, all iRed Mail components all in one EC2?

2、Can I change the emails storage to one EBS machine with large size, that make the EC2 use less resources and size to make the price cheaper。

3、Can I put the DB(MySql) into AWS RDS ?

Thanks a lot !

BR

openldap backup script error: database does not allow slapcat

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Deployed with iRedMail Easy or the downloadable installer? download
- Linux/BSD distribution name and version: openbsd 6.8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

output from  /var/vmail/backup/backup_openldap.sh
---
5ffc1391 The first database does not allow slapcat; using the first available one (2)
5ffc1391 mdb_db_open: database "dc=XXXX,dc=com" cannot be opened: Operation not permitted (1). Restore from backup!
5ffc1391 backend_startup_one (type=mdb, suffix="dc=XXXX,dc=com"): bi_db_open failed! (1) slap_startup failed

This seems to have been the case since installation.
Thank you

Signing DKIM for new domain, no restarting Amavisd.

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Deployed with iRedMail Easy or the downloadable installer? Latter
- Linux/BSD distribution name and version: 18.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I am working on a demo that allows each incoming user to provide their domains, and implements DKIM signing for the domains on the fly.

I know one can sign DKIM for new domains with the instructions here:
https://docs.iredmail.org/sign.dkim.sig … omain.html

However, I'd like to know if there is a solution without having to restart Amavisd, since restarting Amavisd each time a user signs up doesn't sound like a great idea.

Maybe update the settings in the DB so that postfix picks it up each time it sends an email?

Thank you.

Re: Cannot update sogo: The repository does not have a Release file

$
0
0
ZhangHuangbin wrote:

Checked the directories under https://packages.inverse.ca/SOGo/nightly/5/debian/, everything seems fine.
Maybe a temporary issue.

unfortunately I'm still locked. Is this repository the correct one?

root@mail:/etc/apt/sources.list.d# cat /etc/apt/sources.list.d/sogo-nightly.list
deb https://packages.inverse.ca/SOGo/nightly/5/debian stretch stretch

iRedMail with active directory: different base domain

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): latest
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Ubuntu 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Just finished installed iredmail and followed the guide to intergrade with Active directory. I can query a user and get the answer:

# postmap -q user@hypernite.local ldap:/etc/postfix/ad_sender_login_maps.cf
user@hypernite.local

But I want the mail domain as 's.hypernite.com' and when I query a user as:

# postmap -q user@s.hypernite.com ldap:/etc/postfix/ad_sender_login_maps.cf

It returns nothing.

My configuration of /etc/postfix/ad_sender_login_maps.cf:

server_host     = #SENSITIVE INFO MASKED
server_port     = 389
version         = 3
bind            = yes
start_tls       = no
bind_dn         = administrator
bind_pw         = #SENSITIVE INFO MASKED
search_base     = OU="Hyper Staff Accounts",OU=HyperGroup,DC=hypernite,DC=local
scope           = sub
query_filter    = (&(userPrincipalName=%s)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
result_attribute= userPrincipalName
debuglevel      = 0

/etc/postfix/ad_virtual_mailbox_maps.cf:

server_host     = #SENSITIVE INFO MASKED
server_port     = 389
version         = 3
bind            = yes
start_tls       = no
bind_dn         = administrator
bind_pw         = #SENSITIVE INFO MASKED
search_base     = OU="Hyper Staff Accounts",OU=HyperGroup,DC=hypernite,DC=local
scope           = sub
query_filter    = (&(objectclass=person)(userPrincipalName=%s))
result_attribute= userPrincipalName
result_format   = %d/%u/Maildir/
debuglevel      = 0

Last but not least /etc/postfix/ad_virtual_group_maps.cf:

server_host     = #SENSITIVE INFO MASKED
server_port     = 389
version         = 3
bind            = yes
start_tls       = no
bind_dn         = administrator
bind_pw         = #SENSITIVE INFO MASKED
search_base     = OU="Hyper Staff Accounts",OU=HyperGroup,DC=hypernite,DC=local
scope           = sub
query_filter    = (&(objectClass=group)(mail=%s))
special_result_attribute = member
leaf_result_attribute = mail
result_attribute= userPrincipalName
debuglevel      = 0
Viewing all 43456 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>