LDAP-based autoresponder?

2017-03-01 Thread Marek Kozlowski
:-)

Not a postfix issue in fact... Forgive me, please!

I've found something like this: http://www.onyxbits.de/gnarwl/ So old so
abandoned, there is surely no forum/list/support/help on it. Is there -
by accident - anyone who used it and have integrated it with postfix?

Thanks in advance!
Best regards,
Marek



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Autoresponder?

2017-01-19 Thread /dev/rob0
On Thu, Jan 19, 2017 at 01:17:49PM +, Ralph Corderoy wrote:
> > > Yes, that makes sense. I hadn't thought of vacation.
> >
> > Ah.. slight hiccough, the email is a sql account, not a shell 
> > account, so not .forward.
> 
> No home directory for a .forward?  How about /etc/aliases
> instead?

No, same problem: aliases(5) are only used by/for local(8) delivery
and if local was in use for this account it would be solved.

BTW a virtual user *should* have a home directory, but as there is
no system account, .forward would not work.

I can suggest to the OP to use a virtual alias pointing to a system
user; then your .forward would work.
-- 
  http://rob0.nodns4.us/
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:


Re: Autoresponder?

2017-01-19 Thread Ralph Corderoy
Hi @lbutlr,

> > Yes, that makes sense. I hadn't thought of vacation.
>
> Ah.. slight hiccough, the email is a sql account, not a shell account,
> so not .forward.

No home directory for a .forward?  How about /etc/aliases instead?

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy


Re: Autoresponder?

2017-01-18 Thread @lbutlr
On 2017-01-17 (23:36 MST), @lbutlr  wrote:
> 
> On 2017-01-16 (05:54 MST), Ralph Corderoy  wrote:
>> 
>>> So, how would I do this with only sending a single "bounce" to any
>>> email address?
>> 
>> Pipe to vacation(1), e.g. the user's ~/.forward:
> 
> Yes, that makes sense. I hadn’t thought of vacation.

Ah.. slight hiccough, the email is a sql account, not a shell account, so not 
.forward.

On 2017-01-17 (16:55 MST), Allen Coates  wrote:
> How about a simple alias, that forwards the messages to a final
> destination? 

No, they do’t want to have all the mail forwarded, just send a notification. If 
someone then wants to follow up, that’s up to them.

Hmm. I think I have a solution involving postfixadmin, so I’ll take a look at 
that.

-- 
Apple broke AppleScripting signatures in Mail.app, so no random signatures.




Re: Autoresponder?

2017-01-17 Thread @lbutlr
On 2017-01-16 (05:54 MST), Ralph Corderoy  wrote:
> 
>> So, how would I do this with only sending a single "bounce" to any
>> email address?
> 
> Pipe to vacation(1), e.g. the user's ~/.forward:

Yes, that makes sense. I hadn’t thought of vacation.

-- 
Apple broke AppleScripting signatures in Mail.app, so no random signatures.




Re: Autoresponder?

2017-01-17 Thread Allen Coates

> On 2017-01-16 13:49, @lbutlr wrote:
>> I have an email account that belonged to someone who died recently.
>> Rather than simply shutdown the account and bounce all future emails,
>> the family would like some sort of automated messages for at least a
>> few months saying something like “ died in November, 2016.
>> Please redirect emails to ”.
>  

How about a simple alias, that forwards the messages to a final
destination?  No bounces, and the bereavement notice can be tailored to
the individual sender.

Or is that too simple?

Allen C


RE: Autoresponder?

2017-01-17 Thread Fazzina, Angelo
Hi,
Here is the solution we use.
For this situation we have on our postfix SMTP servers local accounts that 
handle this.
Once the issue is over you can simple delete the user account on the server.

The accounts .forward file contains
| ~/bin/mail_respond

I run these commands
RAN useradd -m 
RAN su - 
RAN mkdir bin
RAN mkdir conf
RAN mkdir log
RAN mkdir mailbox

Then i have files i insert
/home//bin/mail_respond
/home//conf/reply.msg

I also have mapping setup to send emails to u...@mydomain.com to  user@localhost
The script mail_respond logs each time an email was forwarded and all details 
about it.
Here is basics of it from pulling out comments:

#!/usr/bin/python
#---
#   About
#---
#
#  Tell sender that their intendend recipient, , is no
#  longer at the University.
#
#  The reply DOES NOT include the original subject.
#
#  The Email response template is stored in REPLY below.
#---
#   Imports
#---
#---
#   Config
#---
#  Get home directory for this user
#  Directories for storage, logging and configuration
#---
#   Function
#---
#  Log message
#  Extract the sender's email address from the first line of the raw email text:
#  it looks like this "From EMAIL-ADDR
#  Convert mail header time format to user readable
#  First, parse input string for time zone
#  Cannot parse input time string, so just return it unchanged
#  Adjust for time zone
#  Parse remaining time string
#  Return reformatted time
#---
#   Main
#---
#  Make sure needed files and directory exist
#  Read incoming mail
#  Parse incoming email
#  Get reply address




-Angelo Fazzina
Operating Systems Programmer / Analyst 
University of Connecticut,  UITS, SSG, Server Systems
860-486-9075

-Original Message-
From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] 
On Behalf Of @lbutlr
Sent: Monday, January 16, 2017 7:49 AM
To: Postfix users <postfix-users@postfix.org>
Subject: Autoresponder?

I have an email account that belonged to someone who died recently. Rather than 
simply shutdown the account and bounce all future emails, the family would like 
some sort of automated messages for at least a few months saying something like 
“ died in November, 2016. Please redirect emails to ”.

I think this is a bad idea and they should just keep checking the current 
address of another month or six, but I did say I’d ask.

So, how would I do this with only sending a single ‘bounce’ to any email 
address?

I have gone through an unsubscribed from all the legitimate mailing lists like 
amazon and such.

Thankfully, there is not a lot of spam on this account.

I feel I’m missing something obvious.

-- 
Apple broke AppleScripting signatures in Mail.app, so no random signatures.



Re: Autoresponder?

2017-01-17 Thread Wietse Venema
Juri Haberland:
> On 2017-01-16 13:49, @lbutlr wrote:
> > I have an email account that belonged to someone who died recently.
> > Rather than simply shutdown the account and bounce all future emails,
> > the family would like some sort of automated messages for at least a
> > few months saying something like ? died in November, 2016.
> > Please redirect emails to ?.
> 
> What about relocated_maps?

This uses a fixed response template:

user has moved to 

and results in a bounce message that few people will understand.

BTW there is no _delivery_status_filter support for bounces from
non-delivery agent processes. I suppose that is a bug that needs
to be fixed.

Wietse


Re: Autoresponder?

2017-01-17 Thread Juri Haberland

On 2017-01-16 13:49, @lbutlr wrote:

I have an email account that belonged to someone who died recently.
Rather than simply shutdown the account and bounce all future emails,
the family would like some sort of automated messages for at least a
few months saying something like “ died in November, 2016.
Please redirect emails to ”.


What about relocated_maps?


  Juri


Re: Autoresponder?

2017-01-16 Thread Ralph Corderoy
Hi,

> So, how would I do this with only sending a single "bounce" to any
> email address?

Pipe to vacation(1), e.g. the user's ~/.forward:

\foo, "|/usr/bin/vacation foo"

The first keeps a copy of the email.  vacation can be told to only send
the reply once per N days for each recipient, default seven IIRC.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy


Autoresponder?

2017-01-16 Thread @lbutlr
I have an email account that belonged to someone who died recently. Rather than 
simply shutdown the account and bounce all future emails, the family would like 
some sort of automated messages for at least a few months saying something like 
“ died in November, 2016. Please redirect emails to ”.

