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

cron messages like crazy

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5
- Linux/BSD distribution name and version: Ubuntu
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

Hello,

I suddenly today start receiving every 30 seconds the following message:

<0x0x1ec6708[SOGoProductLoader]> SOGo products loaded from '/usr/lib64/GNUstep/SOGo':
<0x0x1ec6708[SOGoProductLoader]>   ActiveSync.SOGo, MainUI.SOGo, CommonUI.SOGo, MailPartViewers.SOGo, MailerUI.SOGo, ContactsUI.SOGo, PreferencesUI.SOGo, Mailer.SOGo, AdministrationUI.SOGo, Contacts.SOGo, Appointments.SOGo, SchedulerUI.SOGo

any ideas why or how to stop it?


Re: cron messages like crazy

$
0
0

if you want to disable this stdout/stderr message produced by cron task, try this:

*   *   *   *   *   /usr/sbin/sogo-tool expire-sessions 30 >/dev/null; /usr/sbin/sogo-ealarms-notify >/dev/null

Re: SOGo update

$
0
0

Dont "remove" the task. Instead, redirect the stdout/stderr like this:

*   *   *   *   *   /usr/sbin/sogo-tool expire-sessions 30 >/dev/null; /usr/sbin/sogo-ealarms-notify >/dev/null

Re: cron messages like crazy

$
0
0

Thank you both! that solved the issue

Re: SOGo update

Re: SOGo update

$
0
0

I dare say you need 2>&1 at the end of the command to redirect the errors to /dev/null as well. e.g

*   *   *   *   *   /usr/sbin/sogo-tool expire-sessions 30 >/dev/null; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1

Re: SOGo update

$
0
0

you're right. use '>/dev/null 2>&1', or '&>/dev/null' for this purpose.

Re: SOGo update

$
0
0

half of success but I'm still getting emails from cron every min. http://i.imgur.com/ulVTxui.png

crontab -e -u sogo

*   *   *   *   *   /usr/sbin/sogo-tool expire-sessions 30 >/dev/null; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1
# SOGo vacation messages expiration
# The credentials file should contain the sieve admin credentials (username:passwd)
0   0   *   *   *   /usr/sbin/sogo-tool update-autoreply -p /etc/sogo/sieve.cred > /dev/null 2>&1

External SMTP - Not Passing SASL username and password

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version:  CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?  no
- Related log if you're reporting an issue:
====

Hello all,

I am having some issues using Mailgun as my external smtp server for all accounts.

iRedMail works perfectly out of the box using the local server for sending all mail.  So no issues with that.

But as soon as I add these lines to my main.cf files, I get relay denied from Mailgun.

relayhost = [smtp.mailgun.org]:25
smtpd_sasl_auth_enable = yes
smtp_sasl_password_maps = static:XXXXXX:XXXXXXX
smtp_sasl_security_options = noanonymous
smtpd_tls_auth_only = yes

Mailgun has said that the sasl password is not being sent so that is why I am getting relaying denied.  No authentication.

My log looks like this.

Apr 14 14:59:44 testing postfix/smtp[24152]: B3F258800512: to=<michael@xxxxxxx.com>, relay=smtp.mailgun.org[54.149.68.173]:25, delay=0.55, delays=0.01/0.03/0.4/0.12, dsn=5.7.1, status=bounced (host smtp.mailgun.org[54.149.68.173] said: 550 5.7.1 Relaying denied (in reply to RCPT TO command))

I have also tried all ports.

It seems as if iRedMail has a conflict with sasl_password_maps. 

Any help?

Thanks.

Re: Root mail issue using different myhostname and mydomain in Postfix

$
0
0

Server hostname cannot be one of your mail domains stored in SQL/LDAP. We need postfix to deliver email to both <system_user>@<server_hostname> and <user>@<mail_domain>.

Re: user profile change logs...

$
0
0
ane20397 wrote:

But there are no logs under System --> Admin --> Edit account profile although I edited the profiles of some users. i.e. I changed some users from normal users to Global admins and I changed some users from global admins to normal users.

This is "bug" of iRedAdmin-Pro, it doesn't track all profile changes. I will try to improve it in future release.

Besides "changed some users from normal users to Global admins" and "changed some users from global admins to normal users.", any other changes you want to log?

Re: External SMTP - Not Passing SASL username and password

$
0
0

I guess you should use port 587 instead of 25?

Re: SOGo update

$
0
0

See this one?

/usr/sbin/sogo-tool expire-sessions 30 >/dev/null

There're 2 commands in one cron task.

Re: External SMTP - Not Passing SASL username and password

$
0
0

I have tried all of their ports.  25, 2525 and 587.  Same thing on all.

Mike

Re: SOGo update

$
0
0

I also completely deleted sogo cron jobs and still getting cron error.

It seems there are another cron running.

