automatische Antwort - Postfix

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
bertengel
Posts: 33
Joined: 2006-03-21 22:40
 

automatische Antwort - Postfix

Post by bertengel »

Hallo,

vielleicht kann mir hier jemand helfen.

Wie kann ich eine automatische Antwort versenden wenn jemand eine Mail zu noreply@... sendet. Ich habe hier ein postfix/cyrus/sasl Mailserver.

Bin dankbar für jede Hilfe.

Gruß
Mike
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
 

Re: automatische Antwort - Postfix

Post by captaincrunch »

Stichwort: vacation
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
flo
Posts: 2223
Joined: 2002-07-28 13:02
Location: Berlin
 

Re: automatische Antwort - Postfix

Post by flo »

Wenn das ein Cyrus IMAPd ist, eher sieve.

flo.
bertengel
Posts: 33
Joined: 2006-03-21 22:40
 

Re: automatische Antwort - Postfix

Post by bertengel »

ich habe eben smartsieve 1.0rc1 installiert -- einloggen und scripte anlegen funktioniert. diese liegen auch dann im /var/spool/sieve/a/user/.

aber: im "verschieben nach" Auswahlmenu sind keine folder zu sehen (sollten nicht dort die unterfolder vom cyrus (/var/spool/cyrus/a/user/) zu sehen sein?

meine reject funktioniert soweit, aber wie kann ich den original text vom user anhängen?
mein sieve script:

Code: Select all

require ["fileinto","reject"];

if allof (address :contains ["To","TO","Cc","CC"] "noreply@*****.de") {
	reject text: 
Bitte nicht auf diesen Mail direkt antworten.
.
;
}
die mail wird nur mit dem Inhalt rejected:

Your message was automatically rejected by Sieve, a mail filtering language.
The following reason was given:
Bitte nicht auf diesen Mail direkt antworten.

danke im vorraus
mike
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: automatische Antwort - Postfix

Post by adjustman »

bertengel wrote:meine reject funktioniert soweit, aber wie kann ich den original text vom user anhängen?
ich kenn mich mit sieve nicht aus, aber reject ist reject.
Und die Nachricht wird doch "angehängt". :roll:
bertengel
Posts: 33
Joined: 2006-03-21 22:40
 

Re: automatische Antwort - Postfix

Post by bertengel »

stimmt ... ist im Anhang ... Mein Outlook 2007 zeigt mir diesen Anhang nicht (aber das ist ein anderes Problem).

aber: gibt es eine möglichkeit den Reject Standard-Text zu übersetzen ? Die Betreffzeile und der Absendername (Mail-Subsystem) sind auch nicht gerade einfach zu deuten.

und wieso zeigt mir Smartsieve keine existierenden Subfolder?
Kann es sein weil meine Folder-Syntax mit Slash geschrieben wird?
also: INBOX/spam statt INBOX.spam

Gruß
Mike
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: automatische Antwort - Postfix

Post by Joe User »

Muss es zwingend Sieve nutzen? http://www.postfix.org/addon.html#autoreply
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
flo
Posts: 2223
Joined: 2002-07-28 13:02
Location: Berlin
 

Re: automatische Antwort - Postfix

Post by flo »

Joe User wrote:Muss es zwingend Sieve nutzen? http://www.postfix.org/addon.html#autoreply
Bei mir ist kein wirklicher Bedarf an systemnahen Autorespondern, und diejenigen, die es nutzen wollen, klicken Sich Ihre Lösung bequem im Squirrel zusammen.

Bei allen Dingen finde ich es wichtig, sich _vorher_ zu überlegen, was man braucht. Eine Adresse, die nicht gelesen wird, würde ich nicht bis auf den MDA runterkommen lassen, sondern vorher per Script verarbeiten - Cyrus ist recht flott, aber etwas Arbeit kann man ihm auch ersparen.

flo.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: automatische Antwort - Postfix

Post by Joe User »

BTW: Bringt Confixx nicht ein simples vacation.pl mit? Sollte für wenige Mailadressen völlig ausreichen...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
flo
Posts: 2223
Joined: 2002-07-28 13:02
Location: Berlin
 

Re: automatische Antwort - Postfix

Post by flo »

ja, der autoresponder.pl

Gib das mal in die Suche ein :-)
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: automatische Antwort - Postfix

Post by Joe User »

OK, überzeugt ;)
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.