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

Re: SOGo password login fails


Re: install stops due to FQDN required in /etc/hosts

$
0
0

You're missing your TLD from your FQDN, that's why it's not happy with your choice of *.thirtynineohsix

You can still use mx.thirtynineohsix.local even if you don't have a domain name that you own, in fact all my servers with iRedMail are set up with .local domain names in the hosts file, it's the mail domain name that's important for the actual emails, not the host name.

Since you mention it's for your local network only, I'm assuming this is a lab server for testing and/or for personal use, in which case if you want a proper TLD that works over the internet and you don't want to pay, maybe consider getting a free domain at freenom.com

migrate or import gmail to iredmail

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? Downloadable Installer
- Linux/BSD distribution name and version: Ubuntu 18.04
- 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.
====

Hi Zhang and all Iredmail users,

My Boss is asking me to migrate our gmail account into iredmail but, i'm really new to iredmail and doesn't have idea.
Did somebody encounter this scenario and able to do it successfully? 

Your help is very much appreciated.

Thanks.
JunG

Re: migrate or import gmail to iredmail

$
0
0

In my experience the most reliable way to get all the data transferred would be to set up the gmail account in outlook (or your other preferred mail client) and do an export of the mailbox, then once done do your iredmail account in the same mail client and import the data you exported. (preferably this should be done with IMAP for the Gmail acc and also IMAP or ActiveSync for iRedMail)
There are applications that can do all this for you but majority of the decent ones will come at a price, which unless you're doing a lot of mailboxes it may not be worth...

You may also want to set up an automatic forwarding on your gmail acc so new future emails sent there will deliver to iRedMail as well

Re: migrate or import gmail to iredmail

$
0
0
MuPp3t33r wrote:

In my experience the most reliable way to get all the data transferred would be to set up the gmail account in outlook (or your other preferred mail client) and do an export of the mailbox, then once done do your iredmail account in the same mail client and import the data you exported. (preferably this should be done with IMAP for the Gmail acc and also IMAP or ActiveSync for iRedMail)
There are applications that can do all this for you but majority of the decent ones will come at a price, which unless you're doing a lot of mailboxes it may not be worth...

You may also want to set up an automatic forwarding on your gmail acc so new future emails sent there will deliver to iRedMail as well

====================
Thanks MuPp3t33r,  I can export everyones mailbox as .mbox. However, i don't have any idea on how to import it in iredmail. likewise, the gmail domain is different from the one i used in iredmail.
I've read about the imapsync and saw the script but it's complicated.

Maybe you can share the steps on what you did in your end to getting this up and running?

Thank you so much..
JunG

Re: migrate or import gmail to iredmail

$
0
0

What I did for my gmail account is add it as an IMAP account in Outlook, export the mailbox to a PST file, then add the iredmail account in Outlook and import the PST file

Re: migrate or import gmail to iredmail

$
0
0

Hi MuPp3t33r,

Thanks for the idea. but it's a very tedious process. imagine, let say, i have 600 users and of course not all of them are using outlook. some are just using browser.

Is there any issue if it's not using identical domain name? because the gmail is using different domain and my iredmail is also using different domain.

Thank you so much.
JunG

Re: migrate or import gmail to iredmail

$
0
0

Ah, I assumed it would just be a single gmail acc smile
You're definitely going to want 3rd party software to handle it for you, a quick Google search indicates that imapsync might be a useful option, someone wrote a tutorial HERE that you can see, I've not tried it though.

As for your query on domain names, that shouldn't matter as it is simply copying the messages across, only your replies to any copied messages will come from your new domain instead of gmail.com


Re: migrate or import gmail to iredmail

$
0
0

Hi MuPp3t33r,

Thanks again for the swift reply.

Yes, i need to migrate all the company email account (600 - 1000 users)

for the imapsync, yes, i've already following the steps on that site.. but i'm getting error. i need to do trial and error until i got it working.  smile and smile


Any help from iredmail guru is really much appreciated...

Thanks
JunG

Re: SOGo password login fails

$
0
0

It was a part of iRedMail Installation and it was working foe a while.
It seems, that one of the updates has replaced everything with default files.
After applying the new config I get a 502 error because of:

/usr/sbin/sogod: Uncaught exception NGDidNotFindServiceException, reason: did not find service PH_SOGO_BIND_PORT

So, the SOGo Installation seems to be broken.

How can I reinstall it (or just reconfigure it) without losing all other settings and affecting the whole Mail system?

Re: install stops due to FQDN required in /etc/hosts

$
0
0

Thank you for replying!   It wasn't exactly the help I needed, but it did set me off in the right direction ... on a bit of an adventure.   Also, I wasn't aware of the free TLDs so thanks, that will be fun (:

I tried what you suggested and added mx.thirtynineohsix.local and mx.local to /etc/hosts but to no avail.  When that didn't work, I wondered, "what are the TLDs this script will accept?"  Here's what I found

From conf/core:

check_hostname()
{
    echo ${HOSTNAME} | grep '\.' &>/dev/null
    [ X"$?" != X'0' ] && \
        ECHO_ERROR "Please configure a fully qualified domain name (FQDN) in /etc/hosts before we go further.\n\nExample:\n\
n127.0.0.1   mail.iredmail.org mail localhost\n" && \
        exit 255
}

So you see, the iRedMail.sh setup script is firing the error I'm seeing out of conf/core where it doesn't like that there's no "." in the variable HOSTNAME (nothing to do with a TLD at all) ... so it tells me to update /etc/hosts

From conf/core:

# Hostname.
if [ X"${IREDMAIL_HOSTNAME}" != X'' ]; then
    # Read from 'IREDMAIL_HOSTNAME'
    export HOSTNAME="${IREDMAIL_HOSTNAME}"
else
    if [ X"${DISTRO}" == X'OPENBSD' ]; then
        export HOSTNAME="$(hostname)"
    else
        export HOSTNAME="$(hostname -f)"
    fi
fi

The problem is, it sets the variable HOSTNAME out of conf/global where it uses the output of "hostname -f"  ... that makes sense alright, but (at least on Ubuntu) "hostname -f" is based on the contents of /etc/hostname, and updating the hostname on Ubuntu isn't as straightforward as just editing /etc/hostname (you are supposed to use the hostnamectl service and edit cloud.cfg, if you're on a VM). 

The guidance error message confused me because it doesn't actually have nothing to do with /etc/hosts ... until it looks up the name in and matches that with an FQDN in /etc/hosts.   Specifically, if /etc/hostname is mx.example and in /etc/hosts mx is listed before mx.example "hostname -f" will just return "mx" (and "hostname" will return mx.example), so be sure to follow the rules for ordering the aliases on the line in /etc/hosts.


Hopefully this helps someone, I've at least gotten to the first curses screen of the setup wizard now.





MuPp3t33r wrote:

You're missing your TLD from your FQDN, that's why it's not happy with your choice of *.thirtynineohsix

You can still use mx.thirtynineohsix.local even if you don't have a domain name that you own, in fact all my servers with iRedMail are set up with .local domain names in the hosts file, it's the mail domain name that's important for the actual emails, not the host name.

Since you mention it's for your local network only, I'm assuming this is a lab server for testing and/or for personal use, in which case if you want a proper TLD that works over the internet and you don't want to pay, maybe consider getting a free domain at freenom.com

Re: Multidomain Sharing of Mails, Calendars and Contacts

$
0
0

Hi Zhang,

thanks for your reply.

This is what i initially also thought and tried it again but it does not work. Only users of the same domain are offered for sharing.
I changed it in the SOGoUserSources for authentication and also in the addressbook.

Do you maybe have another idea how i can enable this feature.

Thanks for your support!

Best Regards, Alex

Re: Server rejecting "dynamic" IP host when it is not

$
0
0

I thought i had replied to this earlier. I guess I did not press the Submit button.