I think this is a bad idea and they should just keep checking the current 
address of another month or six, but I did say I’d ask.

So, how would I do this with only sending a single ‘bounce’ to any email 
address?

I have gone through an unsubscribed from all the legitimate mailing lists like 
amazon and such.

Thankfully, there is not a lot of spam on this account.

I feel I’m missing something obvious.

-- 
Apple broke AppleScripting signatures in Mail.app, so no random signatures.



Re: Autoresponder

2016-04-18 Thread Gao

Hi Dave,

Here is the copy of the autoresponder 1.6.3 Perl script.

Gao

On 16-04-15 11:59 AM, David Mehler wrote:

Hello,

I'm looking for an autoresponder, free, and one that does not rely on
postfixadmin.

I saw one featured in a howtoforge article called Autoresponse 1.6.3
but that has been taken down, which is unfortunate, because how it
worked, sending an email to an address sounded great for my needs.

If anyone has this, or has any suggestions i'd appreciate them. I have
looked on the postfix page and the autoresponders there are paid
products, and the one that isn't uses an LDAP format which I am not
using.

Thanks.
Dave.




autoresponse-1.6.3.tar.gz
Description: application/gzip


Re: Autoresponder

2016-04-16 Thread Mauricio Tavares
On Sat, Apr 16, 2016 at 7:28 AM, Peter <pe...@pajamian.dhs.org> wrote:
> On 16/04/16 06:59, David Mehler wrote:
>> I'm looking for an autoresponder, free, and one that does not rely on
>> postfixadmin.
>
>
> In addition to sieve which was already mentioned the vacation script
> that comes with postfixadmin can be installed and work independently of
> postfixadmin.  There are plugins for roundcube (and I think squirrlmail)
> to interface with it, and it's not difficult to write your own as it
> simply requires updating SQL tables.
>
> Again, you do need to get it with postfixadmin, but it can be installed
> and used independently and does not actually require postfixadmin to run.
>

 I thought you could get it by itself; at least that's what I
remember. Also, if you have LDAP you can set it up that way. We'd had
a webpage users would login (kerberos ticket in my case) and then set
it up.

>
> Peter


Re: Autoresponder

2016-04-16 Thread Antoine Nguyen

On 15/04/2016 20:59, David Mehler wrote:

Hello,

I'm looking for an autoresponder, free, and one that does not rely on
postfixadmin.

I saw one featured in a howtoforge article called Autoresponse 1.6.3
but that has been taken down, which is unfortunate, because how it
worked, sending an email to an address sounded great for my needs.

If anyone has this, or has any suggestions i'd appreciate them. I have
looked on the postfix page and the autoresponders there are paid
products, and the one that isn't uses an LDAP format which I am not
using.



Hi,

you can take a look at Modoboa (http://modoboa.org/), it provides an 
autoresponder.


Antoine Nguyen


Re: Autoresponder

2016-04-16 Thread Peter
On 16/04/16 06:59, David Mehler wrote:
> I'm looking for an autoresponder, free, and one that does not rely on
> postfixadmin.


In addition to sieve which was already mentioned the vacation script
that comes with postfixadmin can be installed and work independently of
postfixadmin.  There are plugins for roundcube (and I think squirrlmail)
to interface with it, and it's not difficult to write your own as it
simply requires updating SQL tables.

Again, you do need to get it with postfixadmin, but it can be installed
and used independently and does not actually require postfixadmin to run.


Peter


Re: Autoresponder

2016-04-15 Thread Eric
I'm not sure of your email client software, but Thunderbird and 
Roundcube can be configured to interact with Sieve rules. You or the 
admin creates the global rules for all users and your users turn them on 
and off as needed in their client software which only entails a 
checkbox...If I remember correctly. It's been a while.


On 4/15/2016 2:52 PM, David Mehler wrote:

Hi,

Thanks, but doesn't that require a shell account for users to
configure vacation? If so, that's a deal braker for me, I don't want
to give virtual users access to the system.

Thanks.
Dave.


On 4/15/16, Dirk Stöcker <post...@dstoecker.de> wrote:

On Fri, 15 Apr 2016, David Mehler wrote:


I'm looking for an autoresponder, free, and one that does not rely on
postfixadmin.

I saw one featured in a howtoforge article called Autoresponse 1.6.3
but that has been taken down, which is unfortunate, because how it
worked, sending an email to an address sounded great for my needs.

If anyone has this, or has any suggestions i'd appreciate them. I have
looked on the postfix page and the autoresponders there are paid
products, and the one that isn't uses an LDAP format which I am not
using.

Although I dislike autoresponders it is part of the sieve filter for
dovecot:

http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples#Vacation_auto-reply

If you use dovecot already e.g. for IMAP, then you can switch local
delivery to dovecot and the vacation filter of dovecot-sieve can take over
the auto-response. As far as I have read the docs the auto-responder of
dovecot/sieve minimizes the negative effects of auto-responders (sending
single mail only, ignoring mailinglists and bulk email, ...).

Setup: http://wiki.dovecot.org/LDA/Postfix

Major benefit is the server side mail filtering in my eyes which was
the major motivation for me to install it :-)

Configuration of the sieve filter is done in user directory
(.dovecot.sieve), so mail users can individually configure the
autoresponder (when in vacation) without the admin.

Ciao
--
http://www.dstoecker.eu/ (PGP key available)





Re: Autoresponder

2016-04-15 Thread David Mehler
Hi,

Thanks, but doesn't that require a shell account for users to
configure vacation? If so, that's a deal braker for me, I don't want
to give virtual users access to the system.

Thanks.
Dave.


On 4/15/16, Dirk Stöcker <post...@dstoecker.de> wrote:
> On Fri, 15 Apr 2016, David Mehler wrote:
>
>> I'm looking for an autoresponder, free, and one that does not rely on
>> postfixadmin.
>>
>> I saw one featured in a howtoforge article called Autoresponse 1.6.3
>> but that has been taken down, which is unfortunate, because how it
>> worked, sending an email to an address sounded great for my needs.
>>
>> If anyone has this, or has any suggestions i'd appreciate them. I have
>> looked on the postfix page and the autoresponders there are paid
>> products, and the one that isn't uses an LDAP format which I am not
>> using.
>
> Although I dislike autoresponders it is part of the sieve filter for
> dovecot:
>
> http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples#Vacation_auto-reply
>
> If you use dovecot already e.g. for IMAP, then you can switch local
> delivery to dovecot and the vacation filter of dovecot-sieve can take over
> the auto-response. As far as I have read the docs the auto-responder of
> dovecot/sieve minimizes the negative effects of auto-responders (sending
> single mail only, ignoring mailinglists and bulk email, ...).
>
> Setup: http://wiki.dovecot.org/LDA/Postfix
>
> Major benefit is the server side mail filtering in my eyes which was
> the major motivation for me to install it :-)
>
> Configuration of the sieve filter is done in user directory
> (.dovecot.sieve), so mail users can individually configure the
> autoresponder (when in vacation) without the admin.
>
> Ciao
> --
> http://www.dstoecker.eu/ (PGP key available)
>


Re: Autoresponder

2016-04-15 Thread Dirk Stöcker

On Fri, 15 Apr 2016, David Mehler wrote:


I'm looking for an autoresponder, free, and one that does not rely on
postfixadmin.

I saw one featured in a howtoforge article called Autoresponse 1.6.3
but that has been taken down, which is unfortunate, because how it
worked, sending an email to an address sounded great for my needs.

If anyone has this, or has any suggestions i'd appreciate them. I have
looked on the postfix page and the autoresponders there are paid
products, and the one that isn't uses an LDAP format which I am not
using.


