Good vs. Evil

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
51 and now I was wondering why my application didn't send a mail to lenscas@localhost.....
It helps if I am actually looking at the mail on the same computer as the one that sends it when using localhost as the location it needs to send stuff to >_<

Hooray for working through ssh and forgetting about that fact :p
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
53 on a standart Debian install you can read "mail" that got onto your system. The project I work on needs to send an activation link when you made an account. I haven't hooked this up yet to a real mail server as I am lazy thus it uses the mail system from debian to "send" mails. Obviously they can only stay at localhost and the thing before the @ is equal to the user name.

Another thing is that I often work remotely on school projects when I am home as the project is already stored on my laptop (due to me working on them at school). This way I don't need to copy the database and files over to my desktop and back each time I need to switch from computer. This is done very easily as the filemanager I use can mount sftp-servers as pretty much normal drives allowing almost every application I use to work with said server.

The derp I made was that I was using mutt to check for the mail it should have send on my desktop, instead on my laptop which was supposed to send it to localhost. So...the program worked, I was just looking at the wrong computer >_>
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
54 So the server sent the email to itself, rather than your local computer, and then you checked your local computer for emails and it wasn't there because it never left the server. Got it.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
56 well, it was supposed to never leave the server. In fact I have been in that situation more times now then I can remember >_<
That is one of the things I don't like this setup, that and not being able to download stuff directly from the internet to the server but those minor "problems" are by far outclassed by the benefits of this setup
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
58 yes, just log into it with a terminal and ssh and the "server" is my laptop so that is also not a problem :p