Is het mogelijk om voor een user een autoreply email te laten versturen op het moment dat hij/zij een email ontvangt?
Ik gebruik sendmail.
Ik gebruik sendmail.
Verwijderd
Q4.2 -- How can I set up an auto-responder?
Date: March 23, 1996
Updated: February 16, 1999
This is a local mailer issue, not a sendmail issue. Depending on what you're doing, look at procmail (see Q4.9), ftpmail, or Majordomo.
The latest version of Majordomo can be found at ftp://ftp.greatcircle.com/pub/majordomo/. It is written in Perl and requires either Perl 4.036, and appears to run with only minor tweaks under 5.001a or later. Make sure to check out the web interface for Majordomo called LWGate at http://www.netspace.org/users/dwb/lwgate.html. The latest versions of Perl (both 4.x and 5.x) can be found in http://www.metronet.com/perlinfo/src/. More information about Perl can be found at http://www.metronet.com/perlinfo/perl5.html
The latest version of ftpmail can be found at ftp://src.doc.ic.ac.uk/packages/ftpmail or any comp.sources.misc archive (volume 37).
Kun je beter met procmail regelen:Op vrijdag 29 juni 2001 11:10 schreef IkkePikke het volgende:
Majordomo heb ik...
Maar hoe kan ik nu een auto reply voor 1 user hier mee instellen????
Een album per dag; een selectie: https://open.spotify.com/playlist/6s3nNLl8pJpCwLR3LPligA?si=dddc51153b2a49e8
1
2
3
4
5
6
7
8
9
10
| VERBOSE=yes LOGABSTRACT=all LOGFILE=./logfile :0 h c * !^FROM_DAEMON * !^X-Loop:tester@fasteddy.nl | (formail -r -I"Precedence: junk" \ -A"X-Loop:tester@fasteddy.nl" ; \ echo "Mail received.") | $SENDMAIL -t |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| procmail: Match on ! "(^(Mailing-List:|Precedence:.*(junk|bulk|list)|To: Multiple recipients of |((( Resent-)?(From|Sender)|X-Envelope-From):|>?From )([^>]*[^(.%@a-z0-9])?(Post(ma?(st(e?r)?|n)|office)| (send)?Mail(er)?|daemon|m(mdf|ajordomo)|n?uucp|LIST(SERV|proc)|NETSERV|o(wner|ps)|r(e(quest|sponse)| oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp(error)?|ystem)|A(dmin(istrator)?|MMGR|utoansw er))(([^).!:a-z0-9][-_a-z0-9]*)?[%@> ][^<)]*(\(.*\).*)?)?$([^>]|$)))" procmail: Match on ! "^X-Loop:tester@fasteddy.nl" procmail: Assigning "LASTFOLDER= (formail -r -I"Precedence: junk" \ -A"X-Loop:tester@fasteddy.nl" ; \ echo "Mail received.") | $SENDMAIL -t" From fasteddy@cybercomm.nl Sun Jul 1 21:02:38 2001 Subject: test Folder: (formail -r -I"Precedence: junk" \ -A"X-Loop:tester@fasteddy 910 procmail: Locking "/var/spool/mail/tester01.lock" procmail: Assigning "LASTFOLDER=/var/spool/mail/tester01" procmail: Opening "/var/spool/mail/tester01" procmail: Acquiring kernel-lock procmail: Executing " (formail -r -I"Precedence: junk" \ -A"X-Loop:tester@fasteddy.nl" ; \ echo "Mail received.") | $SENDMAIL -t" procmail: Unlocking "/var/spool/mail/tester01.lock" From fasteddy@cybercomm.nl Sun Jul 1 21:02:38 2001 Subject: test Folder: /var/spool/mail/tester01 1618 procmail: Notified comsat: "tester01@11280:/var/spool/mail/tester01" |