Current time: 05-18-2024, 09:43 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Allgemeine Frage: Cronjob, pflogsumm und Domains
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #21
RE: Allgemeine Frage: Cronjob und pflogsumm
Hangt denn noch was in der mailqueue ?
Quote:wenn ich "a2enmod auto_append_file" eingebe, bringt er folgenden error:
Ist dafür überhaupt ein ApacheModule nötig ?
Der Code sollte in deine Apacheconfig rein ala:
Code:
php_value auto_prepend_file /var/www/html/virtual_host/header.php
php_value auto_append_file /var/www/html/virtual_host/footer.php
oder ? Hab es bisher noch nie benötigt.
Quote:Wo finde ich die php.ini der User, und wo ist die php.ini der Default User??
Code:
/var/www/fcgi/domain.tld/php5/php.ini
Vorlage -> /etc/ispcp/fcgi/parts/php5/php.ini

Greez BeNe
04-15-2009 12:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
PCMichi Offline
Junior Member
*

Posts: 89
Joined: Mar 2009
Reputation: 0
Post: #22
RE: Allgemeine Frage: Cronjob und pflogsumm
Hallo,

also das mit dem auto_append_file musste ich nur in die entsprechene php.ini reinschreiben.

Und in der mailqueue ist nichts mehr enthalten.

Laut mail.log schickt er es nur an die falsche e-mail addresse.
Denn die "michael@mail.domaine.net" gibt es nicht (bzw. habe ich nicht angelegt).

Gibt es eine Möglichkeit die E-Mail Adresse zu ändern??

mfg
PCMichi
04-16-2009 08:03 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #23
RE: Allgemeine Frage: Cronjob und pflogsumm
Keine Ahung wie dein CronJob aussieht, aber so sollte es gehen!

Code:
/usr/sbin/pflogsumm.pl -d today /var/log/mail.log | /usr/bin/mailx -s "eMail-Statistik" deine@mail.adresse
Alles in eine Zeile.
Greez BeNe
(This post was last modified: 04-16-2009 08:25 PM by BeNe.)
04-16-2009 08:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
PCMichi Offline
Junior Member
*

Posts: 89
Joined: Mar 2009
Reputation: 0
Post: #24
RE: Allgemeine Frage: Cronjob und pflogsumm
Hallo,

also ich habe alles in dem Cronjob "dailypflog" gelöscht und die Zeile von BeNe eingefügt.

Nun bekomme ich auch E-Mails zugesendet.

Eine kleine Frage noch: Kann man den Absendername auch ändern??

Noch eine Frage:

Kann man das einstellen, dass bei allen gesendeten E-Mail jeweils ganz unten automatisch in der E-Mail ein Text kommt??


mfg
PCMichi
(This post was last modified: 04-17-2009 04:30 AM by PCMichi.)
04-17-2009 04:29 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #25
RE: Allgemeine Frage: Cronjob und pflogsumm
Quote:Eine kleine Frage noch: Kann man den Absendername auch ändern??
Auswendig weis ich es grad nicht, aber für sowas gibt es ja manpages Wink

Quote:Kann man das einstellen, dass bei allen gesendeten E-Mail jeweils ganz unten automatisch in der E-Mail ein Text kommt??
Kannst Du mit alterMIME machen, hier ist ein HowTo zu --> http://invaleed.wordpress.com/2007/03/07...ime-howto/

Greez BeNe
04-17-2009 06:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
PCMichi Offline
Junior Member
*

Posts: 89
Joined: Mar 2009
Reputation: 0
Post: #26
RE: Allgemeine Frage: Cronjob und pflogsumm
Hallo,

ok, ich werde das mal ausprobieren!

mfg
PCMichi
04-18-2009 06:26 AM
Find all posts by this user Quote this message in a reply
PCMichi Offline
Junior Member
*

Posts: 89
Joined: Mar 2009
Reputation: 0
Post: #27
RE: Allgemeine Frage: Cronjob und pflogsumm
Hallo,

ich habe schon in google gesucht aber nichts gefunden.

Kenn jemand vielleicht ein deutsches HowTo für alterMIME ??

mfg
PCMichi
04-18-2009 06:23 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #28
RE: Allgemeine Frage: Cronjob und pflogsumm
Warum nimmst Du nicht das was ich Dir gegeben habe ??
Da ist echt nicht viel english dir. Zudem gibt es ja Übersetzer.

Greez BeNe
04-18-2009 07:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
PCMichi Offline
Junior Member
*

Posts: 89
Joined: Mar 2009
Reputation: 0
Post: #29
RE: Allgemeine Frage: Cronjob und pflogsumm
Hallo,

ok stimmt.

Hätte ja sein können, dass du eine deutsche Anleitung kennst!


mfg
PCMichi
Hallo,

habe es nun nach deiner anleitung installiert.

Aber es geht nicht, in der mail.info finde ich folgendes:
Code:
Apr 18 13:45:15 4hp postfix/master[23021]: fatal: bind 0.0.0.0 port 25: Address already in use

Ich glaube ich habe das nicht ganz verstanden:

Code:
# Postfix Configuration

Edit master.cf :

# vi /etc/postfix/master.cf

    127.0.0.1:smtp inet n - y - - smtpd
    smtp inet n - y - - smtpd
    -o content_filter=dfilt:
    dfilt unix - n n - - pipe
    flags=Rq user=filter argv=/etc/postfix/disclaimer -f ${sender} — ${recipient}

mfg
PCMichi
(This post was last modified: 04-18-2009 09:48 PM by PCMichi.)
04-18-2009 09:13 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #30
RE: Allgemeine Frage: Cronjob und pflogsumm
Poste mal deine PosfixConfig:
Code:
# postconf -n

Greez BeNe
04-20-2009 11:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)