$ tail /var/log/cron.log

Apr 14 20:56:01 anubis CRON[29619]: (sogo) CMD (/usr/sbin/sogo-ealarms-notify)
Apr 14 20:56:01 anubis CRON[29620]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 60)
Apr 14 20:57:01 anubis CRON[29721]: (sogo) CMD (/usr/sbin/sogo-ealarms-notify)
Apr 14 20:57:01 anubis CRON[29722]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 60)

Error:

Cron <sogo@anubis> /usr/sbin/sogo-ealarms-notify
<0x0x26ff580[SOGoProductLoader]> SOGo products loaded from '/usr/lib/GNUstep/SOGo':
<0x0x26ff580[SOGoProductLoader]> CommonUI.SOGo, Appointments.SOGo, MailerUI.SOGo, MainUI.SOGo, PreferencesUI.SOGo, Mailer.SOGo, SchedulerUI.SOGo, AdministrationUI.SOGo, MailPartViewers.SOGo, Contacts.SOGo, ActiveSync.SOGo, ContactsUI.SOGo

Its seems this error doesn't come actually from cronjob defined in crontab -e -u sogo. Please help me how should i debug where it comes from.

Update:
So I find out that, the another cron was running from /etc/cron.d/sogo. I dont know why were those enabled but after commenting out every job in that file everything works again.


Set Postfix to relay only for users not found or relay outgoing only?

$
0
0

==== Required information ====
0.9.6 - iRedMail version (check /etc/iredmail-release):
CentOS 7 - Linux/BSD distribution name and version:
MySQL {MariaDB)- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
Apache - Web server (Apache or Nginx):
iRedAdmin - Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

Hello and thank you for your time and assistance.  We currently run Exchange 2010 for about 300 users.  We have 1500 people who work outside the office and have various unprofessional emails from gmail, etc.  I've been instructed to set up an email server (paid or unpaid) that would handle these users.  The boss referred me to SmarterMail, but I'm not a fan, once you start adding up the extra fees.

I decided to try iRedMail after reading reviews and feedback.

I successfully set up a server and configured my exchange server to play nicely with iRedMail. I had it set with @fr.muellerreports.com.  Anything not found in the Exchange server gets forwarded to iRedMail by exchange.  Everything works great.  However; the company would like everyone to have the same @muellerreports.com address and isn't thrilled with the @fr I came up with.  This is where I've had difficulties, and where the gnashing of teeth begins.
Actual Issue: Having 2 mail servers using the same domain isn't ideal.  iRedMail won't send to exchange, and instead insists on sending to itself for @muellerreports.com

Actual Question:  Is there a way to get Postfix to only relay mail for unknown users and still accept incoming mail for users it does have in the database?  Alternatively, is there a way to only relay outgoing mail and accept incoming mail as normal?


SMTP Error (550): Failed to add recipient "blawrence@muellerreports.com" (5.1.1 <blawrence@muellerreports.com>: Recipient address rejected: User unknown in virtual mailbox table) 

If I disable the above, it sends but still sends to itself (mailerdeamon).  If I set up an SMTP transport, it sends but doesn't accept incoming mail for muellerreports.com

If there is a feature in iRedAdmin-Pro that can handle this, I'm fine buying the product as well.  I also don't mind installing a product like Webmin if that will do the job, but I also intend to ensure we support the project, as long as I can get this to work.

Thank you again for any feedback and assistance.  If this is something that can be managed via iRedAdmin-Pro, please provide screenshots if possible, so that I can show "the boss" that it can be accomplished but this is what is needed.

Suggestion: Install lrzip and unzip

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

Hello Zhang,
while checking the mail.log file for amavisd startup messages, I noticed that following packlages were missing for proper unpack/check of attachments:

- lrzip
- unzip

I reinstalled them manually via "apt install lrzip unzip"

Maybe these packages can be included in the install script to allow amavis to check and unpack all different attachments.

Cheers,
Bernhard

Re: Setup iRedMail as Mail gateway for a subdomain

$
0
0
ZhangHuangbin wrote:

First of all, please share with me the software name you used to draw this diagram. big_smile

Oh, that´s just a quick draft I made with MS Visio 2016.
It´s quite amazing, what you can do with it if you are familiar with it.

BTW, if you need any debug logs, be my guest. It´s just a bit time consuming to mask all the confidential stuff hmm

Re: Setup iRedMail as Mail gateway for a subdomain

$
0
0
mg29 wrote:

So how can I make amavis signing the mails coming from my onsite mx?

Amavisd detects "local" domain by "@local_domain_maps" setting, you can try to list your sub-domain in it.

Re: Suggestion: Install lrzip and unzip

$
0
0

unzip will be installed by iRedMail, but not lrzip. I added in moment ago. thanks for the feedback. smile

Viewing all 43485 articles
Browse latest View live


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