Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
POP3 & SMTP Server einrichten
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
mec
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 147
Location: Munich

PostPosted: Fri Jul 25, 2003 10:14 am    Post subject: POP3 & SMTP Server einrichten Reply with quote

Hallo,

ich habe einen GentooServer am laufen. Derzeit laufen dort Squid, Apache und Cups als Dienste.

Ich möchte meine Emails von einigen Provider abholen. Hierzu habe ich ausfindig gemacht, dass man
- Fetchmail zum abholen (POP3),
- exim & sendmail zum verschicken (SMTP),
- und qpopper bzw. popper zum bereitstellen im LAN
braucht.

Qpopper & fetchmail konnte ich emergen. Fetchmail kommt auch zu den Providern hin bricht aber mit Fehler ab, das SMTP nicht funktioniert.

Beim exim-emerge erhalte ich u.a. Fehlermeldung (blocks).

Quote:

# emerge -pv exim

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B ] net-mail/ssmtp ("virtual/mta" from pkg net-mail/exim-4.12)
[ebuild N ] net-mail/exim-4.12 +tcpd +ssl -postgres -mysql -ldap +pam


Wie muss ich weiter vorgehen???

cu
- michi -


Last edited by mec on Sun Jul 27, 2003 10:06 am; edited 1 time in total
Back to top
View user's profile Send private message
hopfe
Guru
Guru


Joined: 22 Oct 2002
Posts: 456
Location: Frankfurt Main oder Aachen

PostPosted: Fri Jul 25, 2003 10:25 am    Post subject: Reply with quote

ssmtp wird mit dcron mit installiert, du mußt es zuerst deinstallieren(emerge -C ssmtp). Dann kannst du dann axim, postfix oder sendmail installieren.
Back to top
View user's profile Send private message
bernd
Tux's lil' helper
Tux's lil' helper


Joined: 16 Aug 2002
Posts: 126
Location: Wilhelmshaven/Germany

PostPosted: Fri Jul 25, 2003 10:53 am    Post subject: Reply with quote

dies ist wirklich eine sehr gute Anleitung.

https://forums.gentoo.org/viewtopic.php?t=56633

Gruss,
Bernd
Back to top
View user's profile Send private message
mec
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 147
Location: Munich

PostPosted: Fri Jul 25, 2003 5:59 pm    Post subject: Reply with quote

es ist z.Zt. zum Haar raufen. Es will einfach nicht richtig funzen....

Habe es wie in der o.g. Anleitung gemacht, bzw. angefangen. Aber gleich bei der Config schmeisst es einen Fehler.

Aus Abschnitt der Befehl:
# /usr/sbin/postmap hash:/etc/postfix/saslpass

Fehlermeldung:
postmap: fatal: gethostbyname: No such file or directory

- Das saslpass-File ist vorhanden und ausgefüllt

Mir sagt die Fehlermeldung garNIX. 8O

PS:
Mein Server hat zwei NICs (eine für lan 192.168.1.0/24 & für dsl 192.168.0.0/24). Ich habe die cu/etc/postfix.main.cf auf die DSL-NIC gelegt.


michi
Back to top
View user's profile Send private message
MasterOfMagic
l33t
l33t


Joined: 20 Aug 2002
Posts: 677
Location: Vienna, Austria

PostPosted: Fri Jul 25, 2003 6:36 pm    Post subject: Reply with quote

meine empfehlung wäre qmail gewesen. das bringt alles mit sich mit (also smtp und pop3-server) lässt sich auch auf smtp-auth patchen und man benötigt cyrus sasl nicht.

mfg
masterofmagic
_________________
Gentoo 1.4
Kernel 2.4.24
KDE 3.1.5
Back to top
View user's profile Send private message
mec
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 147
Location: Munich

PostPosted: Sat Jul 26, 2003 9:13 am    Post subject: Erfahrungssammlung zum Thema "Pop3 & SMTP Server&qu Reply with quote

...mmmh.... irgendwie springe ich von Tool zu Tool.... jeder nimmt etwas anderes her, aber mit Rat und Tat hilft auch keiner....ich hoffe immer noch, dass sich einer findet.
Hat den niemand hier Erfahrung einen solchen Server aufzusetzen. Die Dokus, die ich im Netz finde beziehen sich meist auf Suse oder so was verkrüpeltes...sorry..für die Ausdrucksweise.
---

Qmail habe ich jetzt mal emerged und ssmtp unmerged, da es ja sonst geblockt ist.


Derzeit bin ich soweit:
- Fetchmail holt die Mails von den Providern ab
- Postfix versendet über smtp
- qmail stellt den LAN-Pop3 da, über diesen holen sich meine Benutzer die Mails im LAN ab.

A) Fetchmail
Fetchmail habe ich über die .fetchmailrc konfiguriert. Der Connect zu GMX z.B. funktioniert aber die Mails werden nirgends gespeichert. Ich dachte, die kommen nach /var/spool/mail/Benutzername ???

B) Postfix wird auch mit Einsatz von Qmail benötigt??!? - Auf jedenfall habe ich es installiert und die /etc/postfix/main.cf konfiguriert. Aber ein binary für "postfix start" etc. sind nicht auf dem Rechner.

C) Qmail - hier finde ich im Netz zwar Dokus, aber die Angaben passen nicht zu Gentoo.
Was ich bisher sicherstellen kann, ist dass die Bentuzer qmaild.... vorhanden sind.
Ausserdem habe ich den Hinweiss vom emerge qmail ausgeführt
Quote:

Please do not forget to run, the following syntax :
ebuild /var/db/pkg/net-mail/qmail-1.03-r10/qmail-1.03-r10.ebuild config
This will setup qmail to run out-of-the-box on your system.

To start qmail at boot you have to enable the /etc/init.d/svscan rc file
and create the following links :
ln -s /var/qmail/supervise/qmail-send /service/qmail-send
ln -s /var/qmail/supervise/qmail-smtpd /service/qmail-smtpd

_________________
IBM T43 Centrino 2GHz - Shuttle-X P4
-------------------------------------------
LinuxUser #321097
-------------------------------------------
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum