[Logwatch] MailFrom

Kit Gerrits kitgerrits at gmail.com
Mon Jul 9 12:55:01 MST 2007



Please try the following:
(please press (poussez) [enter], do not type it):
(please note the end [dot][enter])
 
-- transcript--
$ sendmail -v -d0,3 -t [enter]
From: <logwatch at cyber116.fr <mailto:logwatch at cyber116.fr> > [enter]
To: <kevindescoubes at gmail.com> [enter]
Subject: Testing[enter]
[enter]
[enter]
Hello world [enter]
.[enter]
--end transcript--
 
 
It <mailto:logwatch at cyber116.fr>  should look something like:
$ sudo /usr/sbin/sendmail -v -d0,3 -t
Version 8.13.1
 Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
                MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET
NETINET6
                NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS
TCPWRAPPERS
                USERDB USE_LDAP_INIT
getla(): 0.08
 
============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = redhat01
  (canonical domain name) $j = redhat01.xxxx.nl
         (subdomain name) $m = xxxx.nl
              (node name) $k = redhat01.xxxx.nl
========================================================
 
getla(): 0.08
To: <test-kevindescoubes at gmail.com>
From: <logwatch at cyber116.fr>
Subject: Test
 

Hello world
.
getla(): 0.06
<test-kevindescoubes at gmail.com <mailto:test-kevindescoubes at gmail.com> >...
Connecting to [127.0.0.1] via relay...
220 redhat01.gerritsacc.nl ESMTP Postfix
>>> EHLO redhat01.xxxx.nl
250-redhat01.xxxx.nl
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250 8BITMIME
>>> MAIL From:<kit at redhat01.xxxx.nl <mailto:kit at redhat01.xxxx.nl> > SIZE=93
250 Ok
>>> RCPT To:<test-kevindescoubes at gmail.com
<mailto:test-kevindescoubes at gmail.com> >
>>> DATA
250 Ok
354 End data with <CR><LF>.<CR><LF>
>>> .
250 Ok: queued as 647B4A8615
<test-kevindescoubes at gmail.com <mailto:test-kevindescoubes at gmail.com> >...
Sent (Ok: queued as 647B4A8615)
Closing connection to [127.0.0.1]
>>> QUIT
221 Bye

 
If the address after >>> MAIL From is different, it's Sendmail
If not, Sendmail is fine and your ISP is doing something funny.

I'm afraid I only have experience with the resulting sendmail.cf file, not
the original m4 macro file. 
 
Regards,
 
Kit
 






More information about the Logwatch mailing list