Fórum Ubuntu CZ/SK
Ostatní => Ubuntu Server => Téma založeno: Zerog 01 Ledna 2012, 17:41:01
-
Zdravim,
mohl by mi nekdo pomoci ci poradit jak zprovoznit odesilani emalu z ubuntu?
Vec se ma tak, ze bych na domacim serveru chtel z command line odesilat sem tam nejaky log mailem a nevim si s tim rady.
Zkousel jsem to jednou pres Postfix (rikajic ze by fungovalo odesilani emailu z php) .... zkousel jsem nakonfigurovat mail a xmail pres smtp seznamu nebo gmalu a vzdy sem selhal.
Mohl by mi nekdo, kdo s tim ma zkusenosti rict jak na to?
Dekuji za jakekoliv rady.
-
Zkousel jsem to jednou pres Postfix (rikajic ze by fungovalo odesilani emailu z php) .... zkousel jsem nakonfigurovat mail a xmail pres smtp seznamu nebo gmalu a vzdy sem selhal.
Jak přesně? Tohle funguje out-of-box...
-
Zkousel jsem to jednou pres Postfix (rikajic ze by fungovalo odesilani emailu z php) .... zkousel jsem nakonfigurovat mail a xmail pres smtp seznamu nebo gmalu a vzdy sem selhal.
Jak přesně? Tohle funguje out-of-box...
Co tim mas na mysli? Co presne? Vubec nevim kam miris. sorry
-
neni na ubuntu stejne jako na debianu dafaultne exim?
pak staci jen # dpkg-reconfigure exim4-config
a proentrovat se wizardem, napr.
General type of mail configuration:
internet site; mail is sent and received directly using SMTP
System mail name:
mail.meh.cz
IP-addresses to listen on for incoming SMTP connections:
127.0.0.1
Other destinations for which mail is accepted:
Domains to relay mail for:
Machines to relay mail for:
Keep number of DNS-queries minimal (Dial-on-Demand)?
No
Delivery method for local mail:
mbox format in /var/mail/
Split configuration into small files?
No
-
No zadnej exim tam nemam naistalovanej.
Apt-get me radi toto:
The program 'exim' can be found in the following packages:
* exim4-daemon-heavy
* exim4-daemon-light
-
ja nevim, ptal jsem se jestli je to default mta/smtp jako v debianu... mam to takhle
root@kosmik1:/# aptitude search exim
i exim4 - metapackage to ease Exim MTA (v4) installation
i exim4-base - support files for all Exim MTA (v4) packages
i exim4-config - configuration for the Exim MTA (v4)
v exim4-config-2 -
p exim4-daemon-heavy - Exim MTA (v4) daemon with extended features, including exiscan-acl
p exim4-daemon-heavy-dbg - debugging symbols for the Exim MTA "heavy" daemon
i exim4-daemon-light - lightweight Exim MTA (v4) daemon
p exim4-daemon-light-dbg - debugging symbols for the Exim MTA "light" daemon
p exim4-dbg - debugging symbols for the Exim MTA (utilities)
p exim4-dev - header files for the Exim MTA (v4) packages
p exim4-doc-html - documentation for the Exim MTA (v4) in html format
p exim4-doc-info - documentation for the Exim MTA (v4) in info format
v exim4-localscanapi-1.0 -
v exim4-localscanapi-1.1 -
p eximon4 - monitor application for the Exim MTA (v4) (X11 interface)
p geximon - a monitor for the exim MTA
p gforge-mta-exim4 - collaborative development tool - mail tools (using Exim 4)
p rexima - a simple ncurses/command-line mixer
p sa-exim - SpamAssassin filter for Exim
cili odinstalouj postfix a nahod exim4
-
no to mame podobne ...
$ aptitude search exim
p exim4 - metapackage to ease Exim MTA (v4) installa
p exim4-base - support files for all Exim MTA (v4) packag
p exim4-config - configuration for the Exim MTA (v4)
v exim4-config-2 -
p exim4-daemon-heavy - Exim MTA (v4) daemon with extended feature
p exim4-daemon-heavy-dbg - debugging symbols for the Exim MTA (v4) pa
p exim4-daemon-light - lightweight Exim MTA (v4) daemon
p exim4-daemon-light-dbg - debugging symbols for the Exim MTA (v4) pa
p exim4-dbg - debugging symbols for the Exim MTA (v4) pa
p exim4-dev - header files for the Exim MTA (v4) package
p exim4-doc-html - documentation for the Exim MTA (v4) in htm
p exim4-doc-info - documentation for the Exim MTA (v4) in inf
v exim4-localscanapi-1.0 -
v exim4-localscanapi-1.1 -
p eximon4 - monitor application for the Exim MTA (v4)
p geximon - a monitor for the exim MTA
p gforge-mta-exim4 - collaborative development tool - mail tool
p rexima - a simple ncurses/command-line mixer
p sa-exim - SpamAssassin filter for Exim
Co mam teda naistalovat za baliky ...s aptitude moc nedelam tak moc nevim co znamenaji ty prvni pismenka.
U prvnich mas i = man rikal Advanced front-end for dpkg coz nechapu :-D
-
Promin, kde je icko znamena to, ze je balik nainstalovanej.
Dej apt-get install exim4 (pripadne aptitude install exim4) - to by melo doinstalovat, co potreuje (viz vypis). apt-get vs aptitude je asi na jiny vlakno...
root@kosmik1:/# aptitude show exim4
Package: exim4
State: installed
Automatically installed: no
Version: 4.77-1
Priority: standard
Section: mail
Maintainer: Exim4 Maintainers <pkg-exim4-maintainers@lists.alioth.debian.org>
Uncompressed Size: 45.1 k
Depends: debconf (>= 0.5) | debconf-2.0, debconf (>= 1.4.69) | cdebconf (>= 0.39), exim4-base (>= 4.77), exim4-daemon-light | exim4-daemon-heavy | exim4-daemon-custom
Description: metapackage to ease Exim MTA (v4) installation
Exim (v4) is a mail transport agent. exim4 is the metapackage depending on the essential components for a basic exim4 installation.
The Debian exim4 packages have their own web page, http://wiki.debian.org/PkgExim4. There is also a Debian-specific FAQ list. Information about the way the Debian packages are
configured can be found in /usr/share/doc/exim4-base/README.Debian.gz, which additionally contains information about the way the Debian binary packages are built. The very
extensive upstream documentation is shipped in /usr/share/doc/exim4-base/spec.txt.gz. To repeat the debconf-driven configuration process in a standard setup, invoke
dpkg-reconfigure exim4-config. There is a Debian-centered mailing list, pkg-exim4-users@lists.alioth.debian.org. Please ask Debian-specific questions there, and only write to the
upstream exim-users mailing list if you are sure that your question is not Debian-specific. You can find the subscription web page on
http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
Homepage: http://www.exim.org/
-
Pani diky diky moc.
Kdyby jsi chtel nejakou protisluzbu napis SZ.
Jeste jednou diky.
-
a posila ti to? jednoduse testnes napr.
echo 'ahoj' | mail -s 'hokus pokus' nekdona@gmail.com
(bacha, jelikoz nemas nejak rozumne nastaveny FQDN a ani nemas DNS, muze to skoncit ve spamu)
btw, jak si na zacatku psal, ze chces poslat pres php - na debugovani veci ti staci jen nejaky dummy smtp, ktery vypisuje do konzole - to se da zaridit velice jednoduse napriklad takhle:
python -m smtpd -n -c DebuggingServer localhost:1025
mej se
-
a posila ti to? jednoduse testnes napr.
Jasne .... predtim nez jsem ti podekoval jsem to zamozdrejme testnul 8)