Mutt IMAP and Diffie-Hellmann prime

Hi,
I am trying to setup Mutt for IMAP access, but cannot get SMTP to work.
I can read and delete my mail, but when I try sending a message I get the response: "Relaying denied; no authenticators available".
Here is the relevant part of my .muttrc:
set folder = imaps://po14.mit.edu
set spoolfile = +INBOX
set smtp_url = smtps://outgoing.mit.edu
set ssl_force_tls = "yes"
I also tried using the combination Mutt + Offlineimap + Msmtp; when I try sending a message, I get:
"The Diffie-Hellmann prime sent by the server is unacceptable (too short)".
What do you think the problem could be?
Thank you in advance for your help.

No problem.
For the .muttrc parameters: if you have smtp_* set up, mutt treats them as parameters when calling sendmail. Now msmtp creates a link (probably to /usr/bin/sendmail), which mutt calls by default; whereas nbsmtp does not (and hence you need to set up 'set sendmail=/usr/bin/nbsmtp'). I don't know how well can msmtp handle those smtp_* parameters.
EDIT: I'm sure nbsmtp cannot handle them.
As for gmail, with gmail you might not need to supply a password, but what gmail smtp server does is that it silently replaces the "From: ..." line in your e-mail. Hence, when you use gmail smtp server, the "From" address of outgoing e-mails will *always* be your gmail address.
Last edited by bender02 (2008-02-14 05:34:39)

