Robert: Is foo a static IP or a DHCP from Charter?
The last entry in maillog would indicate the mail server at chater did recieve the message. I think the question here is; What did charter do with the email? Good luck gettin that answered. I've seen a lot of ISPs be very aggressive as to assume email from a DHCP address is SPAM, and subsequently not deliver it. Cheers; Eric Wilson > > How does one send mail with sendmail? > > I am trying to get this command to work on a machine on a LAN behind a > NAT/FW: > > $ echo hello | mail -v -s "test" [EMAIL PROTECTED] > > From what I've been reading 'mail' does not actually connect to > mail.charter.net to deliver my message, despite that dig reports > mail.charter.net as the MX for charter.net: > > $ dig charter.net mx | grep -A 1 ';; ANS' > ;; ANSWER SECTION: > charter.net. 277 IN MX 10 mail.charter.net. > > Instead, mail sends the message to the local sendmail daemon which then > should send it off to mail.charter.net. > > Whenever I try the above mail command, mail gives me verbose output > like so: > > [EMAIL PROTECTED] Connecting to [127.0.0.1] via relay... > 220 foo ESMTP Sendmail 8.12.11/8.12.11; Thu, 2 Dec 2004 01:18:21 -0600 > >>> EHLO foo.foo > 250-foo Hello localhost.localdomain [127.0.0.1], pleased to meet you > 250-ENHANCEDSTATUSCODES > 250-PIPELINING > 250-8BITMIME > 250-SIZE > 250-DSN > 250-ETRN > 250-AUTH DIGEST-MD5 CRAM-MD5 > 250-DELIVERBY > 250 HELP > >>> MAIL From:<[EMAIL PROTECTED]> SIZE=45 [EMAIL PROTECTED] > 250 2.1.0 <[EMAIL PROTECTED]>... Sender ok > >>> RCPT To:<[EMAIL PROTECTED]> > >>> DATA > 250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok > 354 Enter mail, end with "." on a line by itself > >>> . > 250 2.0.0 iB27ILX6023922 Message accepted for delivery > [EMAIL PROTECTED] Sent (iB27ILX6023922 Message accepted for > delivery) > Closing connection to [127.0.0.1] > >>> QUIT > 221 2.0.0 foo closing connection > > In addition, the following records are appended to the /var/log/maillog > file: > > Dec 2 01:18:21 foo sendmail[23921]: iB27ILUh023921: from=rwcitek, > size=45, class=0, nrcpts=1, > msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Dec 2 01:18:21 foo sendmail[23922]: iB27ILX6023922: > from=<[EMAIL PROTECTED]>, size=316, class=0, nrcpts=1, > msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, > relay=localhost.localdomain [127.0.0.1] > Dec 2 01:18:21 foo sendmail[23921]: iB27ILUh023921: > [EMAIL PROTECTED], ctladdr=rwcitek (500/500), delay=00:00:00, > xdelay=00:00:00, mailer=relay, pri=30045, relay=[127.0.0.1] > [127.0.0.1], dsn=2.0.0, stat=Sent (iB27ILX6023922 Message accepted for > delivery) > Dec 2 01:18:21 foo sendmail[23924]: iB27ILX6023922: > to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, > mailer=relay, pri=30316, relay=mail.charter.net. [209.225.8.224], > dsn=2.0.0, stat=Sent (ok: Message 619964877 accepted) > > It would seem as though the message was sent OK, but I never receive > anything in my charter.net mailbox. "foo" is the hostname of the > machine where I'm typing the mail command. > > Anyone have any pointers in the right direction? > > Regards, > - Robert > http://www.cwelug.org/downloads > Help others get OpenSource. Distribute FLOSS for > Windows, Linux, *BSD, and MacOS X with BitTorrent > > _______________________________________________ > CWE-LUG mailing list > http://www.cwelug.org/ > [EMAIL PROTECTED] > http://lists.firepipe.net/listinfo/cwe-lug > > > _______________________________________________ CWE-LUG mailing list http://www.cwelug.org/ [EMAIL PROTECTED] http://lists.firepipe.net/listinfo/cwe-lug