Although I dislike autoresponders it is part of the sieve filter for 
dovecot:


http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples#Vacation_auto-reply

If you use dovecot already e.g. for IMAP, then you can switch local 
delivery to dovecot and the vacation filter of dovecot-sieve can take over 
the auto-response. As far as I have read the docs the auto-responder of 
dovecot/sieve minimizes the negative effects of auto-responders (sending 
single mail only, ignoring mailinglists and bulk email, ...).


Setup: http://wiki.dovecot.org/LDA/Postfix

Major benefit is the server side mail filtering in my eyes which was 
the major motivation for me to install it :-)


Configuration of the sieve filter is done in user directory 
(.dovecot.sieve), so mail users can individually configure the 
autoresponder (when in vacation) without the admin.


Ciao
--
http://www.dstoecker.eu/ (PGP key available)


Autoresponder

2016-04-15 Thread David Mehler
Hello,

I'm looking for an autoresponder, free, and one that does not rely on
postfixadmin.

I saw one featured in a howtoforge article called Autoresponse 1.6.3
but that has been taken down, which is unfortunate, because how it
worked, sending an email to an address sounded great for my needs.

If anyone has this, or has any suggestions i'd appreciate them. I have
looked on the postfix page and the autoresponders there are paid
products, and the one that isn't uses an LDAP format which I am not
using.

Thanks.
Dave.


per domain autoresponder

2014-10-29 Thread richard lucassen
Hello list,

I need a per domain autoresponder. There is no user database. For this
purpose I take a separate intermediate postfix server. It's for
auto-replying that a domain is not reachable for a few days due to a
mail migration.

All vacation programs are user based AFAICS. Is there a simple util
available for this purpose or is there an easy way to build such a
feature?

mail
  |
frontend servers (filtering)
  |
intermediate postfix with queue and autoresponder
  |
final destination (which will be down for a few days)

R.

-- 
___
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.

+--+
| Richard Lucassen, Utrecht|
+--+


RE: per domain autoresponder

2014-10-29 Thread Chris Phillips
 -Original Message-
 From: owner-postfix-us...@postfix.org [mailto:owner-postfix-
 us...@postfix.org] On Behalf Of richard lucassen
 Sent: 29 October 2014 08:59
 To: postfix-us...@cloud9.net
 Subject: per domain autoresponder

 Hello list,

 I need a per domain autoresponder. There is no user database. For this
 purpose I take a separate intermediate postfix server. It's for
 auto-replying that a domain is not reachable for a few days due to a
 mail migration.

 All vacation programs are user based AFAICS. Is there a simple util
 available for this purpose or is there an easy way to build such a
 feature?

 mail
   |
 frontend servers (filtering)
   |
 intermediate postfix with queue and autoresponder
   |
 final destination (which will be down for a few days)

 R.

 --

Is it not better (easier, simpler) to use an FallBack Relay, to queue 
undeliverable mails for an extended period, rather than generating bounces/NDRs?
--
Chris Phillips

 Information in and attached to this electronic mail is confidential and may be 
legally privileged. It is intended solely for the addressee. Access to this 
electronic mail by anyone else is unauthorised. If you are not the intended 
recipient any use, disclosure, copying, distribution or any other action in 
relation to this message is prohibited and may be unlawful. If you have 
received this message in error, please notify the sender immediately by return 
e-mail, and immediately and permanently delete it without making any copies or 
disclosing the contents to any other person. When addressed to our customers, 
any information contained in this electronic mail or in any attachment is 
subject to intY’s Terms  
Conditionshttp://www.intycascade.com/about-us/terms-and-conditions/. We have 
scanned this electronic mail for viruses but we do not represent or warrant it 
to be virus free and recommend that you carry out your own virus checks on the 
electronic mail and any attachments.

intY Ltd is a Limited Company, registered in England and Wales at 170 Aztec 
West, Bristol, BS32 4TN. Company Number: 3438922.


autoresponder mail sent twice

2013-03-13 Thread Arnaud Jayet

Hello,

I have installed an autoresponder using a perl script and special 
transport (autoreply) in master.cf


my problem is that postfix send the email to the perl script twice so 
the perl script sends two mails to the recipient instead of one as i wish.


when an user has set up its responder, i want the incoming mails for him 
still be delivered to its maildir but i want also the responder send a 
mail to the sender advising the user (recipient) is absent



my main.cf :
...
...
virtual_alias_maps =
   proxy:mysql:/etc/postfix/vir_alias_repondeur.cf,



my master.cf :
...
...
autoreply  unix-   n   n   -   5   pipe
  flags=Oqu user=nobody argv=/usr/local/bin/repondeur.pl $sender $recipient


transport map :
...
...
autoreply.univ-lille3.fr   autoreply:


vir_alias_repondeur.cf :

query = SELECT autoreply  FROM mail_vacation WHERE email='%s'
AND active='1'
AND (CURRENT_DATE() BETWEEN dstart AND dstop);



the 'autoreply' field from mail_vacation mysql table returns something 
like this for email='u...@univ-lille3.fr'


== u...@univ-lille3.fr,u...@autoreply.univ-lille3.fr

it seems there is some recursion with the alias expansion 
(u...@univ-lille3.fr is on the right side of the alias for mail 
delivering) explaining why email is sent twice.



when i replace the fied value from 
'u...@univ-lille3.fr,u...@autoreply.univ-lille3.fr' by only 
'u...@autoreply.univ-lille3.fr', the responder email is sent only once 
but the orginal message is not delivered to the user maildir (it's not 
want i want)



Thank you for your help to solve my problem.

Arnaud




Re: autoresponder mail sent twice

2013-03-13 Thread mouss
Le 13/03/2013 15:01, Arnaud Jayet a écrit :
 Hello,

 I have installed an autoresponder using a perl script and special
 transport (autoreply) in master.cf

does your autoresponder obeys
http://tools.ietf.org/html/rfc3834
?
if not, get it out.


 my problem is that postfix send the email to the perl script twice 

Then you did an error.

 so the perl script sends two mails to the recipient instead of one as
 i wish.

get yourself a better program that doesn't resend borkmail. old programs
maintain a cache and do not send mail all over gain.


 when an user has set up its responder, i want the incoming mails for
 him still be delivered to its maildir but i want also the responder
 send a mail to the sender advising the user (recipient) is absent


 my main.cf :
 ...
 ...
 virtual_alias_maps =
proxy:mysql:/etc/postfix/vir_alias_repondeur.cf,



 my master.cf :
 ...
 ...
 autoreply  unix-   n   n   -   5   pipe
   flags=Oqu user=nobody argv=/usr/local/bin/repondeur.pl $sender
 $recipient


 transport map :
 ...
 ...
 autoreply.univ-lille3.fr   autoreply:


 vir_alias_repondeur.cf :

 query = SELECT autoreply  FROM mail_vacation WHERE email='%s'
 AND active='1'
 AND (CURRENT_DATE() BETWEEN dstart AND dstop);



 the 'autoreply' field from mail_vacation mysql table returns something
 like this for email='u...@univ-lille3.fr'

 == u...@univ-lille3.fr,u...@autoreply.univ-lille3.fr

 it seems there is some recursion with the alias expansion
 (u...@univ-lille3.fr is on the right side of the alias for mail
 delivering) explaining why email is sent twice.

it seems you forgot to follow the recommendations in the list welcome
message.

- logs to show what you say
- output of postconf -n
- in your case, content of master.cf