Similar Messages

  • Good morning! i'd like to know why when I write an email in Mail, it creates numerous copies each second which fill the trash box. My email is set up with IMAP and is a gmail account. Thanks

    good morning! i'd like to know why when I write an email in Mail, it creates numerous copies each second which fill the trash box. My email is set up with IMAP and is a gmail account. Thanks

    Open Mail preferences and select Accounts then MailBox Behavior. You probably need to unclick the safe draft to server.

  • I am unable to see any POP3 or IMAP tab when I set up an account in my iphone 4S. Hence by default all my email accounts become IMAP and the messages are deleted from the server when I delete them from the iphone.

    I am unable to see any POP3 or IMAP tab when I set up an account in my iphone 4S. Hence by default all my email accounts become IMAP and the messages are deleted from the server when I delete them from the iphone.

    ok sorry everyone but i solved it myself but the solution is so nuts i've posted it here to help others who have the same problem.
    to setup a comcast imap account on your iphone:
    go to mail, contacts, etc in settings
    under accts, select add account
    select "other"
    new screen, choose "add mail account"
    now on the new acct screen you must enter your name, email address and password for your GMAIL acct ! (yes i said your gmail acct !, or some other acct with a NON comcast address).
    hit next
    then the acct verifies
    when verified a screen will open with all the acct settings for this acct AND @ the top of the screen are the 2 buttons > imap or POP
    select imap and THEN CHANGE ALL THE ACCOUNT information to the comcast account !
    then hit next and the account will take a couple minutes to verify but it will verify and now you have a comcast imap acct set up on your iphone.  The problem must be that when the iphone sends the initial verify acct info to comcast (if you enter that information first) the comcast server is simply not setup yet to signal the iphone that there is an imap option.

  • Mail: unable to connect to my SMPT server? Also new Mail Account defaults to iMap and won't let me change to Pop?

    Dear All,
    I've been with the same UK internet and email provider for years and they've given me solid and reliable service. I've worked my way through the Apple Knowledgebase checklist and tests and proved that my isp/esp is working normally so the problem has to be with Mail.
    I fiddled about trying to create a Mail Account on my late 2011 but-new-to-me MacBook Pro a couple of days ago and, it might be completely unrelated and simply a coincidence, but since then none of my devices, Iphone 4S, Powerbook G4, iPhone 3G, the MBPro can send email using Mail.
    Whenever I try I get prompted for my password but when I enter it says it's wrong but it definitely isn't because I even changed it this morning through my isp/esp and it worked and I then changed it back again to my correct password and it works also to get into webmail that is, not via Mail.
    When I run Mail\Window\Connection Doctor and check the status it shows Mail is unable to connect to server but that it can connect to the internet. I get the following message: Trying to log in to SMPT account failed.  Try to verify that username and password are correct.
    Now, whenever I try to create a new email account on MacBook Pro Mail keeps defaulting to iMap and wont let me change it to Pop which is what I need.
    Does anyone have any ideas?

    Dear All,
    I'll finish off this thread in case it's of use to anyone else in the future.
    I couldn't get the email pop account to recognise my sign-in even though I've been using it continually and without problem for the last several years. It's always been BT and Yahoo so it's more likely to be the fiddle about I did on my temporary, pre migration user account that caused the hiccup.
    In th end I had to create another pop account which I was able to once I'd migrated my settings from my PB G4 to the MB Pro.  Unfortunately this didn't merge the numerous email folders that I'd created previously in Mail but I still have them on the PB and I believe they can be transferred manually which is what I will do.
    Thanks for everyone that took the time to help.
    K

  • Mails sent to the iPhone (5S) do not appear in sent mail. Neither iOS nor OSX. I need detailed instructions IMAP and SMTP on iPhone and on OSX

    Mails sent to the iPhone (5S) do not appear in sent mail. Neither iOS nor OSX. I need detailed instructions IMAP and SMTP on iPhone and on OSX

    I have two accounts gmail.com and icloud.com.Only mails sent from iPhone not appearing in sent by IP or in OSX

  • Configure POP3, IMAP and exchange online

    Configure POP3, IMAP and exchange online does not cause conflicts in outlook for my mail service

    Hello Wesleyhe,
    You cannot use AD anything with EOP - if you mean exchange on-line protection.
    you have to set a smart host on the SBS server to connect to EOP, you may need to add the EOP server ips to your network config
    on the SBS server.  the smart host line (for the send connector on SBS server) is something like: yourdomainname-com.mail.protection.outlook.com.
    Then you need to configure the outside ip for your SBS server access in the EOP admin area.
    Hope this helps.
    eholz
    Network and Server Installs

  • Imap and ical can't safe data

    hello!
    after settign up a total new server after haftign problems. i finished setting it up, want to copy local mails back to the imap and import aicbu file into iCal. both apps are not able to safe this data. they show it for a moment and then delete it...
    HELP!!!!

    I GOT IT!
    i used the primary mail account as a iCal-invitation account...iCal deleted my mails!!!
    unclick it in the server app under ical!!
    great!

  • IMAP and workflow mailers

    HI
    we have default implementaion of imap and the values for wflow mailers were
    Inbound Thread Count 1 Outbound Thread Count 1
    ============================================
    Log Level Error Processor Read Wait Timeout 10
    Processor Min Loop Sleep 5 Processor Max Loop Sleep 60
    Processor Error Loop Sleep 60 Processor Close on Read Timeout Y
    the Mail server seemed to be getting constantly hit by imap (almose 2-3 secs).
    1. Is there a way to reduce the traffic to mail server ?
    2. Also, I listed the agenets running. Which agents ping the mail server ? which agents connect to the mail server ?
    3. any help to understand this better is appreciated,. thanks ...
    AGENTS RUNNING
    WF_JMS_IN Listener(M4U),
    Workflow Deferred Agent Listener
    Workflow Deferred Notification Agent Listener
    Workflow Error Agent Listener
    Workflow Inbound Notifications Agent Listener
    Workflow Java Deferred Agent Listener
    Workflow Java Error Agent Listener
    Workflow Notification Mailer

    The mail server admin gave a log like this which indicates a connection the mail server every 2 secs. I was told that it was lot of traffic. Any thougths ?
    Second, are there some agents whic ping vs opens a connection
    thanks
    02-17-07 04:00:37 14 Accepted IMAP4 connection with: 10.1.15.9
    02-17-07 04:00:37 14 IMAP4 session ended: 10.1.15.9
    02-17-07 04:00:38 14 Accepted IMAP4 connection with: 10.1.15.9
    02-17-07 04:00:41 13 Accepted IMAP4 connection with: 10.1.15.9
    02-17-07 04:00:41 13 IMAP4 session ended: 10.1.15.9
    02-17-07 04:00:46 14 IMAP4 session ended: 10.1.15.9
    02-17-07 04:01:19 8 Accepted IMAP4 connection with: 10.1.15.9
    02-17-07 04:01:19 8 IMAP4 session ended: 10.1.15.9
    02-17-07 04:01:21 8 Accepted IMAP4 connection with: 10.1.15.9
    02-17-07 04:01:22 14 Accepted IMAP4 connection with: 10.1.15.9
    02-17-07 04:01:22 14 IMAP4 session ended: 10.1.15.9
    02-17-07 04:01:24 8 IMAP4 session ended: 10.1.15.9
    02-17-07 04:02:05 8 Accepted IMAP4 connection with: 10.1.15.9
    02-17-07 04:02:05 8 IMAP4 session ended: 10.1.15.9
    02-17-07 04:02:07 8 Accepted IMAP4 connection with: 10.1.15.9
    02-17-07 04:02:08 14 Accepted IMAP4 connection with: 10.1.15.9
    02-17-07 04:02:08 14 IMAP4 session ended: 10.1.15.9
    02-17-07 04:02:10 8 IMAP4 session ended: 10.1.15.9
    02-17-07 04:02:56 8 Accepted IMAP4 connection with: 10.1.15.9
    02-17-07 04:02:56 8 IMAP4 session ended: 10.1.15.9
    02-17-07 04:02:57 8 Accepted IMAP4 connection with: 10.1.15.9
    02-17-07 04:02:59 14 Accepted IMAP4 connection with: 10.1.15.9
    02-17-07 04:02:59 14 IMAP4 session ended: 10.1.15.9
    02-17-07 04:03:01 8 IMAP4 session ended: 10.1.15.9
    02-17-07 04:03:52 14 Accepted IMAP4 connection with: 10.1.15.9
    02-17-07 04:03:52 14 IMAP4 session ended: 10.1.15.9
    02-17-07 04:03:53 14 Accepted IMAP4 connection with: 10.1.15.9
    02-17-07 04:03:55 13 Accepted IMAP4 connection with: 10.1.15.9

  • Imap and Pop not working on 2013 servers - BAD Command received in Invalid state

    Hello, 
    We recently moved our frontend server over to Exchange 2013. So now both internally and externally all mail traffic will flow through the new servre. After battling issue after issue I was able to get the new exchange environment working as it should. The
    only problem is that IMAP and POP3 logins do not work for 2013 mailboxes. It works fine for 2010 but not 2013. Here are the results from the testconnectivity website:
    The IMAP service is being tested.
    There was an error testing the IMAP service
    Additional Details
    Secured: CN=mail.domain.com, OU=Unified Communications, O=Companhy, POBox=United States, S...
    S: * OK The Microsoft Exchange IMAP4 service is ready.
    C: 1 CAPABILITY
    S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN UIDPLUS CHILDREN IDLE NAMESPACE LITERAL+
    1 OK CAPABILITY completed.
    C: 2 LOGIN user <password>
    S: 2 NO LOGIN failed.
    C: 3 LIST "" *
    S: 3 BAD Command received in Invalid state.
    Microsoft.Exchange.Tools.ExRca.Tests.ImapPop.MailProtocolException: 3 BAD Command received in Invalid state.
    at Microsoft.Exchange.Tools.ExRca.Tests.ImapPop.ImapProtocolTester.SendCommand(String command, String logString)
    at Microsoft.Exchange.Tools.ExRca.Tests.ImapPop.BaseProtocolTest.PerformTestReally()
    Elapsed Time: 1829 ms.
    Here are my Get-ImapSettings from the mailbox server
    RunspaceId                        : 1c5069f4-520f-4f62-88d6-affd0e0796d7
    ProtocolName                      : IMAP4
    Name                              : 1
    MaxCommandSize                    : 10240
    ShowHiddenFoldersEnabled          : False
    UnencryptedOrTLSBindings          : {[::]:143, 0.0.0.0:143}
    SSLBindings                       : {[::]:993, 0.0.0.0:993}
    InternalConnectionSettings        : {MAIL4.domain.com:993:SSL, MAIL4.domain.com:143:TLS}
    ExternalConnectionSettings        : {}
    X509CertificateName               : mail.domain.com
    Banner                            : The Microsoft Exchange IMAP4 service is ready.
    LoginType                         : SecureLogin
    AuthenticatedConnectionTimeout    : 00:30:00
    PreAuthenticatedConnectionTimeout : 00:01:00
    MaxConnections                    : 2147483647
    MaxConnectionFromSingleIP         : 2147483647
    MaxConnectionsPerUser             : 16
    MessageRetrievalMimeFormat        : BestBodyFormat
    ProxyTargetPort                   : 143
    CalendarItemRetrievalOption       : iCalendar
    OwaServerUrl                      :
    EnableExactRFC822Size             : False
    LiveIdBasicAuthReplacement        : False
    SuppressReadReceipt               : False
    ProtocolLogEnabled                : True
    EnforceCertificateErrors          : False
    LogFileLocation                   : C:\Program Files\Microsoft\Exchange Server\V15\Logging\Imap4
    LogFileRollOverSettings           : Daily
    LogPerFileSizeQuota               : 0 B (0 bytes)
    ExtendedProtectionPolicy          : None
    EnableGSSAPIAndNTLMAuth           : True
    Server                            : MAIL4
    AdminDisplayName                  :
    ExchangeVersion                   : 0.10 (14.0.100.0)
    DistinguishedName                 : CN=1,CN=IMAP4,CN=Protocols,CN=MAIL4,CN=Servers,CN=Exchange Administrative Group
                                        (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Company,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=willowcreek,DC=org
    Identity                          : MAIL4\1
    Guid                              : 593e53d7-64e5-4170-b897-47b1af944a5b
    ObjectCategory                    : domain.com/Configuration/Schema/ms-Exch-Protocol-Cfg-IMAP-Server
    ObjectClass                       : {top, protocolCfg, protocolCfgIMAP, protocolCfgIMAPServer}
    WhenChanged                       : 2/4/2015 8:45:39 AM
    WhenCreated                       : 1/22/2015 1:48:43 PM
    WhenChangedUTC                    : 2/4/2015 2:45:39 PM
    WhenCreatedUTC                    : 1/22/2015 7:48:43 PM
    OrganizationId                    :
    OriginatingServer                 : NS6.domain.com
    IsValid                           : True
    ObjectState                       : Unchanged
    The IMAP service is being tested.
    There was an error testing the IMAP service
    Additional Details
    Secured: CN=mail.willowcreek.org, OU=Unified Communications, O=Willow Creek Community Church, POBox=United States, STREET=67 E Algonquin Road, L=South Barrington, S=IL, PostalCode=60010, C=US
    S: * OK The Microsoft Exchange IMAP4 service is ready.
    C: 1 CAPABILITY
    S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN UIDPLUS CHILDREN IDLE NAMESPACE LITERAL+
    1 OK CAPABILITY completed.
    C: 2 LOGIN ssimpson <password>
    S: 2 NO LOGIN failed.
    C: 3 LIST "" *
    S: 3 BAD Command received in Invalid state.
    Microsoft.Exchange.Tools.ExRca.Tests.ImapPop.MailProtocolException: 3 BAD Command received in Invalid state.
    at Microsoft.Exchange.Tools.ExRca.Tests.ImapPop.ImapProtocolTester.SendCommand(String command, String logString)
    at Microsoft.Exchange.Tools.ExRca.Tests.ImapPop.BaseProtocolTest.PerformTestReally()
    Elapsed Time: 1829 ms.
    The IMAP service is being tested.
    There was an error testing the IMAP service
    Additional Details
    Secured: CN=mail.willowcreek.org, OU=Unified Communications, O=Willow Creek Community Church, POBox=United States, STREET=67 E Algonquin Road, L=South Barrington, S=IL, PostalCode=60010, C=US
    S: * OK The Microsoft Exchange IMAP4 service is ready.
    C: 1 CAPABILITY
    S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN UIDPLUS CHILDREN IDLE NAMESPACE LITERAL+
    1 OK CAPABILITY completed.
    C: 2 LOGIN ssimpson <password>
    S: 2 NO LOGIN failed.
    C: 3 LIST "" *
    S: 3 BAD Command received in Invalid state.
    Microsoft.Exchange.Tools.ExRca.Tests.ImapPop.MailProtocolException: 3 BAD Command received in Invalid state.
    at Microsoft.Exchange.Tools.ExRca.Tests.ImapPop.ImapProtocolTester.SendCommand(String command, String logString)
    at Microsoft.Exchange.Tools.ExRca.Tests.ImapPop.BaseProtocolTest.PerformTestReally()
    Elapsed Time: 1829 ms.

    When you do the telnet test make sure you enter in the command like below verbatim. Right before you type login you need to add some preceding character in my case the > sign.
    * OK The Microsoft Exchange IMAP4 service is ready.
    > login jchong password (make sure you type a preceding character first like the > sign)
    > OK LOGIN completed.
    James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com

  • Difference between IMAP and "Exchange" account in mail?

    Hi,
    I'm using a Hosted Exchange 2007 account with Entourage 2004 actually. Now I want to try using Mail as an alternative application. As the server offers IMAP I could setup a new IMAP account in Mail and receive my Mails from Exchange. But Mail offers an "Exchange" account additionally. Can anyone explain me the difference between theese two Mail accounts? Is one better, faster or whatever?
    Best regards,
    Heiko

    Exchange uses a proprietary mail exchange protocol, while imap is standard. You can use a lot of different mail clients on different platforms with imap, and you don't have to worry about synchronization or conflicts since its server based. When you establish an imap connection, though, you stay connected to the server, so it's a relatively high resource user. Exchange is more verbose, and although its fundamentally server based using different exchange clients from different places doesn't synchronize well. Exchange will also update your outlook calendar, while imap will not. If it's just for mail, I vastly prefer imap.

  • 11 e-mail accounts from different providers are suddenly giving me errors saying they can't connect to IMAP and SMTP server?

    I have 11 e-mail accounts that was working fine a minute ago, but now they all say that they can't connect to the IMAP and SMTP servers.
    They all work fine on my iphone.
    How should i troubleshoot this?
    Thanks in advance.

    Nevermind, restarted for the third or fourth time, and now it works...
    Perhaps it was a time-issue.

  • UW-Imap and pam.conf problem

    Hello
    I have a problem with uw-imap and pam.conf.
    On this site: http://www.washington.edu/imap/documentation/BUILD.html, by step 3 i have a problem.
    In Solaris 10, the directory /etc/pam.d/ do not exisist. It haves only the file pam.conf.
    But, i don't know, what i must read in this file.
    Can you help me? Please.
    Greetings

    you can try passwd -r ldap for changing the ldap passwds...

  • I am wanting to add my icloud email account to Windows Live email...during the process i's being asked server type (POP or IMAP) and server address incoming and outgoing  the port boxes already have a nbr. in them, 25 (Outgoing) and 143 (Incoming).

    I am wanting to add my icloud email account to "Windows Live"....During the setup process I'm being asked for server type (POP or IMAP) and server address (Incoming and Outgoing) Where can I find this information?...The port boxes already have a number in them - 25 (outgoing) and 143 (incoming)..do I leave these the same??...also do I check the box "Requires a secure connection (SSL) for both incoming and outgoing???

    iCloud Mail Server Settings

  • GMail, IMAP and sending messages from the iPhone

    I have recently switched from POP to IMAP. My ISP doesn't support IMAP, and so I get GMail to pop my ISP, and then download the messages from GMail with IMAP. Within GMail I have set things so that by default I can send a message through my GMail account using +my normal ISP's email address+; recipients are therefore unaware of my use of GMail - which is how I want it.
    BUT ... messages sent from the iPhone show up as having been sent from my GMail address. Is there any way that I can change this, so they appear to have come from my normal address? I don't want to set up a second a/c on the iPhone, as I want all of the messages to stay within the GMail IMAP system.
    GMail's web based >> >Settings >Accounts >Send mail as: >> facility does not seem to appear within the iPhone.
    Or am I missing something?
    Any assistance gratefully received

    Many thanks for your reply - and I think that I understand what you are saying; however the GMail system does allow me to send a message using another "reply to" address so long as I have authenticated that email address within GMail first. I've been through that process, and I can send a message which appears to be from my normal ISP's address but in reality is sent through GMail (what some might refer to as using a spoofed address?) - but I can't do this from my iPhone.
    If the restriction is insurmountable for the iPhone, I'll just have to revert to POP instead of IMAP, as I can then separate my normal address and my GMail address - it's just that a combined IMAP system would have been a more elegant solution ...
    Kind Regards,

  • What IMAP and SMTP must i use to connect to Apple Mail?

    what IMAP and SMTP server must i use in my Entourage email client to connect to Apple Mail?

    Use these settings for iCloud - http://support.apple.com/kb/ht4864

Maybe you are looking for