On Mon, Oct 25, 2010 at 1:58 PM, Dmitrij Czarkoff <czark...@gmail.com> wrote:
> On Mon, Oct 25, 2010 at 2:25 AM, Claus Assmann
> <ca+openbsd_m...@esmtp.org> wrote:
>> Run sendmail in test mode:
>>
>> sendmail -bt
>> ?
>> $={G}
>> /map generics d...@ao531h.bedova
>> /tryflags ES
>> /try esmtp d...@ao531h.bedova
>
> % sendmail -bt
> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
> Enter <ruleset> <address>
>> /map generics d...@ao531h.bedova
> map_lookup: generics (d...@ao531h.bedova) returns czark...@gmail.com (0)
>> /tryflags ES
>> /try esmtp d...@ao531h.bedova
> Trying envelope sender address d...@ao531h.bedova for mailer esmtp
> canonify B  B  B  B  B  input: ddc @ ao531h . bedova
> Canonify2 B  B  B  B  B input: ddc < @ ao531h . bedova >
> Canonify2 B  B  B  B returns: ddc < @ ao531h . bedova . >
> canonify B  B  B  B  returns: ddc < @ ao531h . bedova . >
> 1 B  B  B  B  B  B  B  B  B input: ddc < @ ao531h . bedova . >
> 1 B  B  B  B  B  B  B  B returns: ddc < @ ao531h . bedova . >
> EnvFromSMTP B  B  B  B input: ddc < @ ao531h . bedova . >
> PseudoToReal B  B  B  input: ddc < @ ao531h . bedova . >
> PseudoToReal B  B  returns: ddc < @ ao531h . bedova . >
> MasqSMTP B  B  B  B  B  input: ddc < @ ao531h . bedova . >
> MasqSMTP B  B  B  B  returns: ddc < @ ao531h . bedova . >
> MasqEnv B  B  B  B  B  B input: ddc < @ ao531h . bedova . >
> MasqEnv B  B  B  B  B returns: ddc < @ ao531h . bedova . >
> EnvFromSMTP B  B  B returns: ddc < @ ao531h . bedova . >
> final B  B  B  B  B  B  B input: ddc < @ ao531h . bedova . >
> final B  B  B  B  B  B returns: ddc @ ao531h . bedova
> Rcode = 0, addr = d...@ao531h.bedova
>
>>> /var/log/maillog:
>>
>>> from=<d...@ao531h.bedova>, size=562, nrcpts=1, proto=ESMTP,
>>> relay=localhost [127.0.0.1]
>>
>>> Oct 25 01:55:02 ao531h smtpd[24195]: 1287964495.exbcVgC3ABHbm9B9:
>> B B B B B B B B B B B B B B B B B B B B B B B B ^^^^^ B B B B B B B
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> 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)
>>
>> Hmm, you aren't running sendmail 8, you run smtpd as your MTA, right?
>> Then changing the sm8 configuration won't help much.
>
> Isn't it run by sendmail?

You're using some odd mix. If you are using smtpd then your
mailer.conf is completely wrong. Here you can find how to enable smtpd
and set mailer.conf for that
http://www.openbsd.org/cgi-bin/man.cgi?query=smtpd&apropos=0&sektion=0&manpat
h=OpenBSD+Current&arch=i386&format=html


>
> Anyway:
>
> My /etc/mailer.conf
> # B  B  $OpenBSD: mailer.conf,v 1.4 2009/03/16 14:26:22 jacekm Exp $
> #
> # Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
> #
> sendmail B  B  B  B /usr/libexec/sendmail/sendmail
> send-mail B  B  B  /usr/libexec/sendmail/sendmail
> mailq B  B  B  B  B  /usr/libexec/sendmail/sendmail
> makemap B  B  B  B  /usr/libexec/sendmail/makemap
> newaliases B  B  B /usr/libexec/sendmail/sendmail
> hoststat B  B  B  B /usr/libexec/sendmail/sendmail
> purgestat B  B  B  /usr/libexec/sendmail/sendmail
>
> My ~/.mailrc:
>
> set ask
> set crt
> ignore message-id received date fcc status resent-date
> resent-message-id resent-from in-reply-to
> set smtp-use-starttls
> set ssl-verify=ignore
> set smtp=smtp://smtp.gmail.com:587
> set smtp-auth=login
> set smtp-auth-user=czark...@gmail.com
> set smtp-auth-password=<...>
>
> Does setting smtp-* values in my mailrc override mailer.conf?
>
> --
> Dmitrij D. Czarkoff

Reply via email to