Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 3 of 3
  1. #1
    rbuenger is offline Registered User
    Join Date
    Apr 2001
    Posts
    112
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Sendmail config problem

    Hi everybody,

    I try to get sendmail run on my computer. For that reason I've worked through O'Reilly's sendmail book and set up my sendmail.cf file as described.

    Directory permissions are all set as required and a working DNS server is also set up.

    But when I start sendmail (for example with 'sendmail -bp') I've got the following error:
    Msmtp: Warning: first argument in [IPC] mailer must be TCP or FILE

    The corresponding line in sendmail.cf:

    Msmtp, P=[IPC], A=IPC $h, F=mDFMuX, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990, T=DNS/RFC822/SMTP

    What is wrong with this part?


    Thanx for any help,
    Rene Buenger

  2. #2
    howardm4 is offline Registered User
    Join Date
    Jun 2001
    Posts
    204
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Your A= needs to be:

    A=TCP $h

    From reading the sendmail source:
    if (strcmp(m->m_mailer, "[IPC]") == 0)
    {
    /* Use the second argument for host or path to socket */
    if (m->m_argv[0] == NULL || m->m_argv[1] == NULL ||
    m->m_argv[1][0] == '\0')
    {
    syserr("M%s: too few parameters for %s mailer",
    m->m_name, m->m_mailer);
    return;
    }
    if (strcmp(m->m_argv[0], "TCP") != 0
    #if NETUNIX
    && strcmp(m->m_argv[0], "FILE") != 0
    #endif /* NETUNIX */
    )
    {
    (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
    "M%s: Warning: first argument in %s mailer must be %s\n",
    m->m_name, m->m_mailer,
    #if NETUNIX
    "TCP or FILE"
    #else /* NETUNIX */
    "TCP"
    #endif /* NETUNIX */
    );
    }

    From the op.me file:

    Builtin pathnames are [FILE] and [IPC], the for-
    mer is used for delivery to files, the latter for
    delivery via interprocess communication. For mailers
    that use [IPC] as pathname the argument vector (A=)
    must start with TCP or FILE for delivery via a TCP or
    a Unix domain socket. If TCP is used, the second
    argument must be the name of the host to contact.
    Optionally a third argument can be used to specify a
    port, the default is smtp (port 25). If FILE is used,
    the second argument must be the name of the Unix
    domain socket.


    You should really get and print out the
    'op' manual from the sendmail distribution
    on www.sendmail.org
    Last edited by howardm4; July 21st, 2002 at 07:28 AM.

  3. #3
    rbuenger is offline Registered User
    Join Date
    Apr 2001
    Posts
    112
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    That's it. Replaced A=IPC with A=TCP and now everything's ok.

    Just have send some local mails through Mail.app and direct using the terminal.

 

 

Similar Threads

  1. Sleep problem (insomnia): A summary
    By tdemarco in forum Mac OS X System & Mac Software
    Replies: 8
    Last Post: January 28th, 2011, 09:59 PM
  2. sendmail problem
    By tench in forum Mac OS X System & Mac Software
    Replies: 2
    Last Post: June 16th, 2003, 04:33 AM
  3. fink config problem
    By mr. k in forum Unix & X11
    Replies: 4
    Last Post: April 17th, 2003, 07:43 AM
  4. queue problem with sendmail
    By juissi in forum Unix & X11
    Replies: 8
    Last Post: July 24th, 2002, 11:02 AM
  5. sendmail problem
    By wdlindmeier in forum Mac OS X System & Mac Software
    Replies: 3
    Last Post: March 11th, 2002, 03:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •