Hardcode
for instance https://dpaste.org/04A5
Hardcode
that's the code I'm using fo install on the mirror
Hardcode
"why only 64gigs" - because there's an old bug in FreeBSD loader: when you have like 4T or bigger disks, boot blocks can actually migrate beyond the fist 2T, then (worst thing this "then" can happen long ago since the installation, say, spontaneous moment after one year, when booting) zfs loader starts to complain about bad MOS and corrupted zpool (though it isn't corrupted, that's the zfs loader point of view)
Hardcode
(dunnow if the UEFI be is vulnerably to this)
Hardcode
ofc feel free to fix the da0-da1 hardcoded block device names
Hardcode
(actually I use these two scripts in pair)
Hardcode
and the /usr/freebsd-dist path is subject to change, so if you use this from some mfsroot in some [Hetzner] DC this can vary.
Hardcode
(time to stop lecturing I guess)
Jeff
that's great stuff, thanks. I'm testing some changes now; build server at work, me at home, slow connection. :^)
Suraj
I am trying to setup email server in FreeBSD, I was wondering
Suraj
why do I need dovecot? Why can't I just scp or manually download email files on my local computer, with some script.
Krond
Well, reading them from IMAP so you can have read/unread status through all your deveices is much easier.
Krond
Plus threading and stuff.
トミ
why do I need dovecot? Why can't I just scp or manually download email files on my local computer, with some script.
i use a maildir that i rsync to my local computer and read with mutt. i send emails by logging into my mailserver with ssh and write the mail with mutt. you don't need it
Suraj
but @hp41c as @krond said, how do u get all thsoe, read / unread status. ?
トミ
Well, reading them from IMAP so you can have read/unread status through all your deveices is much easier.
yeah, but what if there is a vulnerbility in dovecot. the less programs, the less insecurity...
トミ
Suraj
@hp41c cool, I like that, it's simple, I have been trying so much to setup ,, All of this, it's so pain, but it's easy to setup just postfix with opendkim, do u use rspamd ? or true sigma ..recognize spam by his own?
Suraj
@hp41c u forgot to press return key
トミ
@hp41c cool, I like that, it's simple, I have been trying so much to setup ,, All of this, it's so pain, but it's easy to setup just postfix with opendkim, do u use rspamd ? or true sigma ..recognize spam by his own?
spam is not really an issue. it's just a few emails. (pro tip: create different adresses for each service so you can trace who leaked your address). i have a blacklist to block certain mail. thats all. (just don't choose a common mail adress like john@) and i use OpenSMTPD/OpenBSD which is very comfy and easy to setup. OpenSMTPD should be in FreeBSD ports...
トミ
@hp41c u forgot to press return key
no i did not, i was doing other things...
Suraj
okay so I can look into OpenSMTPD, I always thought postfix is best. never thought of looking other MTA
Krond
Just a month or so I got an idea to write a mail-to-tg delivery bot, and it sounds like I really need to get into coding... Simple thing that just can deliver mail to telegram without talking to other mail servers.
Krond
SMTP nowadays is a huge thing, you need to be fluent with DMARC, greylisting, blacklisting, SPF, have profiles on hotmail/gmail for bulk email submission…
トミ
SMTP nowadays is a huge thing, you need to be fluent with DMARC, greylisting, blacklisting, SPF, have profiles on hotmail/gmail for bulk email submission…
depends on how huge your setup is. mine is one main server and a managed mail service for a couple of bucks that i use as backup. i only have SPF and reverse MX. now if you start to have many users or sending mass mail then it gets a bit more complicated. the more servers you need for your mail platform, the more complex stuff gets... but my mails do reach most recipients, even gmail and hotmail. but the odd might land in spam, which is fine. my opinion on this topic is: if the user uses MS hotmail/outlook then they don't really want to get emails anyways...
Krond
For last few years I settled up with idea that you have to use GMail/Hotmail for business needs. I just don't think this is Email actually, it's already a totally different service, and all business clients moved there.
Krond
Please get me right, I'm running my own mail server with all that stuff I mentioned, and it's my daily driver. And I'm not getting that much spam.
Krond
But I can't compete with huge business players, who take responsibility for tracking and eliminating phising emails and other neat stuff that makes security job easy in a huge companies.
トミ
For last few years I settled up with idea that you have to use GMail/Hotmail for business needs. I just don't think this is Email actually, it's already a totally different service, and all business clients moved there.
Exchanger Server Online offers at least traceback of mail but it has wierd routes that ignore MX records, G Suite does not as far as i am aware of. i'm thinking of deleting my google and hotmail account (both consumer versions) and i don't have my """enterprise""" accounts anymore, because it's not worth it suppose someone invites you to a google meets hangout or just sends you a mail using your email address that is also a google account, then this will give them further information about you. i don't like that.
トミ
But I can't compete with huge business players, who take responsibility for tracking and eliminating phising emails and other neat stuff that makes security job easy in a huge companies.
it's easier than people imagine to run your own mail server. regarding phishing: i don't think that this problem can be "solved" by the operator. people need to stop being so dumb, but they are getting dumber instead of getting smarter...
Krond
You can't ask any person out there to understand, run and maintain a mail server. This will just raise amount of poorly managed forgotten spam gateways.
Krond
It's like asking people to only make food from stuff they raised and sure about it's freshness.
Arminio
You can't ask any person out there to understand, run and maintain a mail server. This will just raise amount of poorly managed forgotten spam gateways.
Correct, but I can offer free mailserver accounts to my friends and family, and I'd say that running a mail server isn't exactly hard, too.
Arminio
I mean those of us who are able to run mailservers should simply help others in setting one up. That's it. If you still prefer not running your own infrastructure, well fine with me, too. :)
ɴꙩᴍᴀᴅ
Don't get me wrong, the conversation is really interesting, but please if we are discussing general mail server topics, let's move that into the OT room and leave here the technical implementation over FreeBSD (:
Arminio
Oh we have one?
Krond
Moved to @freebsd_offtopics
Arminio
Mind linking me there? I'll be happy to continue over there.
ɴꙩᴍᴀᴅ
ɴꙩᴍᴀᴅ
You have sh, csh, tcsh and ksh
Krond
Depends on what you going to do. Shell? I'm fine with tcsh or ion. Scripting? I prefer pure sh. That's your preference after all.
トミ
It's like asking people to only make food from stuff they raised and sure about it's freshness.
the food example is bad one because we do expect resteauranteurs to make sure that the food they cook is fresh and prepared in an hygenic environment. i don't care about the average person. and frankly i believe that the average person should not be let anywhere near a computer
Anonymous
interactive or non-interactive?
Anonymous
bash or tcsh is good
Rafa
Merry Christmas !!!
Rafa
ɴꙩᴍᴀᴅ
😂 loved it!!
Rafa
Anonymous
😅👏🏾
Anonymous
😅👏🏾👍🏾
Krond
Щедрик / Carol of the Bells (с) Eileen
Krond
Merry Xmas to everyone!
Jaco
Merry Xmas everyone! 😊May all of you have/had a great day!
Alphvino / Bismarck ∆
Alphvino / Bismarck ∆
wow, i wasn't expecting only 6 packages
𝚂𝚑𝚊𝚢𝚊𝚗
lmao how
Alphvino / Bismarck ∆
the unbloated install
Alphvino / Bismarck ∆
𝚂𝚑𝚊𝚢𝚊𝚗
no It's bug
𝚂𝚑𝚊𝚢𝚊𝚗
533MiB RAM usage because of total 6 packages installed. damn only neofetch has +10 dependencies
Alphvino / Bismarck ∆
screenfetch says 25
Alphvino / Bismarck ∆
idk
𝚂𝚑𝚊𝚢𝚊𝚗
Neofetch only had like 1 dependency
yeah my bad, only needs bash.
𝚂𝚑𝚊𝚢𝚊𝚗
interesting
Alphvino / Bismarck ∆
Now tho i have a question How the heck am i using 500 mb of RAM with only 6 packages?
Alphvino / Bismarck ∆
Arch Linux with i3 uses 300 mb of RAM with 700+ packages
Alphvino / Bismarck ∆
𝚂𝚑𝚊𝚢𝚊𝚗
Unused RAM is wasted RAM
Unused RAM is wasted RAM. Nomad, 26 Dec 2021
トミ
Unused RAM is wasted RAM
yeah, but i counter with: give me the RAM and i'll find a use for it.
Z
Any problems with that processor? Graphics is accelerated?
Z
Lol thanks.
Neruq
FreeBSD consumes so much system resources with only 6 packages ?
XS
Graphical root on a desktop :(
XS
Probably zfs