[Dovecot] trying to enable features
Hello all, I'm trying to enable 3 different features in my mail system (postfix, amavisd, dovecot).
1)out of office auto reply 2)script execution based on email 3)automatically add disclaimer/signature to outgoing email (also listed in order of importance to me)
I'm looking for pointers to documentation or instructions. It seems that 1 and 2 would best be done in dovecot somewhere, while 3 is probably best implemented in postfix. (my next step is postfix documentation)
Can anybody provide any suggestions or pointers to a how to or other documentation? Thanks, Ray
On Saturday October 13, 2007 at 05:17:56 (PM) Ray wrote:
I'm trying to enable 3 different features in my mail system (postfix, amavisd, dovecot).
1)out of office auto reply 2)script execution based on email 3)automatically add disclaimer/signature to outgoing email (also listed in order of importance to me)
I'm looking for pointers to documentation or instructions. It seems that 1 and 2 would best be done in dovecot somewhere, while 3 is probably best implemented in postfix. (my next step is postfix documentation)
Can anybody provide any suggestions or pointers to a how to or other documentation?
I think you should start seriously reading the Postfix documentation as well as subscribe to its mail forum list, since that is where you are going to be implementing the above three features, although #2, depending on what sort of script you are referring to, might possibly be initialed with Dovecot.
-- Gerard
On Saturday 13 October 2007 3:39:20 pm Gerard wrote:
On Saturday October 13, 2007 at 05:17:56 (PM) Ray wrote:
I'm trying to enable 3 different features in my mail system (postfix, amavisd, dovecot).
1)out of office auto reply 2)script execution based on email 3)automatically add disclaimer/signature to outgoing email (also listed in order of importance to me)
I'm looking for pointers to documentation or instructions. It seems that 1 and 2 would best be done in dovecot somewhere, while 3 is probably best implemented in postfix. (my next step is postfix documentation)
Can anybody provide any suggestions or pointers to a how to or other documentation?
I think you should start seriously reading the Postfix documentation as well as subscribe to its mail forum list, since that is where you are going to be implementing the above three features, although #2, depending on what sort of script you are referring to, might possibly be initialed with Dovecot.
Please correct me where I'm wrong. according to my understanding: When the server receives an email, dovecot pop server makes connection with the outside world, accepts the mail and then stores it. Postfix doesn't know or care that I have just received an email, so how can postfix send an auto reply or pass the mail on to a script? Thanks, Ray p.s., I'm rereading postfix documentation now.
On Sat, 13 Oct 2007, Ray wrote:
Please correct me where I'm wrong. according to my understanding: When the server receives an email, dovecot pop server makes connection with the outside world, [cut]
Dovecot's POP3 server waits for a user to connect to it to retrieve mails that are already stored somewhere. In your case, probably by Postfix receiving the mail via SMTP, then delivering it via Procmail (not sure on that last part). You could optionally use Dovecot's 'deliver' to do that last step, but Dovecot still doesn't make any connection for incoming mail. That part's handled by Postfix (in your case).
There's plenty of documentation in the wiki about all this.
**** This should clear up the roles of dovecot/etc. **** http://wiki.dovecot.org/MailServerOverview
In particular, try this highlighting, and note the two highlights: http://wiki.dovecot.org/MailServerOverview?highlight=%28not+responsible%29
Dovecot's 'deliver': http://wiki.dovecot.org/LDA http://wiki.dovecot.org/LDA/Postfix
Best, Ben
On Saturday 13 October 2007 4:23:40 pm Benjamin R. Haskell wrote:
On Sat, 13 Oct 2007, Ray wrote:
Please correct me where I'm wrong. according to my understanding: When the server receives an email, dovecot pop server makes connection with the outside world, [cut]
Dovecot's POP3 server waits for a user to connect to it to retrieve mails that are already stored somewhere. In your case, probably by Postfix receiving the mail via SMTP, then delivering it via Procmail (not sure on that last part). You could optionally use Dovecot's 'deliver' to do that last step, but Dovecot still doesn't make any connection for incoming mail. That part's handled by Postfix (in your case).
There's plenty of documentation in the wiki about all this.
**** This should clear up the roles of dovecot/etc. **** http://wiki.dovecot.org/MailServerOverview
In particular, try this highlighting, and note the two highlights: http://wiki.dovecot.org/MailServerOverview?highlight=%28not+responsible%29
Dovecot's 'deliver': http://wiki.dovecot.org/LDA http://wiki.dovecot.org/LDA/Postfix
Best, Ben
Thanks, I understand better now. Ray
Ray wrote:
On Saturday 13 October 2007 3:39:20 pm Gerard wrote:
On Saturday October 13, 2007 at 05:17:56 (PM) Ray wrote:
I'm trying to enable 3 different features in my mail system (postfix, amavisd, dovecot).
1)out of office auto reply 2)script execution based on email 3)automatically add disclaimer/signature to outgoing email (also listed in order of importance to me)
I'm looking for pointers to documentation or instructions. It seems that 1 and 2 would best be done in dovecot somewhere, while 3 is probably best implemented in postfix. (my next step is postfix documentation)
Can anybody provide any suggestions or pointers to a how to or other documentation? I think you should start seriously reading the Postfix documentation as well as subscribe to its mail forum list, since that is where you are going to be implementing the above three features, although #2, depending on what sort of script you are referring to, might possibly be initialed with Dovecot.
Please correct me where I'm wrong. according to my understanding: When the server receives an email, dovecot pop server makes connection with the outside world, accepts the mail and then stores it. Postfix doesn't know or care that I have just received an email, so how can postfix send an auto reply or pass the mail on to a script?
A POP/IMAP server is used when a user reads email. mail transport is handled by an MTA such as postfix. so when someone sends you a message, postfix receives it and either delivers it directly to the mailbox or hands it to whatever MDA or script you configured. if you use dovecot deliver as your MDA, then check http://wiki.dovecot.org/LDA/Sieve.
otherwise, dovecot will not help much with your points, and you should look at vacation and maildrop (or procmail, but maildrop syntax is somewhat more readable).
In point (3), dovecot is not involved, whatever your config looks like. look for altermime. google for "stupid disclaimers" before.
but you should really put all these points on hold until you get experienced with postfix.
- Ray ray@stilltech.net:
Hello all, I'm trying to enable 3 different features in my mail system (postfix, amavisd, dovecot).
1)out of office auto reply
Postfix
2)script execution based on email
Postfix
3)automatically add disclaimer/signature to outgoing email (also listed in order of importance to me)
Postfix/amavisd-new
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) plonk@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de "I think there is a world market for maybe five computers."
- Thomas Watson, chairman of IBM, 1943.
Hi,
Could you give us a little bit more details about what you said? I'm interested for seeing how the "out of office auto reply" can be implemented with Postfix.
Thanks!
Gauthier
2007/10/14, Ralf Hildebrandt Ralf.Hildebrandt@charite.de:
- Ray ray@stilltech.net:
Hello all, I'm trying to enable 3 different features in my mail system (postfix, amavisd, dovecot).
1)out of office auto reply
Postfix
2)script execution based on email
Postfix
3)automatically add disclaimer/signature to outgoing email (also listed in order of importance to me)
Postfix/amavisd-new
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) plonk@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de "I think there is a world market for maybe five computers."
- Thomas Watson, chairman of IBM, 1943.
-- Gauthier DOUCHET
On 2007-10-23 15:32:14 +0200, Gauthier DOUCHET wrote:
Could you give us a little bit more details about what you said? I'm interested for seeing how the "out of office auto reply" can be implemented with Postfix.
http://wiki.dovecot.org/LDA/Sieve#head-f083c4265adca5ce0fecf17d7684bd2dedbd5...
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
- Gauthier DOUCHET gauthier.douchet@gmail.com:
Hi,
Could you give us a little bit more details about what you said? I'm interested for seeing how the "out of office auto reply" can be implemented with Postfix.
You could use sieve or you could use dovecot-deliver which in turn invokes /usr/bin/vacation
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) plonk@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de Liebe ist auch nach einem Bluescreen zu behaupten es g�be keine Alternative.
participants (7)
-
Benjamin R. Haskell
-
Gauthier DOUCHET
-
Gerard
-
Marcus Rueckert
-
mouss
-
Ralf Hildebrandt
-
Ray