hey forumists:
when i set up my UCS (core) back then I chose the given opetions and quotas that installing a LMU suggested. Now I am on UCS 4.3-2 err 298 and am wondering (after the upgrade process was a bit bumyp due to some baroes-thing)… where does fetchmail store incoming emails?
I just want to avoid a full disc… and so I was wondering how to change the storing path… or maybe there’s a different solution on how to grant more quota to the LMU.
Sorry that might sound a bit strange… but wells… I’m still kind of a beginner.
Thanks in advance for all your helpful hints and solutions.
cheers
Jimmy
Hey,
fetchmail never stores incoming mail. Immediately after reading a mail from your POP3 or IMAP server, it contacts a mail transport agent (MTA) via SMTP (usually localhost:25
) and hands the mail over to it. What the SMTP server does depends on your configuration (e.g. delivery to Dovecot which might store mails in /home/username/…
or somewhere in /var/spool/…
or delivery to Kopano which stores mails in a MySQL database which in turn stores its files in /var/lib/mysql
).
Kind regards,
mosu
as i have enabled dovecot (and horde) i think i’m gonna look at the suggested path /home/username/...
first
thanks so far @Moritz_Bunkus
Just FYI: if you’re using Dovecot via Univention’s own mail setup, it will store mails in /var/spool/dovecot/private/<domain>/<username>/…
, not in /home/<username>/…
. That /home/…
was just an example.
hey moitz… thanks for this very useful additional information.
is there any way to store the mails in a different place? and if yes: how do i change it?
Why are you trying to store mails somewhere else? Are you running into free space problems?
Normally UCS is set up with LVM volumes. It’s easy to extent an existing volume group & logical volume by adding a new hard disk, adding that to the volume group & resizing the existing logical volume. You can google for tutorials how to do that; there are plenty all around (both in general as well as specific for UCS).
If you’re not using the logical volume manager, you can also add a new hard disk, move all content from /var/spool/dovecot`` to it and mount the new hard disk as
/var/spool/dovecot`.
Both methods do not require any changes to existing configuration (apart from the mount entry in /etc/fstab
in the second case). Personally I highly prefer the first approach.
1 Like
thanks for these smart considerations…
i might do either no 1 or even no 2.
but i read between the lines that there isn’t any “easy” solution like a variable that could be changed to point to a different location… sigh