cristal ball says:
- you have a content filter but you forgot to disable address mapping in
the before the filter service
...



 when i replace the fied value from
 'u...@univ-lille3.fr,u...@autoreply.univ-lille3.fr' by only
 'u...@autoreply.univ-lille3.fr', the responder email is sent only once
 but the orginal message is not delivered to the user maildir (it's not
 want i want)


 Thank you for your help to solve my problem.

 Arnaud





Re: Autoresponder

2011-11-02 Thread Patrick Ben Koetter
* pch0317 pch0...@gmail.com:
 Hi list,
 
 I would like to create autoresponder functionality in my mail
 system, but I don't know how to start.
 User should turn on/off autoresponder from client application and
 set message text which will be send in autoreply message.
 
 My system work on RHEL 6.1: postfix, dovecot, squirrelmail, users
 are from Active Directory Server 2003. Users work with Thunderbird
 7, Outlook 2007 and 2010. Users haven't technical knowledge and they
 haven't shell access to server.
 
 How to create autoresponder functionality in my environment.

I take it you mean 'vacation' when you write autoresponder.

There is no vacation plugin that works from within all your clients. The
easiest way will be to offer a webmail client, in your case squirrelmal, that
interfaces with the server to en-/disable vacation.

I recommend you use the managesieve server, it is part of dovecot, and also
enable sieve filtering in dovecot.

The Webmail client will use the managesieve protocol to tell the managesieve
server it should enable vacation. The sieve filter will send a vacation reply
to any sender.

++  managesieve  +-+
|  Webmail   |+ | Dovecot |
||  avelsieve|-|
||   | |
||   | |
||   | sieve   |
++   +-+
  +  +
  |  |
  |  |
++e-mail  |  |
| sender | +--+  |
||   |
||autoreply  |
|| +++
++

I haven't used squirrelmail in a while, but instead of a plugin speaking
managesieve you may need to run Avelsieve http://email.uoa.gr/avelsieve/ to
create sieve filter rules.

p@rick


-- 
All technical questions asked privately will be automatically answered on the
list and archived for public access unless privacy is explicitely required and
justified.

saslfinger (debugging SMTP AUTH):
http://postfix.state-of-mind.de/patrick.koetter/saslfinger/


FreeBSD/ldap/Postfix = gnarwl autoresponder

2011-07-14 Thread Eesger Toering

Hello everybody,

I hope you can help me, Ik have a FreeBSD server set up for mail 
handling. I would realy like to activate an autoresponder.

This is my config in a nutshell:
- FreeBSD v8
- postfix 2.7.1 (with amavis/spamasassin/dovecot)
- I use ldap for validation, mail addresses/aliassses, forwarding etc.

I hope this is the right way to go (since this is the first time I do a 
contibution to the list). If not, please let me know what I did wrong.


I installed gnarwl via ports, and set everything up.. but I can't get it 
to work, this is what I confugured so far:


I set the folowing files to the owner vmail:vmail:
chown -R vmail:vmail /usr/local/var/lib/gnarwl/
chown vmail:vmail /usr/local/etc/gnarwl.cfg

appended /usr/local/etc/postfix/master.cf
# gnarwl autoresponder
gnarwlunix  -   n   n   -   -   pipe
  flags=F  user=vmail argv=/usr/local/bin/gnarwl -a ${user}@${nexthop} 
-s ${sender}


edited /usr/local/etc/postfix/main.cf
transport_maps = hash:/usr/local/etc/postfix/transport
to
transport_maps = 
hash:/usr/local/etc/postfix/autoresponder,hash:/usr/local/etc/postfix/transport


in transport there are the usual transport rules, in autoresponder I 
have set up:

autoresponder.domain.tldgnarwl:
in de zone file this domain points to the mailserver

I build the autoresponder.db via postmap autoresponder

My /usr/local/etc/gnarwl.cfg looks like this:
map_sender $sender
map_receiver $recepient
map_subject $subject
map_field $begin vacationStart
map_field $end vacationEnd
map_field $fullname cn
map_field $deputy vacationForward
server localhost
port 389
scope sub
login cn=admin,dc=domain,dc=tld
password X
protocol 3
base ou=accounts,dc=domain,dc=tld
queryfilter 
((objectClass=Vacation)(|(mail=$recepient)(mailAlias=$recepient))(vacationActive=TRUE))

result vacationInfo
blockfiles /usr/local/var/lib/gnarwl/block/
umask 0644
blockexpire 48
mta /usr/sbin/sendmail -f $recepient
maxreceivers 64
maxheader 512
charset ISO8859-1
badheaders
blacklist
forceheader /usr/local/var/lib/gnarwl/header.txt
forcefooter /usr/local/var/lib/gnarwl/footer.txt
recvheader To Cc
loglevel 3

In LDAP I set up the objectclass Vacation with vacationActive=TRUE and 
some text for vacationInfo. Also I set LDAP to send a mail for popbox 
domaintest to be delevered to domaint...@autoresponder.domain.tld and 
domaint...@domain.tld


then I send the mail.:
Jul 14 15:26:19 s02 postfix/smtpd[57478]: 4B8E578C21: 
client=XXX.com[195.321.321.321]
Jul 14 15:26:19 s02 postfix/cleanup[57498]: 4B8E578C21: 
message-id=4e15b3da.6030...@domain.tld
Jul 14 15:26:19 s02 postfix/qmgr[55395]: 4B8E578C21: 
from=sen...@domain.tld, size=3487, nrcpt=2 (queue active)
Jul 14 15:26:21 s02 postfix/smtpd[57674]: 53A5478C23: 
client=localhost[127.0.0.1]
Jul 14 15:26:21 s02 postfix/cleanup[57278]: 53A5478C23: 
message-id=4e15b3da.6030...@domain.tld
Jul 14 15:26:21 s02 postfix/qmgr[55395]: 53A5478C23: 
from=sen...@domain.tld, size=3819, nrcpt=2 (queue active)
Jul 14 15:26:21 s02 amavis[56664]: (56664-09) Passed CLEAN, 
[195.121.247.6] [92.65.20.65] sen...@domain.tld - 
domaint...@autoresponder.domain.tld,domaint...@domain.tld, 
Message-ID: 4e15b3da.6030...@domain.tld, mail_id: qmU6WFVKwaCw, Hits: 
-0.844, size: 3486, queued_as: 53A5478C23, 2076 ms
Jul 14 15:26:21 s02 amavis[56664]: (56664-09) Passed CLEAN, 
sen...@domain.tld - domaint...@autoresponder.domain.tld, Hits: 
-0.844, tag=12, tag2=12, kill=12, queued_as: 53A5478C23, 0/0/0/0
Jul 14 15:26:21 s02 amavis[56664]: (56664-09) Passed CLEAN, 
sen...@domain.tld - domaint...@domain.tld, Hits: -0.844, tag=12, 
tag2=12, kill=12, queued_as: 53A5478C23, 0/0/0/0
Jul 14 15:26:21 s02 postfix/smtp[57281]: 4B8E578C21: 
to=domaint...@autoresponder.domain.tld, 
relay=127.0.0.1[127.0.0.1]:10024, delay=2.3, delays=0.21/0/0.01/2.1, 
dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 
Ok: queued as 53A5478C23)
Jul 14 15:26:21 s02 postfix/smtp[57281]: 4B8E578C21: 
to=domaint...@domain.tld, relay=127.0.0.1[127.0.0.1]:10024, delay=2.3, 
delays=0.21/0/0.01/2.1, dsn=2.0.0, status=sent (250 2.0.0 from 
MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 53A5478C23)
Jul 14 15:26:21 s02 postfix/virtual[57385]: 53A5478C23: 
to=domaint...@domain.tld, relay=virtual, delay=0.08, 
delays=0.01/0.02/0/0.04, dsn=2.0.0, status=sent (delivered to maildir)

