Debian Configuration :: Amavisd-new + Spamassassin: *.cf Files Not Working?
Apr 28, 2011
I configured a mail server using Squeeze's latest packages with Posfix + Amavisd-new + Clamav + Spamassassin, but apparently the latter is not using the system configuration files, and I cannot figure out why.Running amavis in debug mode I get the following:
# /etc/init.d/amavis debug
Trying to run amavisd-new in debug mode...
Apr 28 16:01:08.291 [1427]: starting. /usr/sbin/amavisd-new at *******************
I followed this how to document [URL] to install postfix, Amavisd, SpamAssassin and ClamAV. My postfix installation is working fine and I can send and receive emails fine. However, it looks like SpamAssassin is not catching any emails. Emails do get passed over to Amavisd as I can see in the logs but ALL Messages comes out CLEAN without being tagged as spam.
As per the document, I did test by sending a test virus email
it does get delievered without being detected as SPAM or tagged as SPAM.
As I said, I have followed the documentation dot by dot and hence do not have spamassassin starting up as a service but i guess amavisd starts it within itself as a module.
Also, my postfix version is the one that supports mysql virtual tables which I got from rpmforge.
start working with SA+Amavis+clamd+postfix+dovecot.will be my filter:spamassassin+amavisd-new+clamd. 1 Server will be my mail server: postfix+dovecot. Like u see, the emails from the outside reach first the filter, latter the mailbox. Now, I have seen in my log files, that if I receive a email to a "unknown user", the filter doesn't detect this and process the email and send it to the mail server. Exist a way to setup the filter to first check if the user exist and them apply all hard work and latter send the email to the mail server
This is what writes when I enter localhost in browser and press Enter.
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
http://localhost/~david/baby.php
Not Found
The requested URL /~david/baby.php was not found on this server.
Apache/2.2.19 (Debian) Server at localhost Port 80
So , I copied file directly into /var/www folder, entered /localhost/baby.php and get this :
Server error The website encountered an error while retrieving http://localhost/baby.php. It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this webpage later. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
So , it's not 'bout path or server .. or about php file (I tried few). I don't know what to do
I have a RAID5 array created with mdadm from four 1.5 TB WD15EADS formatted XFS and shared with samba. I recently upgraded it (fresh install to a SSD) from an old -stable 2.6.18-6 to a fresh -lenny 2.6.26-2, and since the upgrade, I've noticed I can't stream high bandwidth video off of the array over samba anymore. The video stutters like it's out of bandwidthI've tried using mpc-hc64 in Windows 7 and my newly arrived Boxee Box.
Everything is wired gigabit ethernet (Boxee Box isn't, but the other two and the switch all three run through are), and I can copy the file at 30-35 MB/s to my desktop, which is significantly more bandwidth than streaming a video consumes. Looking at CPU usage on my desktop and the debian file server, there is plenty of headroom on both. Lower bandwidth files play perfectly fine, either SD or smaller HD.
Since I installed to a new boot drive, all the other hardware is the same, and the array of data is independent of the OS installation, I can boot off the old system, and I can verify that it indeed does not have the streaming problem. Everything plays perfectly smoothly like you'd expect. It even appears to copy slightly faster (35-40 MB/s versus 30-35 MB/s).Is there something in the configuration of the system or samba that I can change?
I have install Debian 8.1.0 powerpc on a G5 2.0Ghz mac. It boots into a patchy square colour screen with no GUI. I am thinking there is a graphic driver problem so used (control +alt+f1) to enter the terminal and get the information below also tried to install nvidia-current but did not work. Have read that I need to blacklist nouveau drivers but don't know how this is done.
I'm trying to get nfs server working at boot up and it isn't starting because it says portmapper isn't running. I've read through a bunch of documentation on this and have gotten to the point that if the documentation tells me to Code: Select all$ apt-get install nfs-kernel-server portmap I usually stop there as it is outdated. I cant find a process doc that utilizes rpcbind. So, here is what I've done on my own:
setup /etc/exports with a proper nfs dir and exportfs it Code: Select all$ apt-get install nfs-common nfs-kernel-server $ sysv-rc-conf ---│ nfs-kerne$ [ ]   [X]   [X]   [X]   [X]   [ ]   [ ]   [ ]    │ ---│ rpcbind   [ ]   [X]   [X]   [X]   [X]   [ ]   [ ]   [ ]    │ $ service rpcbind start
[Code] ....
The errors however don't seem critical as I'm able to mount the exported directory. OK so it appears to me that nfs server is working. However through a boot, the nfs-kernel-server and the rpcbind services are not starting. The nfs-kernel-server didn't start because rpcbind wasn't running. So I start rpcbind and then nfs-kernel-server and then nfs server works. So what am I missing? Why will rpcbind not start at boot?
am not able to get internet working, am using debian testing. Dunno what is the issue. Here's the lowdown on /etc/network/interfaces :-
Code: Select all# This file describes the network interfaces available on your system# and how to activate them. For more information see interfaces (8)
#The loopback network interface auto lo iface lo inet loopback
auto eth0 allow-hotplug eth0 iface eth0 inet dhcp
I tried all the usual :- Code: Select all$ sudo dhclient (this usually worked/works) $ sudo ethtool eth0 $ sudo systemctl restart networking
I recently installed Debian 8 on my workstation , witch before ran ubuntu 15.04 , but after Debian 8 came, I have not succeeded running ssh with X11forwarding.
case is:
I have a server running ubuntu 14.04 , and when I login that server from my laptop ( also ubuntu 14.04 ), I have no problem getting x11forwarding working, but if I try login from my debian8 workstation, I'll get this error when trying to run xterm ( output is from ssh -X serverip )
connect /tmp/.X11-unix/X0: No such file or directory xterm: Xt error: Can't open display: localhost:12.0
a ls show that the file exsist
$ ls -la /tmp/.X11-unix/X0 srwxrwxrwx 1 root root 0 Aug 18 17:53 /tmp/.X11-unix/X0
In the servers sshd_config i have the following options enabled
X11Forwarding yes X11UseLocalhost yes ( i have tried both yes and no here ) X11DisplayOffset 12
and my ssh_config on my debian8 I have the following lines enabled
As I see it with a 'ssh -vv -X serverip' all x11 debug messeage i the same both on my working laptop , and nonworking are the same, and ~/.Xauthority get created on the server when i login
The following env variables are set when i log into the server from my laptop ( some var is omitted )
I am at a loss as to what to do to get Privoxy working. I have tried it using Ice Weasel and Konqueror and end up with the same problem: after I set the configuration in the browser, I cannot access anything on the internet.
i am running debian testing and the last few days i was trying to ssh to another pc on my network and i was getting an error like there was no machine with that ip! then i tried pinging to it with no luck! ARP was the only tool that returned the MAC address of the machine and that is strange i think. i realised then that i could only ping the gateway and localhost (127.0.0.1 not my ip). after editing my /etc/hosts, i could ping my ip as well. what is so wrong? here are some useful things:
my new /etc/hosts: jack@debian:~$ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 debian.local debian
I work in a company and we have problems on our server so i decided to investigate. I found first that we don't have any ftp logs. We use vsftpd and i tried unsuccessfully to configure it to write the logs.
So here i am: - vsftpd doesn't have any logs (no vsftpd.log file in /var/log/)
I added the following lines in the vsftpd.conf : syslog_enable=YES log_ftp_protocol=YES xferlog_enable=YES vsftpd_log_file=/var/log/vsftpd.log
[Code]....
I also took a look at vsftpd process : it is owned by a user called "nobody" and a user called "www-data" when i upload or download files.
I would appear that I recently installed linux-image-2.6.32-5-amd64. Since then I have noted that my HP media bar up top doesn't work. This means I can't enable/disable wireless. From an lspci output, it still sees the hardware, and it's loaded, however, not functioning. Should I be looking at rolling the kernel back, or work on getting it working via some other means? Any liveCD I've tried doesn't seem to be able to get it going either. So I'm under the assumption here it is the kernel version, and not a hardware problem.
Also tried this to no avail: sudo apt-get install rfkill rmmod iwlagn rfkill block all rrfkill unblock all modprobe iwlagn rfkill unblock all ifconfig wlan0 up SIOCSIFFLAGS: Unknown error 132 rfkill list 2: phy2: Wireless LAN Soft blocked: no Hard blocked: yes
Before I used to make a copy of configuration file and give the end of the file name as 'something.conf.bkp' . Later realized it was a mistake. The correct wording should end in .bak and not bkp .
As per (See apt.conf(5) manpage, section DIRECTORIES, last paragraph.)
The Ignore-Files-Silently list can be used to specify which files APT should silently ignore while parsing the files in the fragment directories. Per default a file which end with .disabled, ~, .bak or .dpkg-[a-z]+ is silently ignored. As seen in the last default value these patterns can use regular expression syntax.
I just moved from Ubuntu to Debian, managed to get the WiFi printer working, installed flash player etc. Just seemed to have trouble opening files over the LAN, is there a firewall setting I need to set. Files work fine if i copy them to the desktop and open them from there but not over the LAN. I have looked on the web with no luck.
I am trying to access logs Apache logs (I just installed Apache) and it is giving me permission denied errors. What permissions did you give to yourself in order to access these logs or should I just add this user(myself) to adm group?I can access other log files with no problems for example ssh logs.
I run a Squeeze system and have recently updated various packages. As far as I can tell one of the changes has deprecated HAL FDI files (used for, among other things, configuring various input devices). I am hence wondering how one should go about configuring such devices --- without having to resort to an xorg.conf file.The two devices in question, an TouchPad and TrackPoint can both be configured via XInput when I log-in, however, it is somewhat tedious. Writing a log-on script to do this also seems rather hacky.So my question is: what is the most elegant way of configuring XInput devices?
In a hp pavilion 15 Notebook PC with Debian 8.1.After two hours or so wifi stops working. Network-manager does not give any indication of failure but some times a yellow question mark.
rfkill list wifi gives: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no ifconfig gives: eth0 Link encap:Ethernet HWaddr 8c:dc:d4:7b:c2:0e UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:3994 errors:0 dropped:0 overruns:0 frame:0 TX packets:3661 errors:0 dropped:0 overruns:0 carrier:0
I've installed macchanger and choosen the "run on boot" option. But it doesn't work.
Dump of /var/log/macchanger.log:
Code: Select alldisabled in /etc/default/macchanger disabled in /etc/default/macchanger disabled in /etc/default/macchanger disabled in /etc/default/macchanger disabled in /etc/default/macchanger
[Code] .....
If I change to ENABLE_ON_POST_UP_DOWN=true then I get this log-output after reboot:
Code: Select allIFACE = --all /usr/bin/macchanger: unrecognized option '--all' GNU MAC Changer Usage: macchanger [options] device
[Code] ....
Report bugs to [URL] ....
Guess its some bug about the interface, but how do I change it?
I am new to linux and decided to use Debian. I installed it on my laptop and have a few problems.First one is my WIFI.
Laptop type: HP Omen 15 Wifi adapter: Intel Wireless 7260n rfkill list output:0: hci0: Bluetooth Soft blocked: yes Hard blocked: no So wifi is not displaying Kernel: 3.16.0-4-amd64 Debian version: 8.4 gui: LXDE URL....
But they see in rfkill list the adapter.How to make this adapter work?I did this with no result:
nano /etc/modprobe.d/blacklist.conf in file add: #Fixing a bug that prevents wifi from working on HP Omen blacklist acer_wmi
I would like to learn more about Linux, but before experimenting I need a working system. The plan for me is to run this as my native machine with vms on top of it with other OS.
I don't print much, but tonight needed to print and found that none of the printers were listed in Okular or Openoffice, then when I tried to open Cups Administration http://localhost:631/ I got the error message Connection to Server Refused
I just did a regular install of debian lenny on a stand-alone machine. Now I want to add some new mp3-software. Debian doesn't like it if I install as root. A regular gets other negative results:
wlff@debian:~/My_Apps/mpg321-0.2.12-1$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... no checking for gawk... (cached) mawk checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. wlff@debian:~/My_Apps/mpg321-0.2.12-1$
I did find the GNU-compiler in /usr/lib/gcc. So what could be wrong with gcc, and what about gawk, cc and cl?
The computer networking works fine with a normal static setup, but adding a USB wireless device is not successful. It is my own network so the wpa-ssid and wpa-psk are known to work with Lenny and a previous wireless device.The device is recognized (lsusb) and the driver is confirmed to be in the kernel (lsmod). Here is the iwconfig output:
wlan0 IEEE 802.11bgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off
After typing: ifconfig wlan0 192.168.1.144 up I can ping that address, but it is not working. I have just done a fresh install of Sid so that I could get the 2.6.35 kernel which contains the ath9k_htc driver for the USB wireless device that I am using. The firmware is ar9271.fw but my source of that is questionable because it does not seem readily available. I am temporarily using a PCMCIA wired connection which is what I am using to connect to the computer via telnet. (This is just for convenience so as to avoid getting up all the time.) Here is the ifconfig output:
I am moving over to debian from ubuntu, and the latest install is to an acer aspire one netbook, the wireless card seems to be working and I can see available networks and even connect to mine (with WPA encryption) via the gnome network manager, however opening a browser or pinging both local and external machines all fail. its as if the OS does not not know to use the card. The wired works fine.
If memory serves the card is identified by lspci as Atheros AR5007.
There is no reference to wlan0 in etc/network/interfaces.
I do not have that system on now and have to leave for work, but I can post any further info from conf files etc as required when i get home tonight... Just thought I'd post a quick description in case I'm missing something obvious...
About an hour ago i did an update on my Debian Squeeze. After the update was completed my LAN connection stopped working.. now i have to connect my computer to my router with a usb cable instead with my ethernet cable.. also, on the network connection, on the wired network section it says that the device(ethernet) has not been managed..