On Mon, Oct 25, 2010 at 1:10 AM, Jamie Paul Griffin <ja...@griffin.arimaspi.co.uk> wrote: > When it comes to using Sendmail features the only thing you can do is spend time reading about them. There is lot's of information out there. It is quite a complex system which requires a certain level of understanding. Besides, we can only guess what your logs say and if/what the
Well, I'm reading docs but can't figure out my problem. Logs, errors and configs: /usr/share/sendmail/cf/openbsd-localhost.mc (compiled, cf copied to /etc/mail/localhost.cf): divert(-1) # <...> divert(0)dnl VERSIONID(`@(#)openbsd-localhost.mc $Revision: 1.4 $') OSTYPE(openbsd)dnl FEATURE(nouucp, `reject')dnl FEATURE(`accept_unresolvable_domains')dnl FEATURE(`no_default_msa')dnl FEATURE(`use_cw_file')dnl FEATURE(`genericstable', `hash /etc/mail/genericstable')dnl FEATURE(`masquerade_envelope')dnl MAILER(local)dnl MAILER(smtp)dnl DAEMON_OPTIONS(`Family=inet, address=127.0.0.1, Name=MTA')dnl DAEMON_OPTIONS(`Family=inet6, address=::1, Name=MTA6, M=O')dnl DAEMON_OPTIONS(`Family=inet, address=127.0.0.1, Port=587, Name=MSA, M=E')dnl DAEMON_OPTIONS(`Family=inet6, address=::1, Port=587, Name=MSA6, M=O, M=E')dnl CLIENT_OPTIONS(`Family=inet6, Address=::')dnl CLIENT_OPTIONS(`Family=inet, Address=0.0.0.0')dnl dnl dnl Some broken nameservers will return SERVFAIL (a temporary failure) dnl on T_AAAA (IPv6) lookups. define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl /etc/mail/genericstable (hashed with sudo make at /etc/mail): ddc czark...@gmail.com d...@ao531h.bedova czark...@gmail.com Sending mail: % date | mail -vs test czark...@gmail.com czark...@gmail.com... Connecting to [127.0.0.1] via relay... 220 ao531h.bedova ESMTP OpenSMTPD >>> EHLO ao531h.bedova 250-ao531h.bedova Hello ao531h.bedova [127.0.0.1], pleased to meet you 250-8BITMIME 250-ENHANCEDSTATUSCODES 250-SIZE 4294967295 250 HELP >>> MAIL From:<d...@ao531h.bedova> SIZE=68 250 2.1.0 Sender ok >>> RCPT To:<czark...@gmail.com> 250 2.0.0 Recipient ok >>> DATA 354 Enter mail, end with "." on a line by itself >>> . 250 2.0.0 1287964495.exbcVgC3ABHbm9B9 Message accepted for delivery czark...@gmail.com... Sent (1287964495.exbcVgC3ABHbm9B9 Message accepted for delivery) Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 ao531h.bedova Closing connection Results in: Delivered-To: czark...@gmail.com Received: by 10.204.46.227 with SMTP id k35cs122738bkf; Sun, 24 Oct 2010 16:55:02 -0700 (PDT) Received: by 10.103.192.13 with SMTP id u13mr3546124mup.97.1287964502266; Sun, 24 Oct 2010 16:55:02 -0700 (PDT) Return-Path: <d...@ao531h.bedova> Received: from ao531h.bedova ([109.228.113.59]) by mx.google.com with ESMTP id 16si5842589fal.19.2010.10.24.16.55.01; Sun, 24 Oct 2010 16:55:02 -0700 (PDT) Received-SPF: neutral (google.com: 109.228.113.59 is neither permitted nor denied by best guess record for domain of d...@ao531h.bedova) client-ip=109.228.113.59; Authentication-Results: mx.google.com; spf=neutral (google.com: 109.228.113.59 is neither permitted nor denied by best guess record for domain of d...@ao531h.bedova) smtp.mail=...@ao531h.bedova Received: from ao531h.bedova (localhost [127.0.0.1]) by ao531h.bedova (OpenSMTPD) with ESMTP id 1287964495.exbcVgC3ABHbm9B9 for <czark...@gmail.com>; Mon, 25 Oct 2010 01:54:55 +0200 (CEST) Received: (from d...@localhost) by ao531h.bedova (8.14.3/8.14.3/Submit) id o9ONssvJ013093 for czark...@gmail.com; Mon, 25 Oct 2010 01:54:54 +0200 (CEST) Date: Mon, 25 Oct 2010 01:54:54 +0200 (CEST) From: "Dmitrij D. Czarkoff" <d...@ao531h.bedova> Message-Id: <201010242354.o9onssvj013...@ao531h.bedova> To: czark...@gmail.com Subject: test Mon Oct 25 01:54:54 CEST 2010 /var/log/maillog: Oct 25 01:54:55 ao531h sendmail[13093]: o9ONssvJ013093: from=ddc, size=68, class=0, nrcpts=1, msgid=<201010242354.o9onssvj013...@ao531h.bedova>, relay=...@localhost Oct 25 01:54:55 ao531h smtpd[14989]: 1287964495.exbcVgC3ABHbm9B9: from=<d...@ao531h.bedova>, size=562, nrcpts=1, proto=ESMTP, relay=localhost [127.0.0.1] Oct 25 01:54:55 ao531h sendmail[13093]: o9ONssvJ013093: to=czark...@gmail.com, ctladdr=ddc (1000/10), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30068, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (1287964495.exbcVgC3ABHbm9B9 Message accepted for delivery) Oct 25 01:55:02 ao531h smtpd[24195]: 1287964495.exbcVgC3ABHbm9B9: to=<czark...@gmail.com>, delay=7, relay=fx-in-f27.1e100.net [74.125.39.27], stat=Sent (2.0.0 OK 1287964502 16si5842589fal.19) -- Dmitrij D. Czarkoff