Comments (8)
That's for a version of the script used in a downloadable virtualbox file at http://downloads.friendica.eu/Friendica.zip which is intended for home installation, although a bit old, using Debian Squeeze.
There's not been any demand before for setting the SMTP to be included.
This should also work, add to /etc/hosts, if not already there
127.0.0.1 localhost.localdomain
In /etc/postfix/main.cf add
, localhost.localdomain to mydestination
restart postfix.
You should be able to use an email address of [email protected]
Unless you have reconfigured postfix, look at the file /var/mail/root for your email.
Correction - look in the user's Maildir (using latest version of the script)
from lowendscript-ng.
Prepared VirtualBox Friendica doesn't match my aim of testing if I could get it installed (to potentially be ran on a VPS later), so I'm working off a Debian 7.7.0 minimal x64 (in XenServer). Also, that download is not accessible for a while and as you said, outdated Debian Squeeze.
Previous attempts I changed the email to something existing.
Now I've started afresh, with the last version of the script fetched from github, and left the default
EMAIL=$USER@[127.0.0.1]
but no email seems to be arriving.
Since my goal would be to run it on VPS, not at home, this is not too relevant for me (except for a dev environment), but I thought it might be useful to know.
from lowendscript-ng.
I'm talking about the setup-debian.conf that gets opened in the very beginning...
I just remember that right before finishing it also asks for an email address, which I still used an existing one rather than [email protected]
What's the difference ?
And am I then to assume that first friendica registration gets admin access ?
from lowendscript-ng.
The 127.0.0.1 email address is for system generated emails such as those from cron, it is not used by friendica. Look in the Maildir of the user for any emails.
When you run the friendica option, you enter another email address, not a 127.0.0.1 address. When you register using this email address you are the admin. Use another email address and you are not the admin.
from lowendscript-ng.
Let me check if I understand.
bash setup-wheezy.sh all
opens in the beginning setup-debian.conf
EMAIL=$USER@[127.0.0.1]
left as is, for a VPS should be something like [email protected] ?
bash setup-wheezy.sh friendica [local IP]
opens in the beginning setup-debian.conf
EMAIL=$USER@[127.0.0.1]
left as is, for a VPS should be something like [email protected] ?asks at the end "Enter admin email"
I put [email protected], but I should've put [email protected] or [email protected] ?
this email, wether @example.com or @127.0.0.1, will hold the admin access ?
I think I read friendica uses one or more cron jobs ? So the "127.0.0.1 address" from the setup-debian.conf would have important friendica related mails ? Or only systems ?
And, /home/[user]/Maildir didn't contain emails. (I also tried mailx -u [user]
Sorry for the noob questions, this is around the edge of my (limited) knowledge.
(Understanding the ins and outs of a mailserver is still on my TODO.)
from lowendscript-ng.
bash setup-wheezy.sh all will ask for you enter a user, my default user is keith so the email address would be keith@[127.0.0.1], unless I changed it to something else. This is the address used in /etc/aliases for all system users (except for nobody using /dev/null). The 127.0.0.1 address will receive friendica emails only from cron, not from friendica.
Look at /var/log/mail, are there any error messages about your emails there?
from lowendscript-ng.
Checking /var/log/mail was the last I did yesterday and since it showed connection timeout for the mx records on my domain, I knew I shouldn't check for emails in local folders but rather redo the bash setup-wheezy.sh friendica [local IP]
There's two things I can think of
- Use the smtp relay of my internet provider ? (Not sure where to put that.)
- Maybe it would work using ssmtp ? (Haven't done this, was just searching.)
Do you know / remember how the SMTP / email was setup in the http://downloads.friendica.eu/Friendica.zip ?
Because that should work in this case too.
from lowendscript-ng.
Will look at this tomorrow, I have a working example.
In /etc/postfix/main.cf add
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd
smtp_always_send_ehlo = yes
relayhost = example.com
for saslpasswd use
example.com user:password
from lowendscript-ng.
Related Issues (14)
- Syntax error HOT 2
- Can't receive the registration confirmation email HOT 9
- Friendica hosted via Tor hidden service HOT 2
- bash setup-wheezy.sh all : option not found HOT 3
- bash setup-wheezy.sh friendica host : nginx fails HOT 2
- Defaults to ssl = problem with self signed certificates HOT 11
- nginx can't restart HOT 22
- configure the virtual host
- install from iso file - can't "change media"
- Error in connection to webserver HOT 1
- Need ca-certificates to pull friendica github HOT 1
- USER and EMIAL in ./setup-debian.conf HOT 1
- Installation failed due to wrong parameter "spdy" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lowendscript-ng.