Interesting, here's my tail of sending a command line message on the server:
root@server1:~# echo foo | /usr/sbin/sendmail -f root root && tail -f /var/log/mail.log
Oct 6 13:24:58 server1 imaplogin: Connection, ip=[::ffff:127.0.0.1]
Oct 6 13:24:58 server1 imaplogin: DISCONNECTED, ip=[::ffff:127.0.0.1], time=0
Oct 6 13:30:04 server1 imaplogin: Connection, ip=[::ffff:127.0.0.1]
Oct 6 13:31:12 server1 postfix/smtpd[23526]: warning: cannot get certificate from file /etc/postfix/ssl/smtpd.crt
Oct 6 13:31:12 server1 postfix/smtpd[23526]: warning: TLS library problem: 23526:error:02001002:system library:fopen:No such file or directory:bss_file.c:349:fopen('/etc/postfix/ssl/smtpd.crt','r'):
Oct 6 13:31:12 server1 postfix/smtpd[23526]: warning: TLS library problem: 23526:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:351:
Oct 6 13:31:12 server1 postfix/smtpd[23526]: warning: TLS library problem: 23526:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:720:
Oct 6 13:31:12 server1 postfix/smtpd[23526]: cannot load RSA certificate and key data
Oct 6 13:31:12 server1 postfix/smtpd[23526]: connect from localhost[127.0.0.1]
Oct 6 13:33:30 server1 postfix/smtpd[23526]: disconnect from localhost[127.0.0.1]
Oct 6 13:34:27 server1 postfix/pickup[23356]: E02C1182B76: uid=0 from=<root>
Oct 6 13:34:27 server1 postfix/cleanup[23573]: E02C1182B76: message-id=<20061006203427.E02C1182B76@server1.bestdealcab les.org>
Oct 6 13:34:27 server1 postfix/qmgr[23357]: E02C1182B76: from=<root@server1.bestdealcables.org>, size=319, nrcpt=1 (queue active)
Oct 6 13:34:29 server1 postfix/local[23576]: E02C1182B76: to=<jkuenkler@server1.bestdealcables.org>, orig_to=<root>, relay=local, delay=2, status=sent (delivered to command: procmail -a "$EXTENSION")
Oct 6 13:34:29 server1 postfix/qmgr[23357]: E02C1182B76: removed
Here's my /var/mail/jkuenkler log after sending the above:
From
root@server1.bestdealcables.org Fri Oct 6 13:34:28 2006
Return-Path: <root@server1.bestdealcables.org>
X-Original-To: root
Delivered-To:
root@server1.bestdealcables.org
Received: by server1.bestdealcables.org (Postfix, from userid 0)
id E02C1182B76; Fri, 6 Oct 2006 13:34:27 -0700 (PDT)
Message-Id: <20061006203427.E02C1182B76@server1.bestdealcables .org>
Date: Fri, 6 Oct 2006 13:34:27 -0700 (PDT)
From:
root@server1.bestdealcables.org (root)
To: undisclosed-recipients:;
foo
Here's my /var/log/mail.log output:
Oct 5 23:59:03 server1 postfix/master[8095]: daemon started -- version 2.2.10, configuration /etc/postfix
Oct 6 01:32:41 server1 postfix/smtpd[9333]: warning: cannot get certificate from file /etc/postfix/ssl/smtpd.crt
Oct 6 01:32:41 server1 postfix/smtpd[9333]: warning: TLS library problem: 9333:error:02001002:system library:fopen:No such file or directory:bss_file.c:349:fopen('/etc/postfix/ssl/sm$
Oct 6 01:32:41 server1 postfix/smtpd[9333]: warning: TLS library problem: 9333:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:351:
Oct 6 01:32:41 server1 postfix/smtpd[9333]: warning: TLS library problem: 9333:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:720:
Oct 6 01:32:41 server1 postfix/smtpd[9333]: cannot load RSA certificate and key data
Oct 6 01:32:41 server1 postfix/smtpd[9333]: connect from unknown[205.177.75.10]
Oct 6 01:32:41 server1 postfix/smtpd[9333]: lost connection after CONNECT from unknown[205.177.75.10]
Oct 6 01:32:41 server1 postfix/smtpd[9333]: disconnect from unknown[205.177.75.10]
Oct 6 01:36:01 server1 postfix/anvil[9336]: statistics: max connection rate 1/60s for (smtp:205.177.75.10) at Oct 6 01:32:41
Oct 6 01:36:01 server1 postfix/anvil[9336]: statistics: max connection count 1 for (smtp:205.177.75.10) at Oct 6 01:32:41
Oct 6 01:36:01 server1 postfix/anvil[9336]: statistics: max cache size 1 at Oct 6 01:32:41
Oct 6 08:49:59 server1 postfix/master[8095]: terminating on signal 15
Oct 6 08:50:00 server1 postfix/master[17090]: daemon started -- version 2.2.10, configuration /etc/postfix
Oct 6 08:50:55 server1 postfix/master[17090]: terminating on signal 15
Oct 6 08:50:56 server1 postfix/master[17386]: daemon started -- version 2.2.10, configuration /etc/postfix
Oct 6 09:12:25 server1 courierpop3login: Connection, ip=[::ffff:127.0.0.1]
Oct 6 09:12:25 server1 postfix/smtpd[18254]: warning: cannot get certificate from file /etc/postfix/ssl/smtpd.crt
Oct 6 09:12:25 server1 postfix/smtpd[18254]: warning: TLS library problem: 18254:error:02001002:system library:fopen:No such file or directory:bss_file.c:349:fopen('/etc/postfix/ssl/$
Here's my /etc/postfix/main.cf
myhostname = server1.bestdealcables.org
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = server1.bestdealcables.org, localhost.bestdealcables.org, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
Recent comments
13 hours 47 min ago
13 hours 52 min ago
18 hours 50 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 3 hours ago
1 day 7 hours ago
1 day 14 hours ago
1 day 18 hours ago
1 day 20 hours ago