In my case its in /var/log/mail.log and its empty after the mailx command. There are mail.info mail.err and mail.warn files too. All them are empty after the command.
# mail -v root Subject: Test message. This is a test message. . Cc: LOG: MAIN <= [EMAIL PROTECTED] U=root P=local S=387 delivering 1KxJGM-0005eR-SY R: system_aliases for [EMAIL PROTECTED] debian:~# R: system_aliases for [EMAIL PROTECTED] R: userforward for [EMAIL PROTECTED] R: procmail for [EMAIL PROTECTED] R: maildrop for [EMAIL PROTECTED] R: local_user for [EMAIL PROTECTED] T: appendfile for [EMAIL PROTECTED] LOG: MAIN => administrador <[EMAIL PROTECTED]> R=local_user T=mail_spool LOG: MAIN Completed # _ What do you mean with "when you launch the consolidator"? Thanks, Felipe Aceitón -----Mensaje original----- De: LIMA David [mailto:[EMAIL PROTECTED] Enviado el: Tuesday, November 04, 2008 10:58 AM Para: Felipe Aceitón CC: [email protected] Asunto: RE: [jffnms-users] Email Notification, correct logs but not sending Can you please check your mail log file when you launch the consolidator and your mailx command ? In most case it is in /var/log/mail.log or /var/log/maillog. David LIMA Le mardi 04 novembre 2008 à 10:35 +0100, Felipe Aceitón a écrit : > Hi David, > > I have send a message, I'm not very familiarized with this so I told you what > I have done: > > # mail root > Subject: Test Message > This is a test message. > . > Cc: [EMAIL PROTECTED] > # _ > > Im logged as root but I don’t get any "You have mail" message. > > # mail > No mail for root > # _ > > Thanks, > > Felipe Aceitón > > -----Mensaje original----- > De: LIMA David [mailto:[EMAIL PROTECTED] > Enviado el: Tuesday, November 04, 2008 10:17 AM > Para: Felipe Aceitón > CC: [email protected] > Asunto: Re: [jffnms-users] Email Notification, correct logs but not sending > > Hi Felipe, this should be good, are you sure that you can send e-mail > from your JFFNMS host, using mailx program for example ? > > David LIMA > > > Le mardi 04 novembre 2008 à 09:46 +0100, Felipe Aceitón a écrit : > > Hi, > > > > > > > > I have configured the triggers and user profiles as told in the manual > > but I’m not receiving the emails. I’m using JFFNMS 0.8.3 with Debian > > 2.6.18-6-686 (Apache2 & PHP5). > > > > > > > > ACTION DEFINITION: > > > > > > > > 2 Send Mail email > > from:nms,to:<profile-email>,subject:NMS > > from:From,subject:Subject,comment:Comment > > > > > > > > TRIGGERS: > > > > > > > > 4 Company Interfaces Match Alarms > > > > > > > > TRIGGER RULES: > > > > > > > > 4 10 if Host is Equal to > > OKI C5100 Company Office <blank> > > <blank> Continue And > > > > > > > > 5 20 if Type is Equal to > > Interface Protocol then send mail > > From: [EMAIL PROTECTED] Stop trigger And > > > > > > Subject: Test > > > > > > Comment: Tests > > > > > > > > USER PROFILE: > > > > > > > > … > > > > eMail [EMAIL PROTECTED] > > > > … > > > > > > > > USER TRIGGERS: > > > > > > > > Company Interfaces X (Check as Active) > > > > > > > > > > > > > > > > I put on the debug option in the configuration and I get this in the > > triggers log file after I unplug the network cable from the printer > > (OKI C5100): > > > > > > > > 21:21:02 alarm 44: T 4 – P 10 – R 4 If ‘interface_host(6) = 6’ > > (1) > > > > 21:21:02 alarm 44: T4 – P 20 – R 5 If ‘type(3) = 3’ (1) Then email > > (1) Stop > > > > > > > > I think the trigger is trying to sent the email but I don’t know how > > to debug the email sent. I create another user and add the Company > > Interfaces trigger for him. Then I unplug the network cable again and > > I have the same log entry but instead of the (1) after “Then email” I > > have (1,1). > > > > > > > > Thanks In advance, > > > > > > > > Felipe Aceitón > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ jffnms-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/jffnms-users > > ______________________________________________________________________ > Ce message contient des informations dont le contenu est susceptible d'etre > confidentiel. > Il est destine au(x) destinataire(s) indique(s) exclusivement. > > A moins que vous ne fassiez partie de la liste des destinataires, ou que vous > soyez habilite a recevoir le mail a leur place, il vous est interdit de le > copier, de l'utiliser ou de devoiler son contenu a un tiers. > > Si vous avez recu cet email par erreur, merci de prendre contact avec > l'emetteur. > > Les opinions exprimees dans cet e-mail sont celles de l'emetteur et ne > refletent pas necessairement celles de l'entreprise. > > Ce e-mail peut contenir des pieces jointes dont certaines pourraient contenir > des virus qui pourraient endommager votre systeme informatique. > > La compagnie a pris toutes dispositions afin de minimiser ce risque et > decline toute responsabilite pour toute perte ou dommage resultant > directement ou indirectement de l'utilisation de cet email ou de son contenu. > > Il vous appartient d'effectuer vos propres controles anti-virus avant > d'ouvrir la ou les pieces jointes. > ______________________________________________________________________ ______________________________________________________________________ Ce message contient des informations dont le contenu est susceptible d'etre confidentiel. Il est destine au(x) destinataire(s) indique(s) exclusivement. A moins que vous ne fassiez partie de la liste des destinataires, ou que vous soyez habilite a recevoir le mail a leur place, il vous est interdit de le copier, de l'utiliser ou de devoiler son contenu a un tiers. Si vous avez recu cet email par erreur, merci de prendre contact avec l'emetteur. Les opinions exprimees dans cet e-mail sont celles de l'emetteur et ne refletent pas necessairement celles de l'entreprise. Ce e-mail peut contenir des pieces jointes dont certaines pourraient contenir des virus qui pourraient endommager votre systeme informatique. La compagnie a pris toutes dispositions afin de minimiser ce risque et decline toute responsabilite pour toute perte ou dommage resultant directement ou indirectement de l'utilisation de cet email ou de son contenu. Il vous appartient d'effectuer vos propres controles anti-virus avant d'ouvrir la ou les pieces jointes. ______________________________________________________________________ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
