You are not logged in.

  • Login

1

Wednesday, May 18th 2011, 9:52pm

E-Mail-System für Linux

Hallo zusammen,

ich habe mir jetzt einen vServer gemietet. Ich versuche, den jetzt einigermaßen "auszurüsten"... TS³, FTP, php, MySQL sind schon drauf... Jetzt hätte cih gerne noch ein E-Mail_System, also dass ich E-mails verschicken kann. Könnt ihr mir eins empfehlen? Am besten eins in Deutsch?
Und dann habb ich noch ne Frage: wie kann cih php konfigurieren? nur über ssh, oder gibts da auch andere möglichkeiten?
Und ich habe nachgefragt, FTP, php MySQl wurde schon von denen installiert. Allerdings funktioniert ftp nicht, obwohl auch der Ordner laut ssh vorhanden ist... weiß wer, wie das funzt?

LG

Fipsi

2

Thursday, May 19th 2011, 8:06am

Welchen FTP Daemon (Programm, das als FTP Server fungiert) benutzt du denn?
Gibt es dazu Konfigurationsdateien, die du uns schicken könntest?

3

Thursday, May 19th 2011, 8:54am

Am einfachsten du verwendest ISPConfig3 - dann kannst du deinen Nutzern auch gleich Webspace und Subdomains anbieten.
Eine Schritt für Schritt Anleitung für die aktuellste Ubuntu Verion findest du hier: http://howtoforge.com/perfect-server-ubu….04-ispconfig-3

4

Thursday, May 19th 2011, 2:17pm

öhm... ich habe kein Laufwerk... und es ist ein Debian 5.0 - LAMP 64bit...
und ich schau mal, was ich bezüglich ftp finden kann...

Edit: kann mir jemand sagen, wo ich das mit ftp finde? weil es gibt einen Ordner /home/ftp/, aber der is leer...

5

Thursday, May 19th 2011, 2:44pm

setzt doch mal ein "dpkg -l |grep ftp" ab.
dann findest du vielleicht heraus, welchen Server du hast.
Anschließend starten (/etc/init.d/DAEMON start).

php konfigurierst du übers die php.ini

ciao

6

Thursday, May 19th 2011, 3:01pm

setzt doch mal ein "dpkg -l |grep ftp" ab.
dann findest du vielleicht heraus, welchen Server du hast.


Ergebnis:

ii ftp 0.17-18 The FTP client
ii vsftpd 2.0.7-1 The Very Secure FTP Daemon


