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.