Auto Reply / Auto Repsonders

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

sundown

Auto Reply / Auto Repsonders

Postby sundown » Wed Mar 01, 2006 7:04 pm

Hi i have just switched from postfix to scalix and im very please with what it can do for me, but there is one thing i had an auto repsonder set up on so if anybody send an email to cv@example.com
it automaticly reply to the email with a standard message and my cv attached, then forwarded the oringal message to
me@example.com
is there any way i can do this with scalix?

Thanks in advance

Tim

ps. i did this in postfix with a plugin call Reply-o-Matic that was called from the aliases file.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Re: Auto Reply / Auto Repsonders

Postby Valerion » Thu Mar 02, 2006 4:39 am

sundown wrote:Hi i have just switched from postfix to scalix and im very please with what it can do for me, but there is one thing i had an auto repsonder set up on so if anybody send an email to cv@example.com
it automaticly reply to the email with a standard message and my cv attached, then forwarded the oringal message to
me@example.com
is there any way i can do this with scalix?

Thanks in advance

Tim

ps. i did this in postfix with a plugin call Reply-o-Matic that was called from the aliases file.


In Scalix you can use the Request Server to do that, but I wouldn't recommend it. What you need is to write a sendmail script that generates an email containing the message and CV in MIME format. Then you put it in your alias file:

Code: Select all

cv:<TAB>|scriptname


The exact location and ownerships of such scripts are important, but to a certain extent that varies from distro to distro.

sundown

Postby sundown » Thu Mar 02, 2006 5:51 pm

Thanks for your reply
I have added the cv into the aliases file and ran newaliases it all imported ok

but every time I try and send an email to cv@example.com it gets bounced back with a
smtp;550 Denied due to spam list message.
This also happens if i try and send an email to any of the aliases it bounces back with the same message.

My smtpd.conf is
EXTENSIONS=AUTH,DSN,8BITMIME
SMTPFILTER=TRUE
RELAY accept 127.0.0.1
RELAY accept %LOCALDOMAIN%
RELAY Log_Reject ALL

# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*

and the log files for the smtpd relay (i have set them to all messages to find the problem)
REPORT SMTP Relay (SMTPD Relay Pr) 03.02.06 21:37:56
[OM 821] System error 2 on file /var/opt/scalix/sys/unixmap.in
File Name: /var/opt/scalix/sys/unixmap.in

REPORT SMTP Relay (SMTPD Relay Pr) 03.02.06 21:37:56
[OM 821] System error 2 on file /var/opt/scalix/sys/unixmap.gw
File Name: /var/opt/scalix/sys/unixmap.gw

REPORT SMTP Relay (SMTPD Relay Pr) 03.02.06 21:37:56
[OM.DMON 2172] SMTP: Rejected relay attempt from me@example2.com at 195.137.89.197 to cv@example.com

if anybody has any idea why its not working please post the answer its driving me nuts.

Thanks

Tim

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Mar 03, 2006 12:52 am

RELAY accept %LOCALDOMAIN%

isn't right. It should read

RELAY accept .domain.ext

and/or you may need to add

RELAY accept ip.address.of.server

Generally this indicates misconfigured dns. /etc/hots isn't right and/or dns and reverse dns have not been confiured properly.

Regards,
Don


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 9 guests