Quantcast
Channel: iRedMail
Viewing all 45914 articles
Browse latest View live

Re: Top Senders Top Recipients

$
0
0
MariaDB [amavisd]> DESC maddr;
+---------------+---------------------+------+-----+---------+----------------+
| Field         | Type                | Null | Key | Default | Extra          |
+---------------+---------------------+------+-----+---------+----------------+
| partition_tag | int(11)             | YES  | MUL | 0       |                |
| id            | bigint(20) unsigned | NO   | PRI | NULL    | auto_increment |
| email         | varbinary(255)      | NO   | MUL | NULL    |                |
| domain        | varchar(255)        | NO   | MUL | NULL    |                |
+---------------+---------------------+------+-----+---------+----------------+

Re: Roundcube plugins

$
0
0

Thank you, that did it!

I'll take a snapshot of the machine before I screw it up the next time, promise! big_smile

mlmmjadmin mail list from command query

$
0
0

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

I would like to create mail list from python maillist_admin.py which can create UNRESTRICTED mail list.

If I hit following command it creates list but default is ONLY SUBSCRIBER CAN SEND to LIST.

python maillist_admin.py create list@domain.com disable_archive=yes

I just want to create unrestricted mail list where any one can send mail to the list. as per official document only_subscriber_can_post=yes is default when you create new list.

if i hit below command it creates moderated list:

python maillist_admin.py create list@domain.com disable_archive=yes  close_list=yes only_subscriber_can_post=no only_moderator_can_post=no

or

python maillist_admin.py create list@domain.com disable_archive=yes  close_list=yes only_subscriber_can_post=no

I cannot create unrestricted mail list using command where everyone can send email. it always defaults to subscribers can post or moderated lists are being created.

I do have iRedAdmin-Pro but that will take lots of time when creating more than 300 mail list so just thinking to go with commands but not getting required results.

iRedAdmin-Pro do provide migrate option but that is also time consuming where we do not have select all and migrate option or any migration script where all existing mail list will be migrated with desired options.

Is there any work around?

Re: mlmmj subscription emails missing

$
0
0

Try to stop service and check how many processes are running.

As per

/opt/mlmmjadmin/rc_scripts/uwsgi/rhel.ini

value of processes is defined (default 5), so that many processes will be active.

And in your case:

is user craig@example.net exist? log shows user unknown check if dovecot is getting proper results if user actually exist:

Oct  7 20:21:39 my postfix/pipe[23475]: 4C239C5A3E0: to=<craig@example.net>, relay=dovecot, delay=0.02, delays=0/0/0/0.02, dsn=5.1.1, status=bounced (user unknown)

Re: MAIL SERVER High Availability

$
0
0

You can try setting up 2 IPs for 2 hostnames MX records in your Domain DNS settings having same priority. I had set this earlier when I had single server which worked fine for me. You just need to test it out.

e.g.
2 hostnames
2 IPs
10 Priority same for both hosts

Re: Problem with mlmmjadmin

$
0
0
ZhangHuangbin wrote:

Is mlmmjadmin service running?

Yes
# ps aux |grep [m]lmmj
mlmmj     3469  0.0  0.0 100384 11784 ?        S    09:21   0:00 uwsgi -d --ini /opt/mlmmjadmin/rc_scripts/uwsgi/debian.ini --pidfile /var/run/mlmmjadmin/mlmmjadmin.pid --log-syslog
mlmmj     3527  0.0  0.0 100384  8824 ?        S    09:21   0:00 uwsgi
mlmmj     3528  0.0  0.0 100384  8824 ?        S    09:21   0:00 uwsgi
mlmmj     3529  0.0  0.0 100384  8820 ?        S    09:21   0:00 uwsgi
mlmmj     3530  0.0  0.0 100384  8824 ?        S    09:21   0:00 uwsgi
mlmmj     3531  0.0  0.0 100384  8824 ?        S    09:21   0:00 uwsgi

# service --status-all
.........
[ + ]  mlmmjadmin
...........

Re: Iredmail as ldap server for FreeNAS-11.1-U5

$
0
0

Dear Zhang,
  I have some breakthrough on having freenas to used iredmail ldap, i know what attributes is lacking in iredadmin so it can make freenas to use it successfully, i have test and it work. I am using ldapvi tools to add necessary attributes in the ldap.
Now i know what to do, i like to try to changes some code in your iredadmin so that once i create users, and mail list, it will add necessary attributes on its ldap to have work. And now I want to ask?

1. On creating user or group in iredadmin, what is the code i need to modify? and where is it?

I found the forum https://forum.iredmail.org/topic3050-ir … entry.html
is this the script adding data on ldap?

Thanks
Napoleon

Re: mail goes directly to spam

$
0
0
ZhangHuangbin wrote:

I think Gmail or Google G Suit need some time to measure your domain/ip reputation for new server.


Thanks for reply.

Any Idea how to fix this?
Did anybody else have this problem?


Re: mlmmjadmin mail list from command query

$
0
0
ketan.aagja wrote:

python maillist_admin.py create list@domain.com disable_archive=yes  close_list=yes only_subscriber_can_post=no only_moderator_can_post=no

Could you show me file names under /var/vmail/mlmmj/<domain>/<list>/control/?

