Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nervige Meldung you have new mail in folder /var/mail/USER
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
deranonyme
Guru
Guru


Joined: 09 Jul 2005
Posts: 508

PostPosted: Mon Sep 23, 2013 8:56 am    Post subject: Nervige Meldung you have new mail in folder /var/mail/USER Reply with quote

Hallo

Wenn ich mich als Nutzer anmelde und KDE starte bekomme ich eine Meldung "you have new mail in folder /var/mail" die ich jedes mal wegklicken muss. Wo kommt die her und was kann ich dagegen unternehmen?

Frank
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4520
Location: Germany

PostPosted: Mon Sep 23, 2013 11:02 am    Post subject: Reply with quote

Klingt ein wenig nach pam
Siehe zb im Bug 473678
Und schau mal ob der Tipp aus Comment 2 zunächst erst mal weiterhilft.
Back to top
View user's profile Send private message
deranonyme
Guru
Guru


Joined: 09 Jul 2005
Posts: 508

PostPosted: Mon Sep 23, 2013 2:59 pm    Post subject: Reply with quote

Danke! Ein emerge pambase mit minimal Useflag hat geholfen. Irgendwann habe ich das System wieder so wie es sein soll.

Frank
Back to top
View user's profile Send private message
arfe
Apprentice
Apprentice


Joined: 24 Aug 2005
Posts: 298
Location: Essen

PostPosted: Tue Sep 24, 2013 12:26 pm    Post subject: Reply with quote

deranonyme wrote:
Danke! Ein emerge pambase mit minimal Useflag hat geholfen. Irgendwann habe ich das System wieder so wie es sein soll.

Frank


Das wäre nicht nötig gewesen, wenn Du mal die man pages dazu gelesen hättest.


Code:

PAM_MAIL(8)                                                 Linux-PAM Manual                                                PAM_MAIL(8)                               



NAME
       pam_mail - Inform about available mail

SYNOPSIS
       pam_mail.so [close] [debug] [dir=maildir] [empty] [hash=count] [noenv] [nopen] [quiet] [standard]

DESCRIPTION
       The pam_mail PAM module provides the "you have new mail" service to the user. It can be plugged into any application that has
       credential or session hooks. It gives a single message indicating the newness of any mail it finds in the user´s mail folder.
       This module also sets the PAM environment variable, MAIL, to the user´s mail directory.

       If the mail spool file (be it /var/mail/$USER or a pathname given with the dir= parameter) is a directory then pam_mail assumes
       it is in the Maildir format.

OPTIONS
       close
           Indicate if the user has any mail also on logout.

       debug
           Print debug information.

       dir=maildir
           Look for the users´ mail in an alternative location defined by maildir/<login>. The default location for mail is
           /var/mail/<login>. Note, if the supplied maildir is prefixed by a ´~´, the directory is interpreted as indicating a file in
           the user´s home directory.

       empty
           Also print message if user has no mail.

       hash=count
           Mail directory hash depth. For example, a hashcount of 2 would make the mail file be /var/spool/mail/u/s/user.

       noenv
           Do not set the MAIL environment variable.

       nopen
           Don´t print any mail information on login. This flag is useful to get the MAIL environment variable set, but to not display
           any information about it.

       quiet
           Only report when there is new mail.

       standard
           Old style "You have..." format which doesn´t show the mail spool being used. This also implies "empty".
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1921
Location: Schweiz

PostPosted: Tue Sep 24, 2013 2:26 pm    Post subject: Reply with quote

@arfe
Auch wenn du Technisch gesehen recht hast so sind fremdsprachige Manpages nicht jedermanns Sache.
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
arfe
Apprentice
Apprentice


Joined: 24 Aug 2005
Posts: 298
Location: Essen

PostPosted: Tue Sep 24, 2013 7:27 pm    Post subject: Reply with quote

schmidicom wrote:
@arfe
Auch wenn du Technisch gesehen recht hast so sind fremdsprachige Manpages nicht jedermanns Sache.


Bitte? Sich mit Linux beschäftigen und dann kein Englisch können? Der ist dann aber dort gewaltig falsch. Vorallem bei Gentoo!
Back to top
View user's profile Send private message
deranonyme
Guru
Guru


Joined: 09 Jul 2005
Posts: 508

PostPosted: Sat Sep 28, 2013 3:12 pm    Post subject: Reply with quote

Es ist weniger ein Verständnisproblem der Sprache als ein Verständnisproblem wo das ganze herkommt. Aber es ist jetzt geklärt. Ich habe in /etc/pam.d/system-login pam_mail.so auskommentiert. Jetzt ist alles glatt.
Übrigens Hochmut kommt vor dem Fall.

Frank
Back to top
View user's profile Send private message
arfe
Apprentice
Apprentice


Joined: 24 Aug 2005
Posts: 298
Location: Essen

PostPosted: Sun Sep 29, 2013 4:56 pm    Post subject: Reply with quote

deranonyme wrote:
Es ist weniger ein Verständnisproblem der Sprache als ein Verständnisproblem wo das ganze herkommt. Aber es ist jetzt geklärt. Ich habe in /etc/pam.d/system-login pam_mail.so auskommentiert. Jetzt ist alles glatt.
Übrigens Hochmut kommt vor dem Fall.

Frank


Richtiger wäre das:

Code:
nopen
           Don´t print any mail information on login. This flag is useful to get the MAIL environment variable set, but to not display
           any information about it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum