Re: Tripwire can't send report by email??????

2011-04-26 Thread Freeman
On Mon, Apr 25, 2011 at 04:47:39PM +, Camaleón wrote:
 On Mon, 25 Apr 2011 16:28:09 +, Cedric DC wrote:
 
   1/ Instruct tripwire to use a real e-mail sender (whether possible)
   I have read the man tripwire. It's not possible to specify the
   sender email address.
 
 Recheck man 8 tripwire (test mode), it seems you can configure some e-
 mailing options...
 
    2/ Configure your MTA/MDA to go out with a real/routeable e-mail
    address.
   I try to translate the email address @proxy by @mydomain.com
  
  I had in the file /etc/exim4.conf.template this one and restart exim4
   # TEST
   *@*proxytest*   $1...@mydomain.com
  
   And it's doesn't work
 
 Exim (which I hardly know) is a bit sui-generis, there are some pre-
 configuration options that setup the daemon to act differently (as 
 smarthost, localhost...), maybe someone in the know can give you more 
 accurate steps to properly set it up.
 

I wouldn't call myself in the know, but I run Exim4.

An ISP's SMTP server would be a smarthost.  Smarthost is the SMTP server
that mail is sent to by localhost for delivery elsewhere.  This is to
prevent mail sent directly by the localhost SMTP from being rejected for a
dynamic IP address.

-- 
Regards,
Freeman

Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the
answer. --Somebody


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110426182252.GA19491@Europa.office



Re: Tripwire can't send report by email??

2011-04-25 Thread Freeman
On Sun, Apr 24, 2011 at 07:28:42AM +, Cedric DC wrote:
 
 Hello,
 
 I repost my question because I don't have posted it in the right way. I'm 
 sorry, it's my first post in the Debian mailing list.
 
 I have setup tripwire on a Debian 6. I have tripwire integrity reports (pwr 
 files) in the directory /var/lib/tripwire/report/
 With the following command I can read the report.
 twprint --print-report --twrfile proxytest-20110421-135326.twr  test-log
 
 I would like send the report by email.
 

. . . 

To Cedric regarding email that may have been intended as a list reply:

I think the safest way to edit Exim4 configs to mask the local domain would
be to run

  # dpkg-reconfigure exim4-config

Since Exim4 is behaving as you would like otherwise, OK through all the
options until you hit 

Hide local mail name in outgoing mail? 

Then hit yes and enter the domain.xxx you want mail to be ostensibly sent
from.  Then continue as before.  You can cancel out if anything goes amiss.

Probably a good idea to think through the ramifications this might have on
any existing email configurations. 

-- 
Regards,
Freeman

Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the
answer. --Somebody


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110425185534.GA18536@Europa.office



Re: Tripwire can't send report by email?

2011-04-23 Thread Freeman
On Sat, Apr 23, 2011 at 08:18:50PM +, Cedric DC wrote:
 
 Hello,
 
 I have setup tripwire on a Debian 6. I have tripwire integrity reports (pwr 
 files) in the directory /var/lib/tripwire/report/
 With the following command I can read the report.
 twprint --print-report --twrfile proxytest-20110421-135326.twr  test-log
 
 I would like send the report by email.
 
 In the file /etc/cron.daily/tripwire
 there is the command tripwire --check --quiet --email-report
 
 If I try to launch this in command line I have this message :
 root@proxytest:/etc/cron.daily# /usr/sbin/tripwire --test --email 
 t...@mydomain.com
 Sending a test message to: t...@mydomain.com
 ### Error: The SMTP server returned an error.
 ### Error Number:504 5.5.2 tripwire@proxytest: Sender address rejected: need
 ### fully-qualified address
 ### Exiting...
 Email test failed.
 
 proxytest is the hostname of my server
 
 Do you have an idea to solve this issue ?
 I
  tried to change in the twcfg the variable SMTPHOST by 
 smtp.altitudetelecom.fr (my ISP SMTP relay) instead of localhost. But it
  doesn't work...
 
 Thank you in advance for your help.
 

It is far more appropriate to ask your question with a new thread rather
than piggy back a question onto someone else's question.

You can ask your own question by addressing your mail to

debian-user@lists.debian.org 

with a 

Subject: short summary of your question 

Don't use Cc: or address to any individuals.

-- 
Regards,
Freeman

Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the
answer. --Somebody


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110423212101.GB4977@Europa.office



Re: Tripwire can't send report by email?

2011-04-23 Thread Freeman
On Sat, Apr 23, 2011 at 02:21:01PM -0700, evenso wrote:
 It is far more appropriate to ask your question with a new thread rather
 than piggy back a question onto someone else's question.
 
 You can ask your own question by addressing your mail to
 
 debian-user@lists.debian.org 
 
 with a 
 
 Subject: short summary of your question 
 
 Don't use Cc: or address to any individuals.
 

P.S. Oh, maybe your hotmail address is getting bounced.

-- 
Regards,
Freeman

Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the
answer. --Somebody


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110423212531.GC4977@Europa.office