Jul 14 15:26:21 s02 postfix/qmgr[55395]: 4B8E578C21: removed
Jul 14 15:26:21 s02 postfix/pipe[57675]: 53A5478C23: 
to=domaint...@autoresponder.domain.tld, relay=gnarwl, delay=0.35, 
delays=0.01/0.21/0/0.13, dsn=2.0.0, status=sent (delivered via gnarwl 
service)

Jul 14 15:26:21 s02 postfix/qmgr[55395]: 53A5478C23: removed

The mail is delivered to the folder, the relay=gnarwl is only visible 
when I want to ('queryfilter' seems to be correct), I get no errors, no 
warnings.. but also no autoresponce! What have I set up wrong?


Hope you can help.

Eesger


Re: FreeBSD/ldap/Postfix = gnarwl autoresponder

2011-07-14 Thread Jerry
On Thu, 14 Jul 2011 16:03:24 +0200
Eesger Toering articulated:

 Hello everybody,

Please visit: http://www.postfix.com/DEBUG_README.html and read the
documentation near the end: Reporting problems to
postfix-users@postfix.org

Pay particular attention to the instructions for reporting problems.

Specifically:

A summary of the problem. Please do not just send some logging without
explanation of what YOU believe is wrong.

Complete error messages. Please use cut-and-paste, or use attachments,
instead of reciting information from memory.

Postfix logging. See the text at the top of the DEBUG_README document
to find out where logging is stored. Please do not frustrate the
helpers by word wrapping the logging. If the logging is more than a few
kbytes of text, consider posting an URL on a web or ftp site.

Output from postconf -n. Please do not send your main.cf file, or
500+ lines of postconf output.

Better, provide output from the postfinger tool. This can be found at
http://ftp.wl0.org/SOURCES/postfinger.

-- 
Jerry ✌
postfix-u...@seibercom.net
_
TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html



Re: Postfix autoresponder and transport problem

2011-01-19 Thread roby65

Ok, the aliases thing is not possible for me and creates me a lots of
troubles...
Can you link me to a tutorial for configuring sieve?

Thanks,
Roby


John Adams-19 wrote:
 
 Am 18.01.2011 17:37, schrieb roby65:

 Hi guys,
 i finally made it in the intent of adding an autoresponder to my postfix
 server, and it works, butit creates problems with dovecot!

 This is what i've done:

 master.cf:
 vacation unix-   n   n   -   -   pipe
flags=DRhuuser=vacation   argv=/var/spool/vacation/vacation.pl -f
 ${sender}
 ${recipient}

 transport:
 myu...@mydomain.com  vacation

 Here is the problem:
 when i send a message to this account, i get the autoreply (this is ok)
 but
 the receiving account doesn't receive the mail i send (i think because
 the
 autoresponder plugin gets it and dovecot doesn't get the email).

 How to fix it?
 
 As I suggested yesterday. Use dovecot+sieve. All your problems will 
 vanish. It's really worth the trouble.
 
 John
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Postfix-autoresponder-and-transport-problem-tp30701687p30706060.html
Sent from the Postfix mailing list archive at Nabble.com.



Re: Postfix autoresponder and transport problem

2011-01-19 Thread John Adams

Am 19.01.2011 09:16, schrieb roby65:


Ok, the aliases thing is not possible for me and creates me a lots of
troubles...
Can you link me to a tutorial for configuring sieve?

Thanks,
Roby


John Adams-19 wrote:


Am 18.01.2011 17:37, schrieb roby65:


Hi guys,
i finally made it in the intent of adding an autoresponder to my postfix
server, and it works, butit creates problems with dovecot!

This is what i've done:

master.cf:
vacationunix-   n   n   -   -   pipe
flags=DRhu  user=vacation   argv=/var/spool/vacation/vacation.pl -f
${sender}
${recipient}

transport:
myu...@mydomain.com vacation

Here is the problem:
when i send a message to this account, i get the autoreply (this is ok)
but
the receiving account doesn't receive the mail i send (i think because
the
autoresponder plugin gets it and dovecot doesn't get the email).

How to fix it?


As I suggested yesterday. Use dovecot+sieve. All your problems will
vanish. It's really worth the trouble.

John







I RTFM'ed this documentation:
http://wiki.dovecot.org/LDA/Sieve/Dovecot

making sieve work requires to patch the dovecot sources and re-compile. 
It's all in the link above.
Then, setup a web mail that supports sieve scripts. I use Squirrelmail 
with the sieve plugin. I think roundcube has also somewhere hidden 
somebody who wrote a sieve supporting add-on. Horde/IMP do as well 
support sieve in quite a user friendly way.
There is a thunderbird sieve extension. I found it to be a good start 
but I could not expect normal users to write sieve scripts.


John




Re: Postfix autoresponder and transport problem

2011-01-19 Thread John Adams

Am 19.01.2011 09:32, schrieb John Adams:

Am 19.01.2011 09:16, schrieb roby65:


Ok, the aliases thing is not possible for me and creates me a lots of
troubles...
Can you link me to a tutorial for configuring sieve?

Thanks,
Roby


John Adams-19 wrote:


Am 18.01.2011 17:37, schrieb roby65:


Hi guys,
i finally made it in the intent of adding an autoresponder to my
postfix
server, and it works, butit creates problems with dovecot!

This is what i've done:

master.cf:
vacation unix - n n - - pipe
flags=DRhu user=vacation argv=/var/spool/vacation/vacation.pl -f
${sender}
${recipient}

transport:
myu...@mydomain.com vacation

Here is the problem:
when i send a message to this account, i get the autoreply (this is ok)
but
the receiving account doesn't receive the mail i send (i think because
the
autoresponder plugin gets it and dovecot doesn't get the email).

How to fix it?


As I suggested yesterday. Use dovecot+sieve. All your problems will
vanish. It's really worth the trouble.

John







I RTFM'ed this documentation:
http://wiki.dovecot.org/LDA/Sieve/Dovecot

making sieve work requires to patch the dovecot sources and re-compile.
It's all in the link above.
Then, setup a web mail that supports sieve scripts. I use Squirrelmail
with the sieve plugin. I think roundcube has also somewhere hidden
somebody who wrote a sieve supporting add-on. Horde/IMP do as well
support sieve in quite a user friendly way.
There is a thunderbird sieve extension. I found it to be a good start
but I could not expect normal users to write sieve scripts.

John


I forgot to say that I run dovecot 1.2.x, not 2.0.x. I don't know 
whether 2.0 still requires to be recompiled with sieve support.


Postfix autoresponder and transport problem

2011-01-18 Thread roby65

Hi guys,
i finally made it in the intent of adding an autoresponder to my postfix
server, and it works, butit creates problems with dovecot!

This is what i've done:

master.cf:
vacationunix-   n   n   -   -   pipe
  flags=DRhuuser=vacation   argv=/var/spool/vacation/vacation.pl -f 
${sender}
${recipient}

transport:
myu...@mydomain.com vacation

Here is the problem:
when i send a message to this account, i get the autoreply (this is ok) but
the receiving account doesn't receive the mail i send (i think because the
autoresponder plugin gets it and dovecot doesn't get the email).

How to fix it?
-- 
View this message in context: 
http://old.nabble.com/Postfix-autoresponder-and-transport-problem-tp30701687p30701687.html
Sent from the Postfix mailing list archive at Nabble.com.



Re: Postfix autoresponder and transport problem

2011-01-18 Thread Gary Chambers

i finally made it in the intent of adding an autoresponder to my postfix
server, and it works, butit creates problems with dovecot!



transport:
myu...@mydomain.com vacation



when i send a message to this account, i get the autoreply (this is ok) but
the receiving account doesn't receive the mail i send (i think because the
autoresponder plugin gets it and dovecot doesn't get the email).


Have you considered using Dovecot's LDA to take advantage of sieve?

-- Gary Chambers


Re: Postfix autoresponder and transport problem

2011-01-18 Thread John Adams

Am 18.01.2011 17:37, schrieb roby65:


Hi guys,
i finally made it in the intent of adding an autoresponder to my postfix
server, and it works, butit creates problems with dovecot!

This is what i've done:

master.cf:
vacationunix-   n   n   -   -   pipe
   flags=DRhu   user=vacation   argv=/var/spool/vacation/vacation.pl -f 
${sender}
${recipient}

transport:
myu...@mydomain.com vacation

Here is the problem:
when i send a message to this account, i get the autoreply (this is ok) but
the receiving account doesn't receive the mail i send (i think because the
autoresponder plugin gets it and dovecot doesn't get the email).

How to fix it?


As I suggested yesterday. Use dovecot+sieve. All your problems will 
vanish. It's really worth the trouble.


John



RE: Postfix autoresponder and transport problem

2011-01-18 Thread Mark (Lunatechnologies)

Hi,

I had the same problem, but fixed it. Your problem is with your transport entry 
and also (possibly) your alias table.

The postfixadmin vacation autoreponder works by first creating an entry in the 
alias table using a domain name that you have setup in the config.inc.php file 
for postfix.

If you look at the alias table (or file depending on your setup) for any users 
that have activated VACATION, you should see something like this...

u...@domain.com   u...@domain.com, u...@autoreply.domain.com

When a message comes in for the user above, postfix delivers it to both the 
entries in the alias table.

It will first reference the transport file, to see if an entry exists that it 
needs to take into account.

In your case, you are pushing all your mail for that user to VACATION script, 
so they will not get a copy in their mailbox.

What you need to do is change your transport file entry to:

autoreply.mydomain.com  vacation

now, postfix  will deliver any mail for *.autoreply.mydomain,com via vacation 
script, and a copy will also follow the normal path into the users mailbox.




-Original Message-
From: owner-postfix-us...@postfix.org on behalf of roby65
Sent: Tue 1/18/2011 4:37 PM
To: postfix-users@postfix.org
Subject: Postfix autoresponder and transport problem
 

Hi guys,
i finally made it in the intent of adding an autoresponder to my postfix
server, and it works, butit creates problems with dovecot!

This is what i've done:

master.cf:
vacationunix-   n   n   -   -   pipe
  flags=DRhuuser=vacation   argv=/var/spool/vacation/vacation.pl -f 
${sender}
${recipient}

transport:
myu...@mydomain.com vacation

Here is the problem:
when i send a message to this account, i get the autoreply (this is ok) but
the receiving account doesn't receive the mail i send (i think because the
autoresponder plugin gets it and dovecot doesn't get the email).

How to fix it?
-- 
View this message in context: 
http://old.nabble.com/Postfix-autoresponder-and-transport-problem-tp30701687p30701687.html
Sent from the Postfix mailing list archive at Nabble.com.


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__




Re: Postfix autoresponder and transport problem

2011-01-18 Thread Charles Marcus
On 2011-01-18 12:06 PM, Mark (Lunatechnologies) wrote:
 If you look at the alias table (or file depending on your setup) for any
 users that have activated VACATION, you should see something like this...
 
 u...@domain.com   u...@domain.com, u...@autoreply.domain.com

Correction: the above aliases (as seen in the admin interface) should
look like:

u...@domain.com
user#domain@autoreply.domain.com

-- 

Best regards,

Charles


Create a custom autoresponder for postfix

2011-01-17 Thread roby65

Hi guys,

i'm using goldfish as autoresponder for now, but here comes the problem:
i looked at the source and i understood it, but i need that when an email
arrives, an autorespond is sent also if the email is read from the receiver
(the goldfish script checks the new folder for emails, but the emails are
removed from there if they are read so it doesn't work if the receiver reads
the mail before the script is executed).

Is there a workaround or a way to do what i need without installing nothing
more on my server?

Roby
-- 
View this message in context: 
http://old.nabble.com/Create-a-custom-autoresponder-for-postfix-tp30676179p30676179.html
Sent from the Postfix mailing list archive at Nabble.com.



Re: Create a custom autoresponder for postfix

2011-01-17 Thread John Adams

Am 17.01.2011 10:38, schrieb roby65:


Hi guys,

i'm using goldfish as autoresponder for now, but here comes the problem:
i looked at the source and i understood it, but i need that when an email
arrives, an autorespond is sent also if the email is read from the receiver
(the goldfish script checks the new folder for emails, but the emails are
removed from there if they are read so it doesn't work if the receiver reads
the mail before the script is executed).

Is there a workaround or a way to do what i need without installing nothing
more on my server?

Roby


Hi

if the solution does not have to be in Postfix, you can use sieve within 
imap for individual auto responders. Works quite nicely with 
dovecot+managesieve.


John


Autoresponder

2010-02-05 Thread Márcio Luciano Donada
Hi list,
I am using the autoresponder to send holiday of users. But to enable it,
type the queue problems with e-mail has increased significantly and also
with the delivery of messages that were passed to autorespoder not
arrived in the User's

My configuration: (master.cf)

smtp  inet  n   -   -   -   -   smtpd
   -o content_filter=autoresponder:dummy

autoresponder unix - n n - - pipe
 flags=Fq user=autoresponse argv=/usr/local/sbin/autoresponse -s
${sender} -r ${recipient} -S ${sasl_username} -C ${client_address}


in main.cf
autoresponder_destination_recipient_limit = 1

My question is, that makes any e-mail passing through autoresponse. What
I would like to happen is that only to be sent to the user autoresponse
that has enabled it. Does anyone have a about this?

-- 
Márcio Luciano Donada mdonada -at- auroraalimentos -dot- com -dot- br
Aurora Alimentos - Cooperativa Central Oeste Catarinense
Departamento de T.I.
Vacation in 3 days!!!


Re: Autoresponder

2010-02-05 Thread Muhammed Sameer
Hey,

* You may have to use a combination of lookup + transport, ie use either a 
hash, RDBMS map to query which users have autoresponder enabled and then feed 
those mails to the transport autoresponder

Regards,
Muhammed Sameer

--- On Fri, 2/5/10, Márcio Luciano Donada mdon...@auroraalimentos.com.br 
wrote:

 From: Márcio Luciano Donada mdon...@auroraalimentos.com.br
 Subject: Autoresponder
 To: Postfix users postfix-users@postfix.org
 Date: Friday, February 5, 2010, 10:50 AM
 Hi list,
 I am using the autoresponder to send holiday of users. But
 to enable it,
 type the queue problems with e-mail has increased
 significantly and also
 with the delivery of messages that were passed to
 autorespoder not
 arrived in the User's
 
 My configuration: (master.cf)
 
 smtp      inet  n   
    -       - 
      -   
    -       smtpd
    -o content_filter=autoresponder:dummy
 
 autoresponder unix - n n - - pipe
      flags=Fq user=autoresponse
 argv=/usr/local/sbin/autoresponse -s
 ${sender} -r ${recipient} -S ${sasl_username} -C
 ${client_address}
 
 
 in main.cf
 autoresponder_destination_recipient_limit = 1
 
 My question is, that makes any e-mail passing through
 autoresponse. What
 I would like to happen is that only to be sent to the user
 autoresponse
 that has enabled it. Does anyone have a about this?
 
 -- 
 Márcio Luciano Donada mdonada -at- auroraalimentos
 -dot- com -dot- br
 Aurora Alimentos - Cooperativa Central Oeste Catarinense
 Departamento de T.I.
 Vacation in 3 days!!!
 





Re: Autoresponder

2010-02-05 Thread mouss
Márcio Luciano Donada a écrit :
 Hi list,
 I am using the autoresponder to send holiday of users. But to enable it,
 type the queue problems with e-mail has increased significantly and also
 with the delivery of messages that were passed to autorespoder not
 arrived in the User's
 
 My configuration: (master.cf)
 
 smtp  inet  n   -   -   -   -   smtpd
-o content_filter=autoresponder:dummy
 
 autoresponder unix - n n - - pipe
  flags=Fq user=autoresponse argv=/usr/local/sbin/autoresponse -s
 ${sender} -r ${recipient} -S ${sasl_username} -C ${client_address}
 
 
 in main.cf
 autoresponder_destination_recipient_limit = 1
 
 My question is, that makes any e-mail passing through autoresponse. What
 I would like to happen is that only to be sent to the user autoresponse
 that has enabled it. Does anyone have a about this?
 

Writing a vacation auto-responder is not easy. There are way too many
borked auto-responders. so please don't add yet another one.

if you use dovecot, then use its vacation plugin.
if you use local accounts, then use the old vacation program.
...

if you want to write your own, then take the time to read and understand
RFC 3834
http://tools.ietf.org/html/rfc3834
If you find this hard, then please understand that it is hard for us
when we get unsollicited auto-responses (search the web for backscatter).




Autoresponder - distribution list problem

2009-10-26 Thread William Jordan
Folks,

We are using the goldfish autoresponder within our PostFix install.  It
sends out an autoresponse when e-mailing the person directly as expected but
also sends the response when e-mailing a distribution list the person is a
member of.  So if someone e-mails a distribution list and one of the members
has an autoresponder set-up every on that list gets an autoreponse including
the person who sent the mail.

 

This seems to be a configuration issue though as there is no reason it
should send out an autoresponse for one of the members of the distribution
list if the mail wasn't sent to them directly.  However, as autoresponse
doesn't seem to be a native feature of PostFix perhaps this is a limitation
of the solution?

 

William Jordan

IT Manager 



Re: Autoresponder - distribution list problem

2009-10-26 Thread Steve

 Original-Nachricht 
 Datum: Mon, 26 Oct 2009 12:52:48 -0700
 Von: William Jordan wjor...@tninetwork.com
 An: postfix-users@postfix.org
 Betreff: Autoresponder - distribution list problem

 Folks,
 
 We are using the goldfish autoresponder within our PostFix install.  It
 sends out an autoresponse when e-mailing the person directly as expected
 but
 also sends the response when e-mailing a distribution list the person is a
 member of.  So if someone e-mails a distribution list and one of the
 members
 has an autoresponder set-up every on that list gets an autoreponse
 including
 the person who sent the mail.
 
  
 
 This seems to be a configuration issue though as there is no reason it
 should send out an autoresponse for one of the members of the distribution
 list if the mail wasn't sent to them directly.  However, as autoresponse
 doesn't seem to be a native feature of PostFix perhaps this is a
 limitation
 of the solution?
 
Yes. The solution should fix that. Other auto responders check for various 
header fields and don't send mails if certain headers are there. You could 
contact the developer and maybe ask him to not respond on mails having for 
example (at least) the following headers:
/^x\-spam\-(flag|status):\s+yes/
/^x\-facebook\-notify:/
/^precedence:\s+(bulk|list|junk)/
/^Auto\-Submitted:\s+(yes)/
/^List\-(Id|Post):/
/^(x\-(barracuda\-)?spam\-status):\s+(yes)/
/^(x\-dspam\-result):\s+(spam|bl[ao]cklisted)/
/^(x\-(anti|avas\-)?virus\-status):\s+(infected)/
/^(x\-(avas\-spam|spamtest|crm114|razor|pyzor)\-status):\s+(spam)/
/^(x\-osbf\-lua\-score):\s+[0-9\/\.\-\+]+\s+\[([-S])\]/

Or do it your self. It's not that hard. I just downloaded 1.1 and looked at it. 
It's all written in PHP. Modifying that PHP script should not take more then 5 
to 15 minutes.

  
 
 William Jordan
 
Steve


 IT Manager 
 

-- 
Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
http://portal.gmx.net/de/go/dsl02


Re: Autoresponder - distribution list problem

2009-10-26 Thread mouss
William Jordan a écrit :
 Folks,
 
 We are using the goldfish autoresponder within our PostFix install.  It
 sends out an autoresponse when e-mailing the person directly as expected
 but also sends the response when e-mailing a distribution list the
 person is a member of.  So if someone e-mails a distribution list and
 one of the members has an autoresponder set-up every on that list gets
 an autoreponse including the person who sent the mail.
 

That is why auto-responders should not respond to mail when the
mailbox owner (the delivered to user) is not found in the To/CC
headers. Send a copy of RFC 3834 to the developpers of the auto responder.

There are unfortunately too many borked responders...

As a workaround, use a list manager (mailman, sympa, ...) instead of a
distribution list. This will set the (envelope) sender to a list
specific address (owner, bounces or whatever). so the original sender
wouldn't get the annoying automatic response.

  
 
 This seems to be a configuration issue though as there is no reason it
 should send out an autoresponse for one of the members of the
 distribution list if the mail wasn't sent to them directly.  However, as
 autoresponse doesn't seem to be a native feature of PostFix perhaps this
 is a limitation of the solution?
 





postfix + procmail autoresponder

2008-12-18 Thread Christian Desrochers
Hi all,

My office will be closed for the Christmas holidays and I would like to set
up an mail autoresponder that will send back a notice to the sender for
every mail sent at @our_domain.com.

What I really want is to reply to sender saying we are closed and will be
back on Jan 5th. More, I want the received email to be delivered to the
final recipient, so this one can follow up when he or she is back.

I found a website giving a procmail receipe that sounds good. I am just
wondering if I have to add anything else to it, so the mail is delivered to
the final user? Do you guys know an other way to set up a mail
autoresponder, using postfix? Here is the website:
http://www.knowplace.org/pages/howtos/autoresponder_with_procmail_howto.php

Thanks in advance,

Chris


Re: postfix + procmail autoresponder

2008-12-18 Thread Terry Carmen
That's a great idea assuming you want to be on every known RBL when you 
return.


The from and sender addresses on almost all spam is forged, so 
you'll be spamming them all with Sorry, we're not here right now . . ..


Most won't appreciate it.

Terry


Christian Desrochers wrote:

Hi all,

My office will be closed for the Christmas holidays and I would like 
to set up an mail autoresponder that will send back a notice to the 
sender for every mail sent at @our_domain.com http://our_domain.com.


What I really want is to reply to sender saying we are closed and will 
be back on Jan 5th. More, I want the received email to be delivered to 
the final recipient, so this one can follow up when he or she is back.


I found a website giving a procmail receipe that sounds good. I am 
just wondering if I have to add anything else to it, so the mail is 
delivered to the final user? Do you guys know an other way to set up a 
mail autoresponder, using postfix? Here is the website:

http://www.knowplace.org/pages/howtos/autoresponder_with_procmail_howto.php

Thanks in advance,

Chris


--
Terry Carmen
CNY Support, LLC

315.382.3939
http://cnysupport.com





Re: postfix + procmail autoresponder

2008-12-18 Thread Randy

Christian Desrochers wrote:

Hi all,

My office will be closed for the Christmas holidays and I would like 
to set up an mail autoresponder that will send back a notice to the 
sender for every mail sent at @our_domain.com http://our_domain.com.


