View Full Version : Auto responder empty "FROM:"

27th April 2009, 21:39

The messages comming from the ispconfig3's are without the "From:"

look on this header:

Message-Id: <200904271825.n3RIPZ9t031468@xxx.xxx.xxxx>
X-Authentication-Warning: xxxxx.xxx.xxxxxxx: vmail set sender to <> using -f
Subject: Auto Response: from
To: diego@xxxxxx.com.br
Precedence: junk
Auto-Submitted: auto-replied
Mime-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"

is it a bug or have something that I can do to fix it?



28th April 2009, 18:25
Can you please give me some way to place something on the from:
if i cant place the real sender i can place something like


just to fill the From:
i need something there if i leave it in blank the antispam will move it to junk.


5th May 2009, 15:52
no one knows how to place something on the From: ???

itīs causing bulk mail :(

5th May 2009, 15:55
You can take a look at the maildrop script in /var/vmail/mailfilters/.... which handle the autoresponder.

5th May 2009, 17:01
i fixed it changing the .autoresponder file

`test -f /var/vmail/mailfilters/$HOST/$USER/.vacation.msg && exit 1 || exit 0`
if (!/^List-Unsubscribe:.*/:h )
if (!/^X-Spam-Flag: YES/:h )

# The following must be one contiguous line
cc "| mailbot -t $RESPOND -d $RESPONDDB -D 1 \
-A 'From: diego@redeprotegida.com.br' -s 'Auto Response: from $RECIPIENT' \
/usr/sbin/sendmail -t -f ''"

i found a bug...
the From: was $RECIPIENT, so this variable is imput...

please tellme wich php file generate this .autoresponder then ill edit it to generate a line like this:

-A 'From: vacation@redeprotegida.com.br' -s 'Auto Response: from Redeprotegida.com.br' \

cause i need smt automatic, i cant go there and edit the file for all clients that want to enable autoresponder..

thanks ;)

5th May 2009, 17:14
But the variable $RECIPIENT contains normally the recipient of the email, so the script is correct. If $RECIPIENT is not set on your server then you can either check main.cf to make sure that the second parameter of the maildrop script returns the recipient or you use the $HOST and $USER variables to built the recipient like this:

-A 'From: $USER@$HOST' -s 'Auto Response: from $USER@$HOST' \

5th May 2009, 17:47
i think it is a bug, im running ispconfig on 5 different servers...

2 running on fedora 8 (i know i cant do that, but i did)

3 running on fedora 10

all of my servers i tested autoresponder and it worx, but without the FROM, with the variable empty.

all of then i just found these infos on main.cf about maildrop

maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop

could you please tell me where is the file on ispconfig that generate the .autoresponder o i can edit it, then the next generations will be correct, maybe i can use the example that you gave me using $user@$host

or, maybe something that i can place on my main.cf to start filling the $RECIPIENT var.

thanks *again*

6th May 2009, 15:12
im still working on this, and not found nothing...
just work if i edit the .autoresponder file

someone give me a help please...

to help me:

what is the script that creates the .autoresponder file?


what i do to fill the $RECIPIENT that is empty?


6th May 2009, 18:19
Please try what I suggested to you in post #6 of this thread. All templates are in /usr/local/ispconfig/server/conf/

6th May 2009, 21:03
subject: Auto-resposta de diego@redeprotegida.com.br
from: diego@redeprotegida.com.br Add contact
to: teste@appsistemas.com.br Add contact
date: 06.05.2009 15:02

thanks very much till

i just changed the autoresponder script that you said
i changed the $RECIPIENT TO $USER@HOST