logout: - $Author:
QuicklinksEndUserTest/VirtualisatonInstallierenKernel - TuningNetworkDisplay / PadsBock DevicesPrinterUSB-DevicesBenutzerSWServerInstall NotesGeneral/Hints |
Collection of installation & troublshooting info related to my linux (debian/mint/ubuntu) installations Mailserver auf wprj und deren DomainsApache Vhost: Squirelmail einbinden (analog alltagswaerme.ch) alltagsw a1ltagsw (webmail- Hauptaccount) squirrel: fuer Sasvati:
Reason Given: Mailbox does not exist (pop3 geht)
/etc/alias
relay: alltagswaerme.ch u.s.w (als Relay zulassen)
/etc/exim4/update-exim4.conf.conf
dpkg-reconfigure exim4-config
linux-user:
adduser [NAME -d /opt/lampp/htdocs/NAME -s /bin/false] - Dialog -> useradd useradd -d /home/riva/ -G staff -p passwd sasvati (PW wird ev. plaintext abgelegt)
MailserverMTA - mail transfer agent (exim, sendmail)
MTA-EximAls Substitut für Sendmail
User for Exim, und gruppe für Exim-Administratoren
exim4:
dpkg-reconfigure exim4-config (Config-Dialog, verwendet update-exim4.conf.conf) smarthost: externer SMTP-Server
"Internet-Server"
local_domains = wprj.net : mail.wprj.net : localhost:vps185.sui-inter.net /etc/xinetd.d/sendmail smtp: server_args -Am streichen echo "my test" | mail -s "test message" pogay (interne Zustellung) logs
'''Test
root$ killall -HUP exim
routing tests
$ exim -bt andre.born@born.ch R: dnslookup for andre.born@born.ch andre.born@born.ch router = dnslookup, transport = remote_smtp host mx.born.ch [195.49.111.90] MX=10 host mailbackup.switzerland.net [146.228.96.52] MX=20 $ exim -d -odf localuser
POP3 - popa3dport 110 (xinetd)
[ ]mappen der IMAP und POP, IMAP-CyrusImap Server Grundsätzlich muss ein "normaler" User vorhanden sein.
Port: 143/... xinetd
Konfiguration (x)inet.d exim.conf log: []
Paketinstallation:
apt-get install cyrus-imapd cyrus21-admin (oder aktuellere Versionen) cyrus user
Einloggen mit "cyrus" wegen der Admin-Berechtigung
localhost password: $localhost> cm user.test-user cyradm (Befehle) cm Erzeugt eine neue Mailbox lm Listet Mailboxen auf, Wildcards sind erlaubt dm Löscht eine Mailbox und alle darunterliegenden Mailboxen renm Umbenennen einer Mailbox lam Listet die Zugriffskontrollen einer Mailbox auf sam Hinzufügen von Zugriffsrechten auf eine Mailbox dam Löschen von Zugriffsrechten auf eine Mailbox sq Setzen von Quota-Limits lq Zeigt die Quotas für eine Mailbox an lqr Zeigt die Quotas für eine Toplevel-Mailbox an help Zeigt eine Hilfe aller Befehle an quit Beendet das Programm man cyrdeliver
Webmail (Squirrelmail)http://alltagswaerme.ch/webmbx/src/webmail.php
Tests$ mutt -f pop(s):/server.tld (s: ssl)
telnet... (allg, Servertests) - netcat
Test SMTP mit "telnet server 25"http://www.ndchost.com/wiki/mail/test-smtp-auth-telnet base64-encoding: für AUTH Eingabe.
im TELNET siehe Beisp. unten
pogay@U804-Red:~/transfer/pog-IT-geschaeft$ telnet gaert.li 25 Trying 80.74.142.135... Connected to gaert.li. Escape character is '^]'. 220 jovinus.metanet.ch ESMTP EHLO gaert.li 250 jovinus.metanet.ch MAIL FROM p@ddy.ch 250 ok RCPT TO patrick.ogay@basel-inside.ch 250 ok DATA 354 go ahead blablalb blalbla . 250 ok 1287578897 qp 7091 (das Mail kam zwar nicht an...oder versandete irgendwo) QUIT 221 jovinus.metanet.ch Connection closed by foreign host. user@localhost [~]# telnet exampledomain.com 25 Trying 1.1.1.1... Connected to exampledomain.com (1.1.1.1). Escape character is '^]'. 220-server1.exampledomain.com ESMTP Exim 4.66 #1 Wed, 09 May 2007 23:55:12 +0200 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. EHLO exampledomain.com 250-server1.exampledomain.com Hello [1.1.1.2] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP AUTH LOGIN 334 VXNlcm5hbWU6 dXNlcm5hbWUuY29t 334 UGFzc3dvcmQ6 bXlwYXNzd29yZA== 235 Authentication succeeded hostname --fqdn (fully qualified host name) |