It is a normal server hosted in Cloudflare as far as I can tell.

SPAM checks for originating mails

$
0
0

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

Is it possible to differ between sending and receiving spam mail?

i want to archive the following:

- receive all incoming mails regardless off spam/bad header/virus/banned files, but dont send DSN if it is spam/virus
- reject sending spam/bad header/virus (reject, not bounce) with specified spam levels

Currently the spam settings are global, just want to know how i can archive different settings for originating mails (or for another policy bank)

Re: SPAM checks for originating mails

$
0
0

i altered the policy bank for igigination to the following:

$interface_policy{'10026'} = 'ORIGINATING';
$policy_bank{'ORIGINATING'} = {
    originating                            => 1,
    allow_disclaimers                    => 1,
    enable_dkim_signing                    => 1,

    virus_admin_maps                    => ["root\@$mydomain"],
    spam_admin_maps                        => ["root\@$mydomain"],
    bad_header_admin_maps                => ["root\@$mydomain"],
    banned_admin_maps                    => ["root\@$mydomain"],
   
    final_spam_destiny                  => D_REJECT,
    final_virus_destiny                    => D_REJECT,
    final_banned_destiny                => D_PASS,
    final_bad_header_destiny            => D_REJECT,
   
    sa_spam_modifies_subj                 => 1,
    sa_spam_subject_tag                 => '[ SPAM ] ',
    undecipherable_subject_tag             => '[ UNCHECKED ] ',
    #subject_tag_maps_by_ccat{+CC_BANNED}=> '[ BANNED ] ',
   
    bypass_spam_checks_maps            => [0],
    bypass_virus_checks_maps        => [0],
    bypass_banned_checks_maps        => [0],
    bypass_header_checks_maps        => [0],
   
    spam_tag_level                      => -999,
    spam_tag2_level                 => 2,
    spam_tag3_level                 => 5,
    spam_kill_level                    => 7,
    spam_dsn_cutoff_level             => 7,
   
    warnbadhsender                    => 0,
    warnbannedsender                => 0,

    smtpd_discard_ehlo_keywords => ['8BITMIME'],
    terminate_dsn_on_notify_success => 0,   
};

But is till uses the SQL policy bank, how can i prevent this?


Re: install stops due to FQDN required in /etc/hosts

$
0
0

I always follow the guide (as documented here) on all my Debian installs, which should be the same for your Ubuntu. Maybe just give it a double-check over smile

SoGo ActiveSync Outlook Error Mail size and mail hang in the o

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version: 1.0
- downloadable installer
- Debian 10.2
- Mysql (MariaDB)
- Nignx
- No iredMail Pro
- Fresh Install from Dez, 2019
====

Hi,

I have increased the outgoing mail size to 50 MB in the Postfix and SoGo configuration and restarted the service. Nevertheless, mails remain in the Outlook outbox and are not processed via ActivSync.

Where do I have to adjust the sizes for the sync.

From time to time Outlook complains before sending the message that this would exceed the limit.

I have screenshots of the error messages, but unfortunately only in German.

Undelivered Mail Returned to Sender Error

$
0
0

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

Hi everyone,

Why i'm experiencing Undelivered Mail return to sender error most of the time as below:

This is the mail system at host mydomain.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<me@mydomain.com>: Host or domain name not found. Name service error
    for name=mail.mydomain.com type=A: Host not found

"The scenario happens intermittently, even right after sending a message successfully to the same recipient and when i send another email to that recipient i'm getting mailer daemon."  What is really the problem?

Thanks,
JunG

Re: Why are you interested in iRedMail?

$
0
0

Re: Undelivered Mail Returned to Sender Error

$
0
0

This is the mail system at host mydomain.com
Name service error for name=mail.mydomain.com

Seems you have an MX record for mydomain.com pointing at mail.mydomain.com, but mail.mydomain.com has no A record.
Adding an A record for mail.mydomain.com should fix the problem

Viewing all 43363 articles
Browse latest View live


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