user doesn't follow IMAP login user so sendmail barfs - Pine

This is a discussion on user doesn't follow IMAP login user so sendmail barfs - Pine ; Hello again -- This is also on OS X, but I don't think that matters -- I have a different login on my desktop than on the rest of the department machines so that I can tell from my finder ...

+ Reply to Thread
Results 1 to 10 of 10

user doesn't follow IMAP login user so sendmail barfs

  1. Default user doesn't follow IMAP login user so sendmail barfs

    Hello again --

    This is also on OS X, but I don't think that matters --

    I have a different login on my desktop than on the rest of the
    department machines so that I can tell from my finder window which
    machine / file system I'm using.

    So when I login to pine, I have to give my username on the main
    department machines.

    1) I'd like to change the default but can't find the variable. Didn't
    there used to be a USER variable in pine?

    2) Even though I've logged in, when I try to send a message pine uses
    my local loginID, not the one that I logged into the imap server with.
    Therefore, when I try to send mail, our mail server (quite properly)
    says I'm an unverified sender.

    I assume the same thing would solve both these problems -- I need to
    let pine have my login name on the IMAP system. Is there hope, or do I
    have to rename my account?

    Thanks,

    Jaibe


  2. Default Re: user doesn't follow IMAP login user so sendmail barfs

    *** Jaibee (antjaibee@gmail.common) wrote in comp.mail.pine today:

    So when I login to pine, I have to give my username on the main
    department machines.

    1) I'd like to change the default but can't find the variable. Didn't
    there used to be a USER variable in pine?

    Add "/user=yourid" to the name of the server. It should look like
    your.imap.server/user=yourid

    If you need to add "/ssl" or otheriwise you should also do that.

    2) Even though I've logged in, when I try to send a message pine uses
    my local loginID, not the one that I logged into the imap server
    with. Therefore, when I try to send mail, our mail server (quite
    properly) says I'm an unverified sender.

    You may need to change your from header. Press M S C and add under
    customized headers

    customized-hdrs= "Your Name" <your@other.address>

    Also add <your@other.address> to your alt-addresses option.

    --
    Eduardo
    Patches/Help: http://www.math.washington.edu/~chappa/pine/
    XML/RSS feed: http://www.math.washington.edu/~chappa/pine/pine.xml
    Please send spam to webmaster@localhost

  3. Default Re: user doesn't follow IMAP login user so sendmail barfs

    On 18 Feb 2005 Jaibee (jaibee@gmail.com) wrote:
    > I have a different login on my desktop than on the rest of the
    > department machines so that I can tell from my finder window which
    > machine / file system I'm using.
    >
    > So when I login to pine, I have to give my username on the main
    > department machines.
    >
    > 1) I'd like to change the default but can't find the variable. Didn't
    > there used to be a USER variable in pine?
    >
    > 2) Even though I've logged in, when I try to send a message pine uses
    > my local loginID, not the one that I logged into the imap server with.
    > Therefore, when I try to send mail, our mail server (quite properly)
    > says I'm an unverified sender.
    >
    > I assume the same thing would solve both these problems -- I need to
    > let pine have my login name on the IMAP system. Is there hope, or do I
    > have to rename my account?



    Add the '/user=' qualifier to all your server specifications. For
    example, if your user name on the system is jaibee, use something
    like:

    inbox-path={imap.cs.bath.ac.uk/ssl/novalidate-cert/user=jaibee}INBOX

    folder-collections={imap.cs.bath.ac.uk/ssl/novalidate-cert/user=jaibee}mail/[]

    smtp-server=smtp.cs.bath.ac.uk/ssl/novalidate-cert/user=jaibee

    I have lots of information about setting up Pine on my Power Pine
    page, which is in my sig below.

    Welcome to the world of Mac OS X and Pine, which is the world I'm
    also in!

    Nancy

    --
    Infinite Ink: <http://www.ii.com/>
    All About Pine: <http://www.ii.com/internet/messaging/pine/>
    Power Pine: <http://www.ii.com/internet/messaging/pine/pc/>

  4. Default false locking of postponed mail, sent-mail & archives, was Re: IMAP login user / sendmail barfing

    Thanks -- These suggestions have helped some, but I am still getting
    pathalogical delays due to a false belief that files are locked.
    "Files" here include archives, the fcc target, and postponed-mail.

    First, for the record, the smtp-sever line & folder-collections that
    Nancy suggested broke things; it was better leaving those alone.
    Eduardo was entirely right about what I had to change, but slightly
    wrong about how to change it. For customized-hdrs I had to do:

    customized-hdrs=From: My Name <mn@my.domain>

    It's important not to have double quotes for some reason, & of course
    you need to specify the header you are customizing.

    I can now see & do everything I want eventually, but I have to wait for
    a very long time if I want to fcc, or open a file or get permission to
    send a new mail (due to postponed messages). After several minutes, I
    get a message, e.g. "sent-mail is locked, will override in 300
    seconds", then obviously I have to wait another 5 minutes for this to
    happen.

    I've changed every timeout I can find to 10 seconds, but this hasn't
    had an impact. But more importantly, something is still not right if
    pine thinks all my files are locked.

    Thanks!

    Jaibe


  5. Default Re: false locking of postponed mail, sent-mail & archives, was Re:IMAP login user / sendmail barfing

    *** Jaibee (antjaibee@gmail.common) wrote in comp.mail.pine today:

    First, for the record, the smtp-sever line & folder-collections that
    Nancy suggested broke things; it was better leaving those alone.
    Eduardo was entirely right about what I had to change, but slightly
    wrong about how to change it. For customized-hdrs I had to do:

    customized-hdrs=From: My Name <mn@my.domain>

    It's important not to have double quotes for some reason, & of course
    you need to specify the header you are customizing.

    Hold on. I just tried my suggestion and it worked. What did you do? Did
    you edit your .pinerc? did you do it from the configuration screen? There
    seems to be a problem of communication here if nothing that we suggest
    works for you.

    I can now see & do everything I want eventually, but I have to wait for
    a very long time if I want to fcc, or open a file or get permission to
    send a new mail (due to postponed messages). After several minutes, I
    get a message, e.g. "sent-mail is locked, will override in 300
    seconds", then obviously I have to wait another 5 minutes for this to
    happen.

    Manually remove the locks and restart. Does the problem happen again?

    I've changed every timeout I can find to 10 seconds, but this hasn't
    had an impact. But more importantly, something is still not right if
    pine thinks all my files are locked.

    None of the timeouts are relevant to your problem. All timeouts have to do
    with external connections, not with locking. If you can remove the locks
    (by removing the files ending in ".lock") you should have a fresh start.
    Do things go back to normal after that?

    --
    Eduardo
    Patches/Help: http://www.math.washington.edu/~chappa/pine/
    XML/RSS feed: http://www.math.washington.edu/~chappa/pine/pine.xml
    Please send spam to webmaster@localhost

  6. Default Re: false locking of postponed mail, sent-mail & archives, was Re:IMAP login user / sendmail barfing

    On 19 Feb 2005 Eduardo Chappa (chappa@math.washington.edu) wrote:
    > I can now see & do everything I want eventually, but I have to wait for
    > a very long time if I want to fcc, or open a file or get permission to
    > send a new mail (due to postponed messages). After several minutes, I
    > get a message, e.g. "sent-mail is locked, will override in 300
    > seconds", then obviously I have to wait another 5 minutes for this to
    > happen.
    >
    > Manually remove the locks and restart. Does the problem happen again?



    If removing the locks and restarting does not solve the problem,
    please post the sections of your pinerc that specify your:

    default-fcc
    postponed-folder
    folder-collections

    I am wondering if these are local or remote (IMAP-accessible).
    I'm thinking that maybe you are using local calls over some type
    of network file system and that is ALWAYS A RECIPE FOR LOCKING
    PROBLEMS. If that's the case, then switching to IMAP for
    accessing these should solve the locking problem

    Nancy

    --
    Infinite Ink: <http://www.ii.com/>
    All About Pine: <http://www.ii.com/internet/messaging/pine/>
    Power Pine: <http://www.ii.com/internet/messaging/pine/pc/>

  7. Default Re: false locking of postponed mail, sent-mail & archives, was Re:IMAP login user / sendmail barfing

    *** NM Public (antagorae@nm.deflexion.common) wrote in comp.mail.pine today:

    > Manually remove the locks and restart. Does the problem happen again?

    I am wondering if these are local or remote (IMAP-accessible). I'm
    thinking that maybe you are using local calls over some type of network
    file system and that is ALWAYS A RECIPE FOR LOCKING PROBLEMS. If that's
    the case, then switching to IMAP for accessing these should solve the
    locking problem

    Sometimes the issue is that the method used to do the locking is not the
    right one. When I worked in the Cygwin port of pine some time ago, I saw
    the problem this person described. In that case the solution was to change
    the locking method (that amounts to changing a parameter during
    compilation, nothing that can be done by a configuration option). The
    first thing to try, though, is to remove those files and see what happens,
    if the problem repeats after that, then it is probably something that
    needs to be changed in the compilation, but then I would need to know what
    code was used to build that version of Pine.

    --
    Eduardo
    Patches/Help: http://www.math.washington.edu/~chappa/pine/
    XML/RSS feed: http://www.math.washington.edu/~chappa/pine/pine.xml
    Please send spam to webmaster@localhost

  8. Default Re: false locking of postponed mail, sent-mail & archives, was Re: IMAP login user / sendmail barfing


    Eduardo Chappa wrote:

    > customized-hdrs=From: My Name <mn@my.domain>
    >
    > It's important not to have double quotes for some reason, & of

    course
    > you need to specify the header you are customizing.
    >
    > Hold on. I just tried my suggestion and it worked. What did you do?

    Did
    > you edit your .pinerc? did you do it from the configuration screen?

    There
    > seems to be a problem of communication here if nothing that we

    suggest
    > works for you.


    Sorry if I wasn't clear -- if I did everything you (Eduardo) said and
    not the the extra two things Nancy said, then it did indeed work. The
    only thing was that I got an error about spaces in the name for my
    customized-hdrs, so I went back to the pine man page & replicated the
    code there, as you see above. But it was critical to include the
    customized-hdrs as you suggested. And my mail does all work now, only
    slowly! :-)

    I have been editing the .pinerc directly.

    > Manually remove the locks and restart. Does the problem happen again?


    I haven't been able to figure out where these are yet (& on which
    machine) -- I'll get back to you on this. One of the problems is that
    our sysadmins have high security on all the servers, so I can't really
    see what's happening on the smtp/mail server that I'm forming my
    connections too. And the sysadmins aren't particularly interested in
    supporting my using pine from the mac, they think I should just use a
    windowed mail program (I don't like to because I have a typing injury
    so I hate mousing and a couple decades worth of mail archives in
    standard mailbox format so I don't want to migrate entirely to gmail.)

    Jaibe


  9. Default Re: false locking of postponed mail, sent-mail & archives, was Re: IMAP login user / sendmail barfing

    OK, I'm feeling dense at this point, but I can't find any lock files.
    I can't see the directory my mail spool is kept in, but anyway the
    spool is not locked, I'm having no trouble with that. It's the fcc
    file, the postponed-folder, and the individual archive files that are
    the problems.

    I am currently using the defaults on postponed mail:
    postponed-folder=
    as I said, this does find my postponed folder & does the right things
    when I manipulate it, except for the time spent initially accessing it
    (including just every time I create a message, when it looks to see if
    the file is there).

    Similarly for default-fcc --
    default-fcc=sent-mail
    this is finding sent-mail in my mail directory. The mail directory is
    really on a mounted volume (via samba) /Volumes/jjb/mail, but I also
    have it linked in my mac's home directory (ln -s, symbolic link.)

    Here is my folder-collections:
    folder-collections=Archives mail/[],
    INBOX {imap.cs.bath.ac.uk}INBOX.[]
    Again, this is working accurately, just very slowly. It finds all the
    right files for both fcc & for the folder collection.

    I have looked for the locks in the directories the files are stored in,
    and in the /tmp file on my mac, and even in the /var/spool
    subdirectories on my mac, which were pretty much all the places I've
    found mentioned in the pine documentation pages where locks might live
    (aside from the main one which seems to be working right in my INBOX's
    directory.)

    Thanks again, sorry if I'm being thick about something.

    Jaibe


  10. Default Re: false locking of postponed mail, sent-mail & archives, was Re:IMAP login user / sendmail barfing

    On Fri, 25 Feb 2005, Jaibee wrote:
    > The mail directory is
    > really on a mounted volume (via samba) /Volumes/jjb/mail, but I also
    > have it linked in my mac's home directory (ln -s, symbolic link.)


    Well, here's a problem.

    You have a Mac (running Mac OS X, I assume), but you are accessing files
    on a Samba-mounted directory. So, in effect, you have UNIX Pine trying to
    do UNIX locking (since it's UNIX Pine) to a Windows filesystem (Samba) on
    a UNIX machine.

    I'm not surprised that it doesn't work.

    -- Mark --

    http://staff.washington.edu/mrc
    Science does not emerge from voting, party politics, or public debate.
    Si vis pacem, para bellum.

+ Reply to Thread

Similar Threads

  1. Replies: 4
    Last Post: 10-30-2007, 06:22 AM
  2. Replies: 3
    Last Post: 09-25-2007, 02:45 PM
  3. sendmail virtusertable, user unknown, no such user here
    By Application Development in forum SendMail
    Replies: 4
    Last Post: 01-26-2007, 01:33 AM
  4. relay specific user to cyrus imap from sendmail
    By Application Development in forum SendMail
    Replies: 2
    Last Post: 12-07-2006, 02:21 PM
  5. One IMAP user can't login...
    By Application Development in forum Microsoft Exchange
    Replies: 0
    Last Post: 08-27-2003, 03:38 PM