Re: mlmmjadmin mail list from command query

$
0
0

Here are the files on list@domain.com/control location:

customheaders
listaddress
moderators
noarchive
noget
owner
smtpport
subonlyget
tocc


Command used to create list:

python /opt/mlmmjadmin/tools/maillist_admin.py create list@domain.com disable_archive=yes only_subscriber_can_post=no only_moderator_can_post=no

Files contents:
customheaders - List-Unsubscribe: <mailto:list+unsubscribe@domain.com?subject=Unsubscribe>
X-Mailing-List: list@domain.com
List-Subscribe: <mailto:list+subscribe@domain.com?subject=Subscribe>
Precedence: list

listaddress - list@domain.com
moderators - postmaster@domain.com
owner - postmaster@domain.com
smtpport - 10027

rest all files are blank

Spam is refused by Gmail but remains in mailq

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8 MARIADB edition.
- Linux/BSD distribution name and version: Ubuntu 18.04.1 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.
====

For a particular domain we have setup around 30 mailboxes that are all forwarders, forwarding to Gmail accounts.
The forwardings were setup in the forwardings table of the vmail MySQL database.

We see spam messages coming in that are refused by Gmail but remain in the Postfix mailq.
An example message we see is like this:

3E4355DEEA  2947 Thu Oct 11 12:21:35 dosne@mercersburgstore.com
(host alt1.gmail-smtp-in.l.google.com[64.233.165.26] said: 421-4.7.0 [159.69.53.82 15] Our system has detected that this message is 421-4.7.0 suspicious due to the nature of the content and/or the links within. 421-4.7.0 To best protect our users from spam, the message has been blocked. 421-4.7.0 Please visit 421 4.7.0 https://support.google.com/mail/answer/188131 for more information. c144-v6si21976269lfd.82 - gsmtp (in reply to end of DATA command))
some.address@gmail.com (changed for privacy reasons).

What is the best practise to handle this? I now delete these messages manually from the mailq.

Re: MAIL SERVER High Availability

$
0
0
ketan.aagja wrote:

You can try setting up 2 IPs for 2 hostnames MX records in your Domain DNS settings having same priority. I had set this earlier when I had single server which worked fine for me. You just need to test it out.

e.g.
2 hostnames
2 IPs
10 Priority same for both hosts

you only need one domain, with the two IPs as different MX.  If you want one as primary and the other as failover then set the mx priorities differently, with the main one having a lower number as priority.

Re: mlmmjadmin mail list from command query

$
0
0

Moreover I think directly adding of moderators via maillist_admin.py is not integrated as following commands does not work

python /opt/mlmmjadmin/tools/maillist_admin.py add_moderator list@domain.com user@domain1.com
python /opt/mlmmjadmin/tools/maillist_admin.py add_moderators list@domain.com user@domain1.com
python /opt/mlmmjadmin/tools/maillist_admin.py list@domain.com add_moderator=user@domain1.com
python /opt/mlmmjadmin/tools/maillist_admin.py list@domain.com add_moderators=user@domain1.com 

Re: mlmmj subscription emails missing

$
0
0

Thanks for trying to help, but I posted in the PRO forum because I'm looking for support from the PRO creator and maintainer of the PRO software. I doubt that zombie processes are defined anywhere, and the answer to your question is contained in my original post.

adding listening port for local connection

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: Ubuntu 18.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello,
I have in my local infrastructure some applications who are not able to send mail in submission port with TLS auth.
I would like to add on Iredmail a new listening port with less authentication security level only from 1 or 2 inside ip address
For exemple : to be able to accept receive mail on port 2525 without authentication like port 25...

Which file should I modify /etc/postfix/main.cf ? or more and what should I add and where ?
Is there another solution with iredmail for local communication ?

Thanks a lot


Re: adding listening port for local connection

Re: mlmmj subscription emails missing

$
0
0
craig wrote:

Oct  7 20:21:39 my postfix/pipe[23475]: 4C239C5A3E0: to=<craig@example.net>, relay=dovecot, delay=0.02, delays=0/0/0/0.02, dsn=5.1.1, status=bounced (user unknown)

This means Postfix piped email to Dovecot LDA, but Dovecot can NOT find this user by sql/ldap query. It's not related to mlmmj in this case (according to this log line).

You need to turn on debug mode in Dovecot and try again, then find related log from Dovecot log files for troubleshooting.

FYI: http://www.iredmail.org/docs/debug.dovecot.html

Re: mlmmjadmin mail list from command query

$
0
0
ketan.aagja wrote:

Here are the files on list@domain.com/control location:

The file names under this dir seems fine.
What's the error message in Postfix log file when you send email to this mailing list? I need relevant log for troubleshooting.

Re: Spam is refused by Gmail but remains in mailq

$
0
0

Gmail rejection message says the mail content is considered as spam. iRedMail antispam softwares may not be able to detect this as spam, so it will go through.

- Did these forwarding-only mail accounts receive this email and forward to their personal Gmail account?
- Check Postfix log file, did Amavisd consider this is spam when it enters mail queue?

Re: Iredmail as ldap server for FreeNAS-11.1-U5

Viewing all 45914 articles
Browse latest View live




Latest Images