OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Wietse Venema (wietseporcupine.org)
Date: Thu May 23 2002 - 07:50:39 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    And below is a small patch to make the warning go away. This happens
    only when submitting mail with "sendmail -bs", and it does no harm.

            Wietse

    *** ./smtpd.c- Mon May 20 19:29:51 2002
    --- ./smtpd.c Thu May 23 08:47:41 2002
    ***************
    *** 778,792 ****
          if (encoding != 0)
              rec_fprintf(state->cleanup, REC_TYPE_ATTR, "%s=%s",
                          MAIL_ATTR_ENCODING, encoding);
    ! rec_fprintf(state->cleanup, REC_TYPE_ATTR, "%s=%s",
    ! MAIL_ATTR_CLIENT_NAME, state->name);
    ! rec_fprintf(state->cleanup, REC_TYPE_ATTR, "%s=%s",
    ! MAIL_ATTR_CLIENT_ADDR, state->addr);
    ! rec_fprintf(state->cleanup, REC_TYPE_ATTR, "%s=%s",
    ! MAIL_ATTR_ORIGIN, state->namaddr);
    ! if (state->helo_name != 0)
              rec_fprintf(state->cleanup, REC_TYPE_ATTR, "%s=%s",
    ! MAIL_ATTR_HELO_NAME, state->helo_name);
          if (verp_delims)
              rec_fputs(state->cleanup, REC_TYPE_VERP, verp_delims);
          state->sender = mystrdup(argv[2].strval);
    --- 778,794 ----
          if (encoding != 0)
              rec_fprintf(state->cleanup, REC_TYPE_ATTR, "%s=%s",
                          MAIL_ATTR_ENCODING, encoding);
    ! if (SMTPD_STAND_ALONE(state) == 0) {
              rec_fprintf(state->cleanup, REC_TYPE_ATTR, "%s=%s",
    ! MAIL_ATTR_CLIENT_NAME, state->name);
    ! rec_fprintf(state->cleanup, REC_TYPE_ATTR, "%s=%s",
    ! MAIL_ATTR_CLIENT_ADDR, state->addr);
    ! rec_fprintf(state->cleanup, REC_TYPE_ATTR, "%s=%s",
    ! MAIL_ATTR_ORIGIN, state->namaddr);
    ! if (state->helo_name != 0)
    ! rec_fprintf(state->cleanup, REC_TYPE_ATTR, "%s=%s",
    ! MAIL_ATTR_HELO_NAME, state->helo_name);
    ! }
          if (verp_delims)
              rec_fputs(state->cleanup, REC_TYPE_VERP, verp_delims);
          state->sender = mystrdup(argv[2].strval);

    K. C. Li:
    > We have recently upgraded from postfix-20011217 to postfix-1.1.7 and
    > noticed that warnings about ignoring attribute record preceed every e-mail
    > that I send. For example:
    >
    > May 23 13:12:40 ruby postfix/pickup[20959]: warning: uid=501: ignoring attribute record: client_name=localhost
    > May 23 13:12:40 ruby postfix/pickup[20959]: warning: uid=501: ignoring attribute record: client_address=127.0.0.1
    > May 23 13:12:40 ruby postfix/pickup[20959]: warning: uid=501: ignoring attribute record: message_origin=localhost[127.0.0.1]
    > May 23 13:12:40 ruby postfix/pickup[20959]: warning: uid=501: ignoring attribute record: helo_name=localhost
    > May 23 13:12:40 ruby postfix/pickup[20959]: 73FD410713: uid=501 from=<liruby.laser.com>
    > May 23 13:12:40 ruby postfix/cleanup[21093]: 73FD410713: message-id=<Pine.LNX.4.10.10205231307440.21023-100000ruby.laser.com>
    > May 23 13:12:40 ruby postfix/smtpd[21124]: disconnect from localhost[127.0.0.1]
    >
    > There is no problem on the actual sending and receiving of e-mails. I
    > would be grateful for any advice or where to RTFM.
    >
    > Regards,
    >
    > Kwong Li
    >
    > -
    > To unsubscribe, send mail to majordomopostfix.org with content
    > (not subject): unsubscribe postfix-users
    >
    >

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users