1 (edited by Bronko 2014-10-15 04:16:40)

Topic: mail for local user "sogo" -SOGo Integration-

============ Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: ubuntu 12.04.5
- Related log if you're reporting an issue: /var/log/mail.log
====

Hi,

successful integrated SOGo by the tutorials, for now every 70 minutes a lot of these lines appears:

...
Oct 14 21:51:20 post postfix/qmgr[1288]: 8907840046CE: from=<>, size=2926, nrcpt=1 (queue active)
Oct 14 21:51:20 post postfix/qmgr[1288]: 80C904001048: from=<>, size=3246, nrcpt=1 (queue active)
Oct 14 21:51:20 post postfix/qmgr[1288]: 86CD6400463D: from=<>, size=2926, nrcpt=1 (queue active)
Oct 14 21:51:20 post postfix/local[3138]: 48F824004646: to=<sogo@HOSTNAME>, relay=local, delay=29855, delays=29855/0.01/0/0.02, dsn=4.3.0, status=deferred (temporary failure)
Oct 14 21:51:20 post postfix/local[3137]: 4F86D4004685: to=<sogo@HOSTNAME>, relay=local, delay=29855, delays=29855/0.02/0/0.02, dsn=4.3.0, status=deferred (temporary failure)
Oct 14 21:51:20 post postfix/local[3138]: 4C5EA4004659: to=<sogo@HOSTNAME>, relay=local, delay=29855, delays=29855/0.03/0/0.01, dsn=4.3.0, status=deferred (temporary failure)
...

I understand these are mails for the LOCAL user "sogo", not in LDAP, and the relay isn't dovecot.
How can I forward these mails to a LDAP user?

Jan

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: mail for local user "sogo" -SOGo Integration-

Could you please show me output of below command?

# crontab -l -u sogo

I fixed cron jobs for sogo user after sent email to mailing list. It should be:

# iRedMail: SOGo email reminder, should be run every minute.
*   *   *   *   *   /usr/sbin/sogo-ealarms-notify

# iRedMail: SOGo session cleanup, should be run every minute.
# Ajust the [X]Minutes parameter to suit your needs
# Example: Sessions without activity since 30 minutes will be dropped:
*   *   *   *   *   /usr/sbin/sogo-tool expire-sessions 30

# iRedMail: SOGo vacation messages expiration
# The credentials file should contain the sieve admin credentials (username:passwd)
0   0   *   *   *   /usr/sbin/sogo-tool expire-autoreply -p /etc/sogo/sieve.cred

By the way, if you want to check these emails, please add an alias in /etc/postfix/aliases like below:

sogo: root

Then execute command:

# postalias /etc/postfix/aliases

We have default alias entry for root user in this file, it's aliased to 'postmaster@xxx' - the admin created during iRedMail installation.

3

Re: mail for local user "sogo" -SOGo Integration-

ZhangHuangbin wrote:

Could you please show me output of below command?

# crontab -l -u sogo

THX, was empty, have created the crons with

crontab -e -u sogo

The simple uncomment in /etc/cron.d/sogo doesn't worked, unfortunately.

These fixed the issue under Cronjob EMail reminders -SOGo Integration-


ZhangHuangbin wrote:

By the way, if you want to check these emails, please add an alias in /etc/postfix/aliases like below:

sogo: root

Then execute command:

# postalias /etc/postfix/aliases

We have default alias entry for root user in this file, it's aliased to 'postmaster@xxx' - the admin created during iRedMail installation.

Tanks a lot, works as intended!