Hi, I've just found somethinginteresting. I added this command to the .procmailrc file : LOGFILE=.procmail-log Si erverything is logged in this file. Here's the output after one test: /bin/sh: line 2: -oi: command not found /bin/sh: /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin: N o such file or directory procmail: Program failure (127) of "/home/admispconfig/ispconfig/tools/spamassas sin/usr/bin/spamassassin" procmail: Rescue of unfiltered data succeeded /bin/sh: line 3: -oi: command not found So I think the problem is that the .autoresponder.rc isn't working well with spamassassin (No such file or directory). Moreover the error '-oi: command not found' seems to be due to the fact that the system can't lookup $SENDMAIL. How can I fix $SENDMAIL ? And how can I fix spamassassin error ? Kindest regards, lapena
What's the output of Code: which sendmail ? Did you accidentally delete /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin?
i'm sure I didn't delete this folder, accidentally or not. i really take care before deleting anything. here's the output of the command which sendmail : /usr/sbin/sendmail and as said before, postfix is installed and here is exactly what is installed in /usr/sbin : ls -al /usr/sbin/sendmail* lrwxrwxrwx 1 root root 34 jun 4 12:48 /usr/sbin/sendmail -> /etc/alternatives/sendmail-command* -rwxr-xr-x 1 root root 23776 mar 8 17:19 /usr/sbin/sendmail.postfix*
lrwxrwxrwx 1 root root 26 jun 4 12:48 sendmail-command -> /usr/sbin/sendmail.postfix* lrwxrwxrwx 1 root root 26 jun 4 12:48 sendmail-command-in_libdir -> /usr/sbin/sendmail.postfix*
$SENDMAIL variable as said before, I saw in the log that the variable $SENDMAIL was unknown for procmail. so I've modified .autoresponder.rc to include this variable. I've added the line above: SENDMAIL=/usr/sbin/sendmail and it worked fine, until Ispconfig recreates the file, and this line didn't appear anymore. where should I write this variable so that it works anytime for any user ? kindest regards, lapena
thanks, I'll try this. I'm pretty sure it will work. and do you have any idea why i don't have this folder : /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin ? (I'm sure i didn't deleted it - I even looked on history) and do you have any idea on how to recreate it ? thanks
you're right it's a file but the folder /home/admispconfig/ispconfig/tools/spamassassin/usr/bin doesn't exist. so the file doesn't exist too.
If the folder and files does not exist, your ISPConfig is either not installed completely or spamassassin has been deleted. I recommend to download the latest ISPConfig version, unpack it and run the setup script. It will update your current installation and should "repair" the missing spamassassin too.
not sending mail out properly Hi till, I've been reading through the post. I've followed the solution and it seems to be working until i sent a mail from my gmail account. the autoresponder tried to respond but since it wasn't local mail it had to go through my smtp relay and it got rejected because it's being sent as [email protected]in instead of from [email protected]. here's the last maillog so you could get a better idea. Code: Jul 22 21:13:35 srv-mkna01 postfix/smtp[13521]: C297B16DB9A: to=<[email protected]>, relay=smtp.*****[*****]:25, delay=3.9, delays=0.41/0.03/3/0.41, dsn=4.1.8, status=deferred (host smtp.****[****] said: 450 4.1.8 <web1_editorial@server01.****>: Sender address rejected: Domain not found (in reply to MAIL FROM command)) basically it's sending mail to non local addresses using a local user instead of the actual email address and it's being rejected by my smtp relay because the domain isn't fully qualified. any help would be appreciated.
same issue in Mandriva, every version 2007, 2007.1 2008, 2008.1, i must modify every rc script template which send mail and there define variable SENDMAIL=/usr/sbin/sendmail if is default no mail is send.
A-records Hi falko, thanks for the reply but i guess i need a little more info. Where do i create an A-record? On my local DNS server or on the one who handles my domains DNS records? Wouldn't it create a problem if one of the domains I'm hosting is the one I have in my local hosts file? like if my local server name is server01.domain.com and one of my websites is domain.com?
Everything seems to be working: Summary Apparently after I upgraded to ISPconfig 2.2.24, the master autoresponder.rc.master that I edited to add SENDMAIL=/usr/sbin/sendmail was overwritten but the autoresponder still worked even without the workaround. I don't know if it fixed the original issue but autoresponder is working without any modification. I added a DNS A-record at my DNS maintainer for my server, server01.domain.com, and changed the hosts file and entries in main.cf for postfix and httpd.conf for the ispconfig web. I don't know if that's all I need to change (any ideas?). I also checked via ISPconfig control panel and made sure the DNS entries point to domain.com only for MX records. Everything seems to be working and I do get email responses even if I send it from a mail address outside of any hosts I have on server01. Thanks a lot for everything. Hope this helps someone else as well.