What I really want is to reply to sender saying we are closed and will 
be back on Jan 5th. More, I want the received email to be delivered to 
the final recipient, so this one can follow up when he or she is back.


I found a website giving a procmail receipe that sounds good. I am 
just wondering if I have to add anything else to it, so the mail is 
delivered to the final user? Do you guys know an other way to set up a 
mail autoresponder, using postfix? Here is the website:

http://www.knowplace.org/pages/howtos/autoresponder_with_procmail_howto.php

Thanks in advance,

Chris

bad bad idea


Re: postfix + procmail autoresponder

2008-12-18 Thread Christian Desrochers
Allright, you guys are right. I talked with the management, and we will use
the 'vacation' program for those who really need an auto-reply, a.k.a.
people dealing with customers. Since 'vacation' only send one email per
sender, it'll do the trick.

Thanks for your help,

Chris



On Thu, Dec 18, 2008 at 2:08 PM, Terry Carmen te...@cnysupport.com wrote:

 That's a great idea assuming you want to be on every known RBL when you
 return.

 The from and sender addresses on almost all spam is forged, so you'll
 be spamming them all with Sorry, we're not here right now . . ..

 Most won't appreciate it.

 Terry


 Christian Desrochers wrote:

 Hi all,

 My office will be closed for the Christmas holidays and I would like to
 set up an mail autoresponder that will send back a notice to the sender for
 every mail sent at @our_domain.com http://our_domain.com.

 What I really want is to reply to sender saying we are closed and will be
 back on Jan 5th. More, I want the received email to be delivered to the
 final recipient, so this one can follow up when he or she is back.

 I found a website giving a procmail receipe that sounds good. I am just
 wondering if I have to add anything else to it, so the mail is delivered to
 the final user? Do you guys know an other way to set up a mail
 autoresponder, using postfix? Here is the website:

 http://www.knowplace.org/pages/howtos/autoresponder_with_procmail_howto.php

 Thanks in advance,

 Chris


 --
 Terry Carmen
 CNY Support, LLC

 315.382.3939
 http://cnysupport.com






Re: postfix + procmail autoresponder

2008-12-18 Thread mouss
Christian Desrochers a écrit :
 Allright, you guys are right. I talked with the management, and we will
 use the 'vacation' program for those who really need an auto-reply,
 a.k.a. people dealing with customers. Since 'vacation' only send one
 email per sender, it'll do the trick.
 

vacation is a better solution.

if you have a spam filter, you should not auto-respond to spam.


autoresponder for virtual users

2008-11-06 Thread Martin Strand

Hi all.
I'm looking to implement an auto-response mechanism which:
- only sends responses to senders who pass SPF checks
- responds from certain virtual aliases as well as certain virtual users
- doesn't respond to mailing lists
- finds the response message/subject through mysql
- supports per-recipient charset (iso-8859-15 or utf-8)
- doesn't respond several times to the same sender within a certain time  
period


Searching the list archive and Google turned up yaa as the best  
alternative, but it seems to have disappeared :(

http://frost.ath.cx/software/yaa/

Are there any other good options?
I suppose I could write something myself, but this feels like a fairly  
common thing to do so I was hoping someone else had already done it.


Re: autoresponder for virtual users

2008-11-06 Thread Robert Schetterer
Martin Strand schrieb:
 Hi all.
 I'm looking to implement an auto-response mechanism which:
 - only sends responses to senders who pass SPF checks
 - responds from certain virtual aliases as well as certain virtual users
 - doesn't respond to mailing lists
 - finds the response message/subject through mysql
 - supports per-recipient charset (iso-8859-15 or utf-8)
 - doesn't respond several times to the same sender within a certain time
 period
 
 Searching the list archive and Google turned up yaa as the best
 alternative, but it seems to have disappeared :(
 http://frost.ath.cx/software/yaa/
 
 Are there any other good options?
 I suppose I could write something myself, but this feels like a fairly
 common thing to do so I was hoping someone else had already done it.

hi, in postfix admin you find a perl vaccation script
for virtual users ( uses transport )
http://sourceforge.net/projects/postfixadmin/
this dont report several times as well as to mailling lists ( if their
headers are known but i am not sure here )
it may not be exactly what you looking for but should target you in the
right way

SPF check you have to implement by your own
there is a policy server in perl which you might can use
after all i wouldnt recommend including that explicit in a autoresponder

i modified the script not to answer to spam allready marked mails
which basicly does a good job ( spf weight an check are allready done
in the smtp income stage and spamassassin )

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: autoresponder for virtual users

2008-11-06 Thread Martin Strand
On Thu, 06 Nov 2008 18:24:33 +0100, Robert Schetterer  
[EMAIL PROTECTED] wrote:



Martin Strand schrieb:

Hi all.
I'm looking to implement an auto-response mechanism which:
- only sends responses to senders who pass SPF checks
- responds from certain virtual aliases as well as certain virtual users
- doesn't respond to mailing lists
- finds the response message/subject through mysql
- supports per-recipient charset (iso-8859-15 or utf-8)
- doesn't respond several times to the same sender within a certain time
period

Searching the list archive and Google turned up yaa as the best
alternative, but it seems to have disappeared :(
http://frost.ath.cx/software/yaa/

Are there any other good options?
I suppose I could write something myself, but this feels like a fairly
common thing to do so I was hoping someone else had already done it.


hi, in postfix admin you find a perl vaccation script
for virtual users ( uses transport )
http://sourceforge.net/projects/postfixadmin/
this dont report several times as well as to mailling lists ( if their
headers are known but i am not sure here )
it may not be exactly what you looking for but should target you in the
right way

SPF check you have to implement by your own
there is a policy server in perl which you might can use
after all i wouldnt recommend including that explicit in a autoresponder

i modified the script not to answer to spam allready marked mails
which basicly does a good job ( spf weight an check are allready done
in the smtp income stage and spamassassin )


Thanks, Robert. Maybe I'll put something together myself using ideas from  
postfixadmin and yaa.

yaa 0.3.1 can still be found through archive.org.

Always being paranoid, I feel passing SPF is essential before sending  
anything back - what if a spammer starts sending from a spamtrap address,  
making my server send responses there? Yikes! :)


Martin


Re: autoresponder for virtual users

2008-11-06 Thread Zhang Huangbin

Martin Strand wrote:

 Hi all.
 I'm looking to implement an auto-response mechanism which:
 - only sends responses to senders who pass SPF checks
 - responds from certain virtual aliases as well as certain virtual users
 - doesn't respond to mailing lists
 - finds the response message/subject through mysql
 - supports per-recipient charset (iso-8859-15 or utf-8)
 - doesn't respond several times to the same sender within a certain 

time period


 Searching the list archive and Google turned up yaa as the best 

alternative, but it seems to have disappeared :(

 http://frost.ath.cx/software/yaa/

 Are there any other good options?
 I suppose I could write something myself, but this feels like a fairly 

common thing to do so I was hoping someone else had already done it.




Try managesieve service and pysieved:

ManageSieve:
- http://wiki.dovecot.org/ManageSieve

PySieved:
- http://www.woozle.org/~neale/src/pysieved/

Avelsieve: Sieve Mail Filters Plugin for Squirrelmail:
- http://email.uoa.gr/avelsieve/

Plugin for Roundcube WebMail:
- http://alec.pl/roundcube/managesieve/

Horde WebMail support managesieve too (via Ingo).
Thunderbird has plugin for managesieve too.

--
Best regards.

- Open Source Mail Server Solution for RHEL/CentOS 5.x:
 http://code.google.com/p/iredmail/