[qutoe='ali g', index.php?page=Thread&postID=47312']
Anschließend starten (/etc/init.d/DAEMON start).[/quote]

Ergebnis:

-bash: ./ect/init.d/DAEMON: No such file or directory


php konfigurierst du übers die php.ini


gefunden... aber wirklich kann cih damit nix anfangen:D

7

Thursday, May 19th 2011, 3:54pm

Quoted

Allerdings funktioniert ftp nicht, obwohl auch der Ordner laut ssh vorhanden ist... weiß wer, wie das funzt?


Was genau funktioniert nicht? Kannst du dich nicht mit der IP verbinden oder schlägt die Authentifizierung fehl?

8

Thursday, May 19th 2011, 3:55pm

letzteres

9

Thursday, May 19th 2011, 4:15pm

Und mit welchem Benutzer versuchst du dich einzuloggen? root?

Könntest du die hier die Config posten? Sollte /etc/proftpd.conf oder /etc/vsftpd.conf sein.

10

Thursday, May 19th 2011, 5:07pm

darf ich mal fragen, was da draus wichtig is? is das nich n sicherheitsrisiko..?

11

Thursday, May 19th 2011, 5:18pm

Es geht mir hauptsächlich darum, dass je nach Konfiguration das Anmelden als root per FTP verboten wird...

12

Thursday, May 19th 2011, 5:24pm

aso... ok... also hier die /etc/vsftpd.conf (die andere find cih nich):

Bash

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
#
# Run standalone?  vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
listen=YES
#
# Run standalone with IPv6?
# Like the listen parameter, except vsftpd will listen on an IPv6 socket
# instead of an IPv4 one. This parameter and the listen parameter are mutually
# exclusive.
#listen_ipv6=YES
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
#local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
#xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that on some FTP servers, ASCII support allows a denial of service
# attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
# predicted this attack and has always been safe, reporting the size of the
# raw file.
# ASCII mangling is a horrible feature of the protocol.
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
#ftpd_banner=Welcome to blah FTP service.
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd.banned_emails
#
# You may restrict local users to their home directories.  See the FAQ for
# the possible risks in this before using chroot_local_user or
# chroot_list_enable below.
#chroot_local_user=YES
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES
#
#
# Debian customization
#
# Some of vsftpd's settings don't fit the Debian filesystem layout by
# default.  These settings are more Debian-friendly.
#
# This option should be the name of a directory which is empty.  Also, the
# directory should not be writable by the ftp user. This directory is used
# as a secure chroot() jail at times vsftpd does not require filesystem
# access.
secure_chroot_dir=/var/run/vsftpd
#
# This string is the name of the PAM service vsftpd will use.
pam_service_name=vsftpd
#
# This option specifies the location of the RSA certificate to use for SSL
# encrypted connections.
rsa_cert_file=/etc/ssl/certs/vsftpd.pem

13

Friday, May 20th 2011, 8:04am

Schaut eigentlich ganz ok aus.
Kannst du mal die Log überprüfen und evt posten?
Sollt die Datei /var/log/vsftpd.log sein

14

Friday, May 20th 2011, 2:04pm

das hier?:

Tue May 17 16:25:48 2011 [pid 30609] CONNECT: Client "80.149.146.255"
Tue May 17 16:25:50 2011 [pid 30608] [Fipsi] FAIL LOGIN: Client "80.149.146.255"
Tue May 17 16:25:57 2011 [pid 30611] CONNECT: Client "80.149.146.255"
Tue May 17 16:25:59 2011 [pid 30610] [Fipsi] FAIL LOGIN: Client "80.149.146.255"
Tue May 17 20:03:59 2011 [pid 31977] CONNECT: Client "89.14.112.208"
Tue May 17 20:04:01 2011 [pid 31976] [anonymous] FAIL LOGIN: Client "89.14.112.208"
Wed May 18 14:37:17 2011 [pid 1103] CONNECT: Client "80.149.146.251"
Wed May 18 14:37:20 2011 [pid 1102] [root] FAIL LOGIN: Client "80.149.146.251"
Wed May 18 14:37:30 2011 [pid 1105] CONNECT: Client "80.149.146.251"
Wed May 18 14:37:32 2011 [pid 1104] [root] FAIL LOGIN: Client "80.149.146.251"
Wed May 18 15:44:04 2011 [pid 1310] CONNECT: Client "80.149.146.251"
Wed May 18 15:44:07 2011 [pid 1309] [root] FAIL LOGIN: Client "80.149.146.251"
Thu May 19 07:55:30 2011 [pid 1890] CONNECT: Client "62.64.104.178"
Thu May 19 15:56:24 2011 [pid 3134] CONNECT: Client "80.149.146.36"
Thu May 19 15:56:26 2011 [pid 3133] [root] FAIL LOGIN: Client "80.149.146.36"

15

Saturday, May 21st 2011, 11:12am

Hallo,

erstmal: sry für Doppelpost.
Ich hab mich jez nach ewiger leser- und googler-rei für einMailingsystem entschieden: Postfix...
Ich arbeite gerade daran, es zu installieren, allerdings komme ich nicht wirklich weit... Ich hab keinen Plan was ich machen muss, und die installier-anleitung bringt mich auch nicht wirklich weiter, zum einem wegen dem "gehobenem" englisch, zum anderem, weil cih soi gut wie kein wort versteht, und die tutoritals diesbezüglich sind alle nur halb :/

Kann mir da bitte jemand helfen?

LG

Fipsi

16

Saturday, May 21st 2011, 11:29am

Wie gesagt, ich empfehle Howtoforge. Die englische Version enthält natürlich deutlich mehr Einträge, aber auch in der deutschen gibts Postfix Anleitung für viele verschiedene Linux Distributionen:

http://www.howtoforge.com/howtos/email/postfix
http://www.howtoforge.de/category/howto/email/postfix/

17

Saturday, May 21st 2011, 11:47am

sry, aber is das is die installation von Debian? ich "hab nur nen vServer"... ich will "nur" das Mailing-System installieren...oder versteh ich da was falsch?^^

18

Saturday, May 21st 2011, 11:59am

Das sind die Beiträge die mit Postfix getaggt sind. Ja, im deutschen sind vor allen Dingen Komplettinstallationen (inkl. Postfix) dabei.
Ich würde dir die englische Version empfehlen: http://www.howtoforge.com/virtual-users-…ebian-6-squeeze

Da sind auch aktuelle, coole Programme zur Nutzung dabei.
Es ist nicht sehr textlastig. Es wird ja nur bebildert geschildert, was man eintippen soll.

19

Saturday, May 21st 2011, 5:17pm

a) blick ich nich durch
b) versteh ich nix
c) brauch nur Postfix
^^

20

Sunday, May 22nd 2011, 10:26pm

sorry das ich das jetzt sag aber:

1. für was brauchst du einen vServer? würde ein Webspace nicht genauso reichen?
2. ein vServer ist genauso wie ein Rootserver zu behandeln MIT VORSICHT!
3. http://root-und-kein-plan.ath.cx/

4. würde ich dir empfehlen das ganze nicht im einem Livesystem mit einer 100Mbit Anbindung machen sondern mit einer virtuellen Maschine auf deinen PC (zB VirtualBox, VMWare,...)

Wenn du es wirklich lernen willst würde ich dir Vorschlagen einmal richtig die Linux-Grundlagen zu lernen dann würde ich ein paar Bücher lesen zB http://openbook.galileocomputing.de/linux/ http://openbook.galileocomputing.de/unix_guru/

und ich würde auch Sicherheitstools wie rkHunter logwatcher,.... Installieren

Social bookmarks