My problem is that I can't disable checking mail after logging (communique "You have mail." or "No mail") in my system Debian 5."CheckMail" option in OpenSSH is now inaccessible.I tried to set "MAIL_CHECK_ENAB" option to no in /etc/login.defs but it doesn't work.I added "unset MAILCHECK" in /etc/profile but this doesn't work too.I tried to comment line "session optional pam_mail.so standard" in /etc/pam.d/login but it didn't help.
I am logged in as root to my server and trying to get to the mail of a particular user (not root). I have created a mailbox in the 'prohosters' interface (a bit like cpanel) for johnny@john.com (under linux user: 'j0hn' I think) but when running the 'mail' command from the command line only seem to get mail for the root user ... ?I'd like to get any new emails as well for johnny and output their contents -
I cannot get exim4 to actually deliver any "local delivery only; not on a network".But whatever I do in the config, all mail gets frozen with entries in the log file like:"root@empty R=nonlocal: Mailing to remote domains not supported"Maybe the problem is that there is no fqdn for the computer (and will never be). How can I enable local mail delivery?
The question is pretty much the same as the subject. I have a bunch of debian servers - most of them running exim4 default installations configured as internet site using dpkg-reconfigure exim4-config. It can send mails fine from php scripts and some other applications, but I can't seem to find a way to forward all root mail to some external address. I have tried adding "root: someaddress@example.com" to /etc/aliases and run newaliases command, but it doesn't seem to work.
I need help in setting up the native e-mail client included in Debian Squeeze. My ultimate goal is to have the Debian e-mail client download e-mail messages and process attachments automatically.
i basically had this system installed for our mail system.The setup is as follows:
1. Operating system installed is Debian ver. 5.0.3
2. Roundcube is installed as a webmail(if its right for me to say that)
3. The server is hosted right here at our offices
4.The server uses relay system to send mail i.e. relays all our mails to our ISP
That all i can say about the configurations becuase thats as much as i understand it.The problem now is that we are not able to send or recieve emails from both internal and external.I tried to send mail to a collegue in the office who is on our local LAN,Roundcube says sent successfully but the person does not recieve the mail.i tried to send to my yahoo address but nothing.I dont know where these mails have been trapped.
I've installed Postfix and have the server running.On installation, it asked me which domain the service will be for. I entered "test.com". The service will be used for multiple domains. Can Postfix service multiple domains? If so, how can it be done?How does one create a user account? I have read the user account is a UNIX user account. My UNIX user name is "n", so would that mean my e-mail would be "n@test.com"?Is it true mail will be stored in /var/mail by default?I read on Wikipedia that Postfix does not support IMAP, so how does one access mail remotely, or even locally?
Sometimes at startup I get this message "Checking disk 1 of 1". Does that mean it's checking all partitions on the hd? After a bad shutdown there is no prompt for fsck to run and the system just boots up. In fstab I have both options set to "1" for the partition Ubuntu is on, all others set to "0". Any ideas on both?
I can use spell check for English with vim, it works quite fine. But I don't succeed in doing it in another language. For example German spell checking: The command :mkspell ~/.vim/spell/de /usr/share/hunspell/de_DE.aff generates a de.utf-8.spl in the right folder, but vim marks every word as wrong when I activate it with
I have switched recently from Ubuntu to Debian and overall I am enjoying it. However I was just wondering, does Debian, like Ubuntu check the filesystem at boot periodically or if damaged, because it is doing neither in my case? How do I get it to do this
Is it possible to check out the log as well when you are checking out a version from some repo. For instance this is a game I like :-
[Code]...
The game is called dawn-rpg and one can find about it at dawn-rpg.sourceforge.net but that's not what I want to talk about. The thing it would be so much more convenient for me if instead of going to the svn mirror or whatever it is and checking out the log, it was local. I know I could do something like this :-
svn log > svnlog150611.txt
This would download the log file and put the contents in some text file I have named as svnlog150611.txt . The problem with this way of doing things is that each time I have to check out I would have to create a new txt file with that date. If there was a way one could check out the log as well when checking out a new version/release it would be nice. Its also possible that this might be already be there and there might be another command to use locally that I am not aware about. In that case, would look forward to people to share the same.
How can I use the preinst script to check to see if the version that is installed older than the version trying to be installed and if so, take an action?
For example: if the software installed is at a version less than 6.14 then take an action, else return 0?
preinst: Code: Select allset -e case "$1" in  install|upgrade)  # if version installed <6.14 then do something else return 0   ;;
I followed this doc for the "debian method" for building the kernel: [URL]. I installed the source in /var/tmp/src/linux-2.6-2.6.32 , configured it, and tried make-kpkg modules-image. The error I get is:
checking for current directory... /usr/src/modules/alsa-driver checking cross compile... checking for directory with ALSA kernel sources... ../alsa-kmirror checking for directory with kernel top-level makefile... /var/tmp/src/linux-2.6-2.6.32 checking for directory with kernel headers... failed make[2]: *** [configure-stamp] Error 1 make[2]: Leaving directory `/usr/src/modules/alsa-driver' make[1]: *** [kdist_image] Error 2 make[1]: Leaving directory `/usr/src/modules/alsa-driver' Module /usr/src/modules/alsa-driver failed.
I tried some hacks such as setting KBUILD_SRC or ln -s linux-headers-2.6.32-5-amd64/ /usr/src/linux - but these fail too.
I am not referring to the bash history file. I am referring to the system log file. All of my console activity (letter for letter) is being stored in the system log. It's my understanding that version 4.1 of bash is where this behavior first started but was originally optional. I don't like it and I want to stop it. I am using a current version of jessie with bash 4.3 and I can find no way of turning it off
Monitoring the activities of users may be necessary .for admins in a business environment but this is a home computer and I consider this kind of tracking intrusive and unwanted.
I first noticed this with the journal system log and mistakenly though it had to do with journal so I removed the journal system and installed dsyslog which has the same behavior.
Perhaps debian should offer two versions of bash. It's my understanding that this is configured in a header before compiling.
I wanted to make my boot logging pretty hence used this shell script from As given in the instructions therein, I just copied the shell script in /etc/ directory with the name lsb-base-logging.sh and gave the shell script executable rights. ($ sudo chmod +x lsb-base-logging.sh) . After booting up with the new boot script I did not like it. (seemed more ugly than the default option). Now while I have removed the executable bit its still showing the ugly (or pretty as you look/feel it) modified bootup./etc$ ll lsb-base-logging.sh -rw-r--r-- 1 root root 1337 Aug 16 18:48 lsb-base-logging.shDo I need to completely remove the script for the default boot to come back.
I'm having issues setting up rsyslog to receive syslog from another server and only log to one file. I'm receiving the syslog from the remote side, however its putting the entries into more than one log file.
I configured /etc/rsyslog.conf to enable udp, and I have implemented a filter to log only from that IP address, and then stop processing more rules, but it seems to continue on.
I have found that the remote syslog events are using local0 and local1. There are two custom rsyslog config files in /etc/rsyslog.d that handle those two facilities. If I use that same if statement at the beginning of those custom config files, I can get it to work. Seems like a hack though.
Not working:
I put my if statement before the include statement, thinking I could stop it from hitting the custom rules.
Code: Select all# /etc/rsyslog.conf  Configuration file for rsyslog v3. # #            For more information see #            /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html
$ModLoad imuxsock # provides support for local system logging $ModLoad imklog  # provides kernel logging support (previously done by rklogd) #$ModLoad immark # provides --MARK-- message capability
[Code] ....
This works: A custom config file in /etc/rsyslog.d Code: Select allif $fromhost-ip == '<my ip>' then /var/log/<my directory>/syslog.log & ~ local0.*Â Â Â Â /var/log/<a log file for local0>.log
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
I have been using Debian for about 2 years now, I have decided to use my email through Evolution (actually both my live and Gmail accounts). Right now my problem lies with Gmail so I will just mention that...
Evolution simply does not accept my gmail password when I log in. I have gone through the whole "Evolution Setup assistance" many times, and whenever the setup is done, and I proceed to open up the program and actually log in to my email> I enter my password and click "ok", and then the same login screen simply flashes and asks me to enter my password again! This is the entire problem. I cannot go beyond the login screen, and evolution simply asks me to enter my password again, and again, while never logging me in. And yes, the password is correct as I use the very same one to log into gmail's web interface several times a day. Imap is also enabled in my gmail account.
I have used Gmail's imap and smtp configuration information from [URL]..... and it simply does not work, even though I put all the information into Evolution Correctly.
I know it's possible i did it once but i can't do it again...
I wanna try to fix the GRUB or whatever the problem is. The error messages after login are: Nautilus can't be used & the panel encountered a fatal error.
When I start a screen session over SSH, I can edit and save files from within the screen session before I log out of the SSH session. But after I log out and log back in, I find that the screen session has lost write privileges, so that I can no longer edit or create any files, even within my home directory. How do I prevent this from happening?
I've all of a sudden been getting permission denied for almost everything I try to do. Upon logging in, I get a huge amount of "/dev/null: Permission denied"
The only way I can manage to get to the terminal is by Ctrl-C. It never brings up the command line, unless I do that.
If I try to startX, I get errors, also saying permission denied, and then one that says
Code:
I also get many "failed" errors when booting, most of them saying that a file could not be found/located.
Check the thread link at the top for other information in the first post.
I could reinstall Debian, but the computer I am using is a Libretto 110CT (64MB RAM), which has only a PCMCIA drive, for which I have a USB port replicator. There is no CD drive.
It was also a custom install fitted for the computer, so I'd rather not have to set everything up again, nor would I know how to exactly, as I've never done it before.
I got a new dsl modem/router today and now for some reason I can't login into an ssh session using putty and windows using the hostname of the debian box. I can login using the ip though. Also, it seems I can still access the debian box via samba/windows explorer using the host name.
I'm trying to use these cookie cutter rules that I found. But every time I use them, after a few seconds my wifi connection goes dead. The exception was the first time I used then. Which lasted me a couple of minutes.
By dead I mean I can no longer open a webpage or ping google.
iptables -N LOGGING iptables -A INPUT -j LOGGING iptables -A OUTPUT -j LOGGING iptables -A LOGGING -m limit --limit 2/min -j LOG --log-prefix "IPTables-Dropped: " --log-level 4 iptables -A LOGGING -j DROP
I've got a Shorewall (Shoreline?) firewall up and running, but it's logging to /var/log/messages. I'd much rather have it logging to another location e.g. /var/log/firewall but can't find (a clear enough) explanation on how to do this. Apparently, it varies greatly depending on the distro, the kernel, and the version of Shorewall that is running. You'd think it would be something as simple as setting a path in a config file, but apparently not. I'm running a stock Lenny kernel on the firewall machine. It comes with version 4.0.15 of Shorewall.
Some days ago (2015-09-28) I installed Debian testing amd64. Log in as a user failed and instead of the Gnome UI there was a sad face with the text: „Oh no! Something has gone wrong. A problem occurred and the system can't recover.
All extensions have been disabled as a precaution. Log out“.
The relevant output of journalctl (run as root) said:
etc/gdm3/Xsession[5379]: cannot connect to brltty at :0 - /etc/gdm3/Xsession[5379]: Service 'org.kde.kaccessibleapp' does not exist. - gnome-session[5379]: x-session-manager[5379]: WARNING: Application 'gnome-shell.desktop' killed by signal 5 - gnome-session[5379]: x-session-manager[5379]: WARNING: App 'gnome-shell.desktop' respawning too quickly - x-session-manager[5379]: Unrecoverable failure in required component gnome-shell.desktop
[Code] ...
After some investigating, I found three work-arounds.
(1) Use gdm3-autologin: In /etc/gdm3/daemon.conf, remove the double crosses and insert own user name AutomaticLoginEnable = true AutomaticLogin = <own user name> Disadvantage: Only one user can have access to the Gnome ui. If you log out, you enter the gdm3 greeter and … see above.
(2) Turn off gdm3 by running 'systemctl stop gdm3' as root, log in into a terminal as a user and run startx.
(3) Install package lightdm and make it to the standard display manager with 'dpkg-reconfigure lightdm'. Disadvantage: Energy manager and screensaver settings of the Gnome control center are ignored.
The easiest way, however, especially if there are several users, is logging in via the gdm3 greeter.