Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • TLS vs STARTTLS // SPARK

    Solved Support mail
    8
    1 Votes
    8 Posts
    3k Views
    girishG
    @eddowding ah, great you managed to figure this out. indeed, cloudflare can only proxy http(s) and not email.
  • DMARC DNS records for outgoing mail settings.

    Discuss dmarc mail
    13
    0 Votes
    13 Posts
    3k Views
    whiskerpicklesW
    @micmc Can you share one of the domains so I can have a look?
  • Unable to access mailbox list

    Solved Support mail
    18
    0 Votes
    18 Posts
    3k Views
    girishG
    @jegillikin-0 mm, that shouldn't be the reason. But something for me to ask future users who hit the same problem.
  • Migrate Email Server Data (mailboxes) to Cloudron

    Support mail
    8
    0 Votes
    8 Posts
    2k Views
    P
    @nj Use this: https://omm.ovh.net/ , very fast and no any data amount limitations.
  • Frequent "/mail was restarted (OOM)" on several servers

    Solved Support mail oom
    19
    1 Votes
    19 Posts
    3k Views
    girishG
    @msbt yes, thanks for reaching out, will take a look.
  • POP3 / gmail polling support

    Solved Feature Requests mail gmail pop3
    28
    3 Votes
    28 Posts
    7k Views
    E
    @girish WHOOP!!! Thank you!!
  • DNS questions

    Solved Support mail dns
    11
    0 Votes
    11 Posts
    2k Views
    P
    @d19dotca Okay, that is a bit confusing, but I will only be able to figure it out once I try it. I appreciate everyone's help and responses.
  • Free smtp services from google

    Discuss mail
    8
    0 Votes
    8 Posts
    2k Views
    ?
    @timconsidine Also good to point out is if the plan is to just use a personal google account's SMTP settings it will be severely rate limited.
  • 0 Votes
    5 Posts
    1k Views
    girishG
    @humptydumpty Yes, correct. Server restart won't fix the issue, have to restart the service explicitly (since it copies over certs).
  • Mailserver does not deliver to certain email addresses

    Solved Support spam mail
    11
    0 Votes
    11 Posts
    3k Views
    A
    I end this thread because I now have a more specific one going.
  • Afterlogic cannot send emails

    Solved Support mail
    17
    2
    0 Votes
    17 Posts
    3k Views
    C
    Mystery solved; The server i was hosting Afterlogic on turns out is just too slow. Checking the logs it would always time out, which is 15 seconds. I ran Afterlogic on a much faster server and now it sends emails just fine. Thanks all for your efforts to help me, it was much appreciated.
  • 0 Votes
    7 Posts
    2k Views
    girishG
    Not 100% sure but are there any files under /home/yellowtent/boxdata/mail/spamd/<mailboxname> ? Those are the per mailbox spamassassin bayes databases. Maybe it's picking up something from there?
  • Changing an existing mailbox name / email address

    Solved Support mail
    8
    0 Votes
    8 Posts
    1k Views
    micmcM
    @girish WOW that greatly simplifies the process, that's great, still always amazed at how CR makes sysadmin soooo much easier
  • VERP on Cloudron

    Moved Feature Requests mail verp espocrm mailtrain
    6
    2 Votes
    6 Posts
    1k Views
    imc67I
    @girish said in VERP on Cloudron: @imc67 this should already work . Support for sending emails with '+' (subaddress) format and sending emails as aliases was added a while ago. If the use case is with Espo, you have to make sure it scans the IMAP mailbox as well . Also: https://forum.espocrm.com/forum/general/58060-verp https://github.com/espocrm/espocrm/issues/1536 https://github.com/espocrm/espocrm/issues/1560 and Thanks!! I’ll give it a try!
  • 0 Votes
    2 Posts
    912 Views
    J
    Just found the solution here: https://forum.cloudron.io/topic/1279/receive-email/4 The problem was that AWS EC2 instances close port 25 by default. As soon as I opened it in the AWS console, I was able to receive emails.
  • How I can make "Mail FROM Address" persistent?

    Solved Support mail
    25
    1
    0 Votes
    25 Posts
    4k Views
    girishG
    This problem is not reproducible anymore.
  • 1 Votes
    11 Posts
    2k Views
    necrevistonnezrN
    @girish said in Anyone else see many connections denied due to "Mail from domain <domain> is not allowed from your host" repeatedly from spammy IPs?: @necrevistonnezr Ah, sorry! I misread. In my case, the sender is just spamming the hell out of me for video content. Sender is not trying to spoof. I guess you have to block by IP in the network firewall. Yeah, well, those IPs are never the same (see above) and even ranges are difficult to ascertain. Maybe an easy way to subscribe to a blocklist would help? (as suggested in my old topic linked above…)
  • BCC all outgoing mail

    Discuss mail
    6
    0 Votes
    6 Posts
    1k Views
    marcusquinnM
    @ccfu That's a good point. Probably one for their forum but I think I'd like that too so may help develop.
  • "Too many unrecognized commands" in email server

    Solved Support mail
    4
    0 Votes
    4 Posts
    974 Views
    girishG
    @d19dotca it's not a problem. Just the natue of any service being exposed to the internet. There a bots, misconfigured services, compromised iot devices doing all sorts of things. Nothing to worry.
  • Sharing custom SpamAssassin Rules

    Discuss mail spam
    77
    10 Votes
    77 Posts
    15k Views
    d19dotcaD
    @humptydumpty That's something I'd like to look into too, although I have a feeling the only thing that can really work its magic there is the Bayesian learning, so running the SpamAssassin learn commands. I've been running a script (with the help of ChatGPT, lol) like one below in case this helps as I find the Bayesian learning in Cloudron seems to be really manual or inconsistent at running (I think they've admitted that too in a post I saw somewhere the other month), and it's improved IMO with running this often. Personally I run this manually for now just because I wanted to make sure it was working, but I'll probably consider throwing this in a cron job soon enough. sudo docker exec -ti mail /bin/bash Run this script in the mail container: nohup bash -c ' MAILDIR="/app/data/vmail"; SPAMD_DIR="/app/data/spamd"; for user in $(ls "$MAILDIR"); do MAILBOX="$MAILDIR/$user/mail"; BAYES_PATH="$SPAMD_DIR/$user"; mkdir -p "$BAYES_PATH"; chown -R cloudron:cloudron "$BAYES_PATH"; chmod 700 "$BAYES_PATH"; echo "🔄 Training SpamAssassin for $user..." | tee -a /app/data/spamd/train.log; # Train spam from .Spam and .Junk folders (including subfolders) find "$MAILBOX/.Spam" "$MAILBOX/.Junk" -type d -name "cur" 2>/dev/null | while read folder; do echo "📂 Training SPAM from: $folder" | tee -a /app/data/spamd/train.log; sa-learn --spam --dbpath "$BAYES_PATH" --dir "$folder" | tee -a /app/data/spamd/train.log; done # Train ham from Inbox and Archive, but EXCLUDE Junk, Spam, Trash, Sent, and Drafts find "$MAILBOX" -type d -name "cur" 2>/dev/null | grep -Ev "/(\.Trash|\.Deleted Messages|\.Sent|\.Sent Messages|\.Drafts|\.Junk|\.Spam)/" | while read folder; do echo "📂 Training HAM from: $folder" | tee -a /app/data/spamd/train.log; sa-learn --ham --dbpath "$BAYES_PATH" --dir "$folder" | tee -a /app/data/spamd/train.log; done echo "✔ Completed training for $user! BAYES files stored in $BAYES_PATH" | tee -a /app/data/spamd/train.log; done; echo "🎉 SpamAssassin training completed for all mailboxes." | tee -a /app/data/spamd/train.log; ' > /app/data/spamd/train.log 2>&1 & It creates that train.log file and writes all the output to it so you can see it learning across all mailboxes for the Inbox and Archive folder as ham and the Junk/Spam folder as spam for all users. It's neat to see it saying it learned ham from 34 messages or something like that for each mailbox, haha. I think my latest spam rules are doing well the past week, so I'll likely be posting them here soon.