Hello,
(you need to subscribe to the mailinglist before sending a mail to it.
I just noticed your mail in the moderation queue. I don't quote
everything - for example, I skip your database password ;-) and the non-
config part of vacation.pl you included)
Am Donnerstag, 8. Dezember 2011 schrieb Deee Veeee:
> I recently configured postfixadmin on my email server, and although I
> am not receiving errors the configuration does not seem to be working
> as senders are not receiving the autoreply for users configured with
> vacation turned on. I have included log information and postconf in
> the pastebin link below. My configuration consists of a postfix
> gateway configured with amavis, clamav, and spamassassin filtering
> all incoming external email and relaying it to my IMAP server which
> has postfixadmin installed. Any user configured with vacation turned
> on within the internal server receives all internal and external
> email, however, senders do not receive the out of office reply.
> http://pastebin.com/7jLNZF1J
The log shows that a copy of the mail is delivered to the vacation.pl
script (lines 116 and 125), which is already a good start.
> Here is config.inc.php:
...
> $CONF['vacation'] = 'YES';
> $CONF['vacation_domain'] = 'autoreply.sm.coop';
> $CONF['vacation_control'] ='YES';
> $CONF['vacation_control_admin'] = 'YES';
> Here is vacation.pl:
> our $vacation_domain = 'autoreply.sm.coop';
> our $smtp_server = 'localhost';
> our $smtp_server_port = 25;
> our $smtp_auth = undef;
> our $smtp_authid = 'someuser';
> our $smtp_authpwd = 'somepass';
> our $syslog = 1;
> our $logfile='/var/log/vacation.log';
> our $log_level = 2;
> our $log_to_file = 1;
Does vacation.pl have write access to $logfile ? (vacation.pl typically
runs as user "vacation", not "root".)
> our $interval = 0;
Your configuration looks good, and I'm surprised that you don't see
anything from vacation.pl in your log. Please check your mail log and
$logfile again - it should at least log why it doesn't send a reply.
BTW: Which version of PostfixAdmin do you use?
Gruß
Christian Boltz
--
It's the goldmaster - there're no bugs ;-)
[Andreas Jäger about SuSE 9.3]
|