On Mon, Oct 25, 2010 at 1:58 PM, Dmitrij Czarkoff <[email protected]> wrote:
> On Mon, Oct 25, 2010 at 2:25 AM, Claus Assmann
> <[email protected]> wrote:
>> Run sendmail in test mode:
>>
>> sendmail -bt
>> ?
>> $={G}
>> /map generics [email protected]
>> /tryflags ES
>> /try esmtp [email protected]
>
> % sendmail -bt
> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
> Enter <ruleset> <address>
>> /map generics [email protected]
> map_lookup: generics ([email protected]) returns [email protected] (0)
>> /tryflags ES
>> /try esmtp [email protected]
> Trying envelope sender address [email protected] 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 = [email protected]
>
>>> /var/log/maillog:
>>
>>> from=<[email protected]>, 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=<[email protected]>, 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 [email protected]
> set smtp-auth-password=<...>
>
> Does setting smtp-* values in my mailrc override mailer.conf?
>
> --
> Dmitrij D. Czarkoff

Reply via email to