Debian Configuration :: Tests And Playing Around With Postfix In A Test Squeeze Server?
Feb 15, 2011
I'm doing some tests and playing around with postfix in a test squeeze server. What I want to achieve is a postfix mail server using ports 465 and 587 with smtp authentication to send mails. I followed this howto: [URL].. and I'm using a php script with pear functions to test sending emails to a gmail test account of mine. This is the script:
<?php
require_once "Mail.php";
$from = "Webmaster <webmaster@server>";
$to = "My Name <myaccount@gmail.com>";
$subject = "This is sent with pear as a test";
$body = "This is the body of the message";
[Code]...
View 2 Replies
ADVERTISEMENT
Jul 16, 2011
Setting up my Squeeze test box, I can't seem to get APache2 to find index.html. It keeps coming up with the initial "It works!" page.
On my Squeeze server, the /etc/apache2/httpd.conf file contains this line:
DocumentRoot /home/www_local
and that box serves the website perfectly.
On the test box, I created the /home/www_local directory and put an index.html file in it, then populated /etc/apache2/httpd.conf with exactly the same DocumentRoot line and restarted Apache. Still the same result -- Apache isn't finding my index.html file. I have grep'ed all the files in /etc/apache2 and /etc/apache2/conf.d looking for 'DocumentRoot' and it's not in any of them.
View 2 Replies
View Related
Feb 5, 2011
I have a Mac G3 and Squeeze 2.6.32-5-686 on an ethernet wired. Works fine with Lenny kde but only in one direction with squeeze kde4. Mac pings squeeze box ok but response is "server may be down or offline". Squeeze connects to Mac normally. Squeeze installed with server option. How do I enable eth0? I need some direction
View 11 Replies
View Related
Sep 16, 2009
I did a a basic install of postfix and dovecot instead of using courier-pop and courier-imap. This is only send and receiving e-mail locally within the test network 10.7.0.X and 10.0.0.X. I used:
[URL]
my postfix.conf is;
PHP Code:
[code]....
This is the error when I send an email from a local machine on the 10.0.0.X network.
PHP Code:
Jan 20 17:05:48 testbox postfix/smtpd[2491]: warning: Illegal address syntax from unknown[10.0.0.111] in MAIL command: <test@10.0.0.112>
View 8 Replies
View Related
Dec 3, 2010
Alright, I edited "/etc/default/isc-dhcp-server" and set "eth0" as the only thing listed for interfaces. I also have the code below in "/etc/dhcp/dhcp3/dhcpd.conf" and I even copied it to "/etc/dhcp/dhcpd.conf" for good measure, and I can't get the DHCP server to start. As an intermediate to advanced user, I am under the high assumption that it is broken since everything in the docs has been set. I have googled for two days and cannot find a fix, so before I report it as a broken package, would somebody with more experience with the package chime in?
Configuration file:
subnet 10.0.0.0 netmask 255.255.255.0 {
option domain-name-servers 10.0.0.254;
option broadcast-address 10.0.0.255;
[Code].....
I hid my wireless setup because it contains my WiFi network info including key. This box is routing, doing DNS resolution, and firewalling just fine. I just cannot get the friggin' DHCP server to start no matter what I try.
Oh, and is it safe to delete "/etc/dhcp" or "/etc/dhcp3"? They appear to be duplicates of each other...
View 1 Replies
View Related
Aug 9, 2011
I've been using dhcpd for address assignments to PCs for a very long time with no issues. I recently upgraded from lenny to squeeze and now dhcpd seems to have new behavior which I can't seem to change. Here's what I want to do. First, I have a simple situation and don't want to get involved with dynamic DNS updates. I have host statements for each of my PCs and a range statement for cases where I install a new device and don't yet have a host statement for it. Previously, I could discover the ethernet address for the new device from the dhcpd log and add a host statement with an address of my choosing for the new device.
I'd then restart dhcpd and do something like reboot the device or issue an ipconfig /renew statement on the new PC. What would happen is that the old dynamically assigned IP address would be NAKed and the device would do a DHCPDISCOVER, etc. and get the new IP address I specified in the dhcpd.conf host statement. In squeeze, this no longer works. The client asks for the old address it got dynamically and the server just says yes. I can't seem to find a way to get it to NAK the dynamic address and use the new address I've specified in the host statement. I'd appreciate any enlightenment on how this is now supposed to be done. Here's my simplified dhcpd.conf file:
authoritative;
log-facility daemon;
ddns-update-style none;
[code]....
Note that the address here was assigned based on a previous range statement and isn't consistent with the above config file.
View 2 Replies
View Related
Apr 8, 2009
I have installed Postfix + Amavisd-new, then I am started all services (and configured main.cf and master.cf to use amavis).
The questions are:
1) I am trying to test antivirus scan using eicar test virus
Code:
And the message is successfully delivered to mailbox with mark "CLEAN" in maillog. But I cant see any attachment using
Code:
Where is my mistake?
2) Should I update clam and how I can do it?
3) Is spamassassin enabled by default in amavis (I have started daemon)?
4) Where configuration files of spamassassin is stored?
View 1 Replies
View Related
Sep 10, 2010
I'm in need of a bit of assistance from you Debian users. I have two servers that I thought were identical installations, both running Debian Lenny. Tonight I started the upgrade to Squeeze on both servers and one of them went smooth. The other one started out good but fails on the postconfiguration of openssh-server. I'm getting the following message:
Code:
Setting up openssh-server (1:5.5p1-4) ...
Auto configuration failed
2524:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing equal sign:conf_def.c:366:line 67
invoke-rc.d: initscript ssh, action "restart" failed.
[Code].....
It looks like there's an error in one of the files in openssh-server that prohibits it from installing correctly. However on the other server it all went well.
View 3 Replies
View Related
Aug 24, 2011
I have just installed Debian 6.0.2.1 X86_64. I have enabled the Debian-Multimedia repository, and I have installed gstreamer base, good, bad and ugly plugins, and w64codecs too. Now I want to play MOV files using totem, it says it needs "MPEG-4 Video decoder" to play the file. When I press search, it finds no results. what other packages do I need to play MOV files?
View 14 Replies
View Related
Jul 18, 2009
Having recently bought a new box (HP Pavilion) I discovered that it is using sata HD and CD/DVD. As there are no specific switches to use when installing to sata drives, I assume that Debian Squeeze is configured to work with sata drives "out of the box", which, in my case, it is failing to do. For the sake of completeness, these are the issues I am encountering, in no order of priority:
* DVD/CD-RW can read data CDs
* Can write to DVD and CD using K3B
* Can play DVDs that I've burnt
* Typing "eject" (no quotes) on the command line will open the drive
But:
* Cannot play audio CDs - Rhythmbox is the only application that can. Amarok does, but then doesn't update track lists when a new CD is inserted and I must quit Amarok and restart it for it to pick up the new track lists. KsCD can identify the tracks but does not play an audio CD (even when the config file is changed to point to the drive). Goobox claims "invalid device" even though when using it on the command line I set the "--device==/dev/sr0" (no quotes) to point to the device. When I press the eject button, Goobox seg faults. I have tried a number of other applications, including cdplay, workman, cdcd, and a couple of others the names of which I now forget, some GUI and some command line. None of these have been able to play the audio CD, and many have claimed drive does not exist at all, again, even when manually pointed to it.
* Cannot play pre-recorded (i.e. commercial) DVDs, irrespective of the application used. To make DVDs work, I must go into the folder and double click the correct VIDEO-TS file (*.vob)
These are the specs, taken from dmesg:
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 2.025513] ata2.00: ATAPI: TSSTcorp CDDVDW TS-H653Z, 4403, max UDMA/33
[ 2.041505] ata2.00: configured for UDMA/33
[ 2.049392] scsi 0:0:0:0: Direct-Access ATA WDC WD3200AAJS-6 01.0 PQ: 0 ANSI: 5
[ 2.049891] scsi 1:0:0:0: CD-ROM TSSTcorp CDDVDW TS-H653Z 4403 PQ: 0 ANSI: 5
[ 5.232678] Driver 'sr' needs updating - please use bus_type methods
[ 5.241216] sr0: scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2 cdda tray
[ 5.241216] Uniform CD-ROM driver Revision: 3.20
[ 5.241216] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 5.279572] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 5.279572] sr 1:0:0:0: Attached scsi generic sg1 type 5
This is confirmed by hardinfo and uses a scsi1 controller. The kernel I am using is kernel 2.6.26-2-686 on an AMD Sempron Dual Core 2300 and I am running Squeeze with no other OS. Is this an issue with GNU/Linux generally or with Debian specifically? Interesting, but one Google search showed that Fedora didn't have such a problem but when the user switched to Debian he found a similar issue. I don't think that the drive itself is broken and nor do I think that changing the drive for something else will work, because I'd still have to use the sata connections.
View 2 Replies
View Related
Dec 23, 2010
I installed a new squeeze serverXen Hypervisor runs the server as Dom0 anda virtual Windows XP.The server runs samba, postfix, dovecot, squid, cups and hylafax with a Frritz ISDN card (module fcpci.ko).The used memory of Dom0 rises slowly (about 5MB /h) until the system crashes.As a workaround i installed a reboot every 24 hours.htop shows normal behavior.The system is already in production, so i can't stop services to track this bug.I need some hints how to debug the running system to find out, where the memory gets lots.
View 3 Replies
View Related
May 13, 2010
I have a web server running and wish to get a mail server running on the same machine. I have a registered domain name. I have postfix and dovecot installed. I can send emails from the server to my normal address on a different domain but cannot receive mail. I can send and receive mail locally with no problems. I just don't know where to look for the problems. If you need any more info ( config files/doamin names etc let me know)
View 5 Replies
View Related
Jul 6, 2010
I have a set of vm's with stable, testing, and sid to keep track of how things are going. When I did an apt-get dist-upgrade with squeeze last week, things seemed to OK (350 package updates) until the end. It didn't seem to like and / or was confused by a kernel dependency.
I am not too concerned yet. Because these are in vm's, I do a snapshot before any significant change. I can futz around with impunity because I have that backup.
I re-booted, and tried the apt-get dist-upgrade again with same results. I think I also tried apt-get -f install.
So I reverted to the snapshot, and will simply try again in the future. I recall that with lenny as testing, the font-desktop was really screwed up for about a period of 6 weeks.
However, just in case someone else runs into this:
1) a re-boot worked, but the failure of apt-get made me nervous enough to revert.
2) waiting for corrections has seemed to work in the past (with a single exception with a 4-disk SCSI software RAID10 update that failed to re-boot lenny successfully after what seemed to be a minor update -- that was on a real system, not a vm. I haven't gotten back to look at that.)
View 14 Replies
View Related
Feb 8, 2011
I recently just installed Squeeze on an ia64 system and was having some troubles with running VNC.I get the following error, more specifically for some reason I get a malloc - memory corruption error:
Xtightvnc(9165): unaligned access to 0x60000000001ea06c, ip=0x4000000000268280
Xtightvnc(9165): unaligned access to 0x60000000001ea074, ip=0x4000000000268280
Xtightvnc(9165): unaligned access to 0x60000000001ea07c, ip=0x4000000000268280
Xtightvnc(9165): unaligned access to 0x60000000001ea084, ip=0x4000000000268280
[code]...
After display all the code above, it just stops. The port 5901 is still closed - if it runs properly, would it open automatically?Is there something that is incompatible? Or am I missing some system configuration component?
View 1 Replies
View Related
Dec 13, 2010
Postfix Configuration needed and its use
View 1 Replies
View Related
Sep 2, 2010
I have been using Lenny for about a year now, but for some reason Xine has suddenly stopped playing mkv files. It plays everything else including flash. I only started using xine because the mkv files for some reason suffer from a lag between the video and audio in mplayer. I tried installing banshee and vlc but neither of them show video. So I was left with only Xine and it worked perfectly then it suddenly stops playing mkv. Is there something I need to install or remove, reconfigure? Do I just delete the Xine config folder in my home-folder? Lenny being what it is I can only install what is on the out-dated Lenny repos trying anything else like the unstable releases simply wants to uninstall my entire system.
My machine specs are:
Acer Aspire 8930
Intel Centrino 2
NVidia geforce 9600m GS 512mb
RAM 4GB
I have the proprietary nVidia graphics drivers installed. So it is powerful enough.
View 2 Replies
View Related
Jan 17, 2011
I have configured postfix on my server.
telnet mydomain.com 25
helo validdomain.com
mail from: validaddress@validdomain.com
rcpt to: validuser@mydomain.com
[code]....
When I run this test, as expected, the email is delivered to validuser. However, postfix also delivers it to user1 and user2 despite the fact that the sender does not belong to my domain. I have implemented client, helo and recipient restrictions as below. How do I prevent the malicious use of CC as described here?
Snap of main.cf
-------------------
smtpd_client_restrictions = permit_mynetworks,
reject_invalid_hostname,
reject_rbl_client zen.spamhaus.org,
reject_unknown_client,
[code].....
View 1 Replies
View Related
May 2, 2011
Just for some testing on a test non-productive machine, how to allow Gnome login by root user on squeeze?
View 8 Replies
View Related
Apr 23, 2016
I have currently configured Postfix as an SMTP server. I would preferably not use a domain name in my email address, like so: myname@[1.2.3.4]
I'm currently testing to see how other mail servers handle this kind of address. When I sent a mail with one one of my gmail accounts, I see that the mail gets rejected due to bad syntax.
It seems as though Google is giving me a RCPT TO address like so: myname@1.2.3.4 However, the postfix server rejects this address with the following error:
501 5.1.3 Bad recipient address syntax
To my best knowledge the only way to have an IP address inside an email address with to write it as a domain literal [1.2.3.4].
My question: how to configure postfix to accept myname@1.2.3.4 as well?
I have put both [1.2.3.4] and 1.2.3.4 in "mydestination" and 1.2.3.4 in "virtual_alias_domains".
It doesn't seem to work so far though.
View 1 Replies
View Related
Feb 19, 2011
how to install Dropbox for Debian Squeeze from source.Please read everything before you begin. I prepared it as I installed Dropbox for my own system. Please Note: I use sudo, you may have to use root or 'su' from the command line. If you don't know the difference between sudo and su, then you shouldn't try this until you know. At the time I did this, the lastest dropbox version was 0.6.7.
View 7 Replies
View Related
Apr 5, 2011
I installed Firestarter firewall on debian Squeeze.Now i note there is a gui available in System->Administration which apparently does not need to be running all the time - its not set up to start on boot.When I boot I notice the boot message has a line saying "Starting Firestarter firewall .... failed"When I am logged in and type "/etc/init.d/firestarter status" as the Firestarter FAQs say, I get"Firestarter is running... ... (warning)"I can run the gui manually and still same message.
View 2 Replies
View Related
Aug 28, 2011
When I activate Tor in Iceweasel, it forbids me access to the internet completely. Even attempting Google results in "Iceweasel is configured to use proxy server that is refusing connection".
I have seen this in Lenny, too - it was caused by activating Tor without having installed privoxy. I installed privoxy and everything was okay. In Squeeze, Tor is using polipo. Polipo is installed and running. I have not played with settings of polipo or Tor, the configuration is the same as it was after installation.
What can be wrong? I am a rather an user than a networking guru. I am connected to internet by means of DHCP, no local lans, no special routings, no additional proxies. I have already tired to reinstall polipo.
View 2 Replies
View Related
Jun 20, 2011
My Postfix cannot currently create any folders other than inbox. Even when I send an e-mail I receive an error along the lines of, "Could not create sendmail folder." Also, my Postfix isn't receiving e-mails, and can only send e-mails to other accounts on the server. I called my ISP and they told me my port 25 isn't blocked, and it is forwarded on my router so I am not sure what could be wrong. I am using zoneedit as my name server and I am pretty sure my MX record is good.
View 14 Replies
View Related
Feb 15, 2010
Just installed squeeze on a new laptop(had been runny Lenny on my older one with no issues, but no sound or wireless on the new one).I decided to install the ATI drive for my Radeon Mobility 4500(or some close revision) because the fan is constantly running and based on some other postings, it seems that it could be the graphics card causing it.Downloaded the driver from ATI's site and it seemed to install fine but when starting X.
View 11 Replies
View Related
Jun 20, 2010
When I try to downgrade from sid squeeze I don't get GDM running just a login promt after a reboot.Have also reinstalled nvidia driver but still only login promt.I did aptitude update and aptitude full-upgrade after changing sources.list from sid to squeeze.
View 2 Replies
View Related
Oct 19, 2010
Got a problem mounting my Windows partition in Squeeze. It keeps refusing to mount it for me in Dolphin. I am a member of the disk and fuse groups, /dev/fuse is owned by root:fuse, and /sbin/mount.ntfs points to /sbin/mount.ntfs-3g, which in turn points to the ntfs-3g executable. I kind of need this ASAP. I am supposed to be finishing with this machine in 35min, and I am dead in the water without the ability to copy some files from the Squeeze ext4 partition over.
View 14 Replies
View Related
Oct 21, 2010
I installed Debian Squeeze from a net install to a raid 1 array. I have been having a lot of troubles related to being able to write to one or more of the mounted drives - even touch gives me errors.
The most interesting line from dmesg is:
Here is the full output from dmesg:
I found a thread that indicated that this bug was fixed in the next kernel version: 2.6.32-6. I am willing to upgrade the kernel to get rid of my problems. Is a squeeze kernel at 2.6.32-6 or higher available? If so, where? I have not compiled my own kernel, and am not very interested in getting into that.
View 8 Replies
View Related
Dec 20, 2010
I use my laptop at the college, and I've to suspend him frequently. So, I've decided to install the package pm-utils, to hibernate my PC, instead of power off it. When I try to do "# pm-hibernate", a tty appear, and this error is displayed :
[3506.405310] pm_op(): usb_dev_suspend+0x0/0xa [usbcore] returns -2
[3506.405310] PM: Device usb1 failed to freeze: error -2
This is the result in pm-suspend.log :
Initial commandline parameters:
[Code]....
View 14 Replies
View Related
Feb 6, 2011
I have upgraded my server to Debian 6.0 Squeeze but it looks like some of my sites are not compatible with PHP 5.3.x so I would like to revert to previous 5.2.6 version.So my question is what to do?a) Remove PHP 5.3.x from system via apt-get and install my old 5.2.6 from old archives at /var/cache/apt/archivesorb) just try to update from archives PHP to 5.2.6?
-rw-r--r--. 1 root root 2413316 May 11 2008 libapache2-mod-php5_5.2.0-8+etch11_i386.deb
-rw-r--r--. 1 root root 2413290 Oct 6 2008 libapache2-
[code]...
View 10 Replies
View Related
Feb 6, 2011
As a long time user of some other distributions I decided to switch to Debian and installed 6.0 from amd64 kde cd image.Upon logging to KDE I discovered thatant locate knetworkmanager anywhere,it doesnt autostart and I could not find it anywhere else.I am connecting through a wireless network to the Internet so I cant connect through the Ethernet to download it through apt-get for example,if it is not installed by default.lly confused,knetworkmanager is standard tool in KDE but I cant find it in Debian 6.0
View 9 Replies
View Related