* Gnus: Sending email from an IMAP account: "Process smtpmail not running"
@ 2011-11-20 19:26 Marius Hofert
2011-11-20 19:56 ` Tassilo Horn
0 siblings, 1 reply; 5+ messages in thread
From: Marius Hofert @ 2011-11-20 19:26 UTC (permalink / raw
To: Emacs help
Hi,
With the (great) help of Tassilo Horn, I was able to set up gnus to read email with an IMAP account (see http://lists.gnu.org/archive/html/help-gnu-emacs/2011-10/msg00300.html). At the moment, I try to set it up to *send* email, but I receive "Process smtpmail not running".
Here is my setup (I'm working on Mac OS X 10.7.2 with Emacs 24.0.91 (9.0)), all is contained in ~/.gnus.el:
;; basics
(gnus-demon-add-handler 'gnus-demon-scan-news 1 t); check every min
(setq gnus-fetch-old-headers t); show previous messages in a thread
(setq gnus-select-method '(nnnil)); no news (only email)
(setq user-mail-address "my.name@mail.uni.edu"); set default email address
(setq user-full-name "My Name"); set default user name
(setq gnus-interactive-exit nil); don't ask when closing
;; automatic linebreaking
(defun my-message-mode-setup ()
(setq fill-column 80)
(turn-on-auto-fill))
(add-hook 'message-mode-hook 'my-message-mode-setup)
;; setup IMAP accounts
;; IMAP for google mail has been enabled
(setq gnus-secondary-select-methods
'((nnimap "my.name@mail.uni.edu"; primary email account
(nnimap-address "mail.uni.edu"); mail server address
)
(nnimap "my.name@googlemail.com"; secondary email account
(nnimap-address "imap.googlemail.com"); mail server address
)
)
)
In ~/.authinfo, I specified the login details as follows:
machine imap.googlemail.com login my.name@googlemail.com port imaps password ....
machine mail.uni.edu login mylogin port imaps password ....
Here are the details I specified in Mac Mail (which works):
1) my.name@mail.uni.edu (that's an MS Exchange Server 2010):
Internal Server, External Server, Outgoing Mail server: mail.uni.edu
2) my.name@googlemail.com (a standard gmail account, set up to work with IMAP):
Incoming Mail Server: imap.googlemail.com
Outgoing Mail Server (SMTP): smtp.googlemail.com
When I wanted to send a new message (from either my.name@mail.uni.edu or my.name@googlemail.com), I was first asked to choose between "mail client", "transport", and "smtp". I chose the latter but then directly obtained the "Process smtpmail not running" message.
Cheers,
Marius
I also set up the debugging for IMAP:
(setq imap-log t)
The log file contained quite a lot of output of the form:
19:44:50 (inhibited)
19:44:50 2 LIST "" "*"
19:44:52 (inhibited)
19:44:53 4 LIST "" "*"
19:44:53 5 EXAMINE "Contacts"
19:44:53 6 UID FETCH 1:* FLAGS
19:44:53 7 EXAMINE "Sent Messages"
19:44:53 8 UID FETCH 30454:* FLAGS
19:44:53 9 EXAMINE "INBOX"
19:44:53 10 UID FETCH 10713:* FLAGS
19:44:53 11 EXAMINE "Calendar"
19:44:53 12 UID FETCH 1:* FLAGS
19:44:53 13 EXAMINE "Tasks"
19:44:53 14 UID FETCH 1:* FLAGS
19:44:53 15 EXAMINE "Sent Items"
19:44:53 16 UID FETCH 14742:* FLAGS
19:44:53 17 EXAMINE "Sent"
19:44:53 18 UID FETCH 1:* FLAGS
19:44:53 19 EXAMINE "Outbox"
19:44:53 20 UID FETCH 1:* FLAGS
19:44:53 21 EXAMINE "Notes"
19:44:53 22 UID FETCH 1:* FLAGS
19:44:53 23 EXAMINE "Junk E-Mail"
19:44:53 24 UID FETCH 896:* FLAGS
19:44:53 25 EXAMINE "Journal"
19:44:53 26 UID FETCH 1:* FLAGS
19:44:53 27 EXAMINE "Drafts"
19:44:53 28 UID FETCH 20194:* FLAGS
19:44:53 29 EXAMINE "Deleted Items"
19:44:53 30 UID FETCH 5214:* FLAGS
19:44:53 31 EXAMINE "[Google Mail]/Sent Mail"
19:44:53 32 UID FETCH 1265:* FLAGS
19:44:53 33 EXAMINE "Sent Messages"
19:44:53 34 UID FETCH 296:* FLAGS
19:44:53 35 EXAMINE "INBOX"
19:44:53 36 UID FETCH 2223:* FLAGS
19:44:53 37 EXAMINE "[Google Mail]/Starred"
19:44:53 38 UID FETCH 1:* FLAGS
19:44:53 39 EXAMINE "[Google Mail]/Drafts"
19:44:53 40 UID FETCH 1:* FLAGS
19:44:53 41 EXAMINE "[Google Mail]/Trash"
19:44:53 42 UID FETCH 1860:* FLAGS
19:44:53 43 EXAMINE "[Google Mail]/Spam"
19:44:53 44 UID FETCH 366:* FLAGS
19:44:53 45 EXAMINE "[Google Mail]/Important"
19:44:53 46 UID FETCH 161:* FLAGS
19:44:53 47 EXAMINE "[Google Mail]/All Mail"
19:44:53 48 UID FETCH 6125:* FLAGS
19:44:53 49 SELECT "[Google Mail]"
19:44:53 50 UID FETCH 1:* FLAGS
19:44:53 51 EXAMINE "Notes"
19:44:53 52 UID FETCH 1:* FLAGS
19:44:53 53 EXAMINE "Drafts"
19:44:53 54 UID FETCH 1072:* FLAGS
19:44:53 55 EXAMINE "Deleted Messages"
19:44:53 56 UID FETCH 1339:* FLAGS
19:50:43 57 EXAMINE "Contacts"
19:50:43 58 UID FETCH 1:* FLAGS
19:50:43 59 EXAMINE "Sent Messages"
19:50:43 60 UID FETCH 30454:* FLAGS
19:50:43 61 EXAMINE "INBOX"
19:50:43 62 UID FETCH 10729:* FLAGS
19:50:43 63 EXAMINE "Calendar"
19:50:43 64 UID FETCH 1:* FLAGS
19:50:43 65 EXAMINE "Tasks"
19:50:43 66 UID FETCH 1:* FLAGS
19:50:43 67 EXAMINE "Sent Items"
19:50:43 68 UID FETCH 15933:* FLAGS
19:50:43 69 EXAMINE "Sent"
19:50:43 70 UID FETCH 1:* FLAGS
19:50:43 71 EXAMINE "Outbox"
19:50:43 72 UID FETCH 1:* FLAGS
19:50:43 73 EXAMINE "Notes"
19:50:43 74 UID FETCH 1:* FLAGS
19:50:43 75 EXAMINE "Junk E-Mail"
19:50:43 76 UID FETCH 1168:* FLAGS
19:50:43 77 EXAMINE "Journal"
19:50:43 78 UID FETCH 1:* FLAGS
19:50:43 79 EXAMINE "Drafts"
19:50:43 80 UID FETCH 21234:* FLAGS
19:50:43 81 EXAMINE "Deleted Items"
19:50:43 82 UID FETCH 5220:* FLAGS
19:50:43 83 EXAMINE "[Google Mail]/Sent Mail"
19:50:43 84 UID FETCH 1267:* FLAGS
19:50:43 85 EXAMINE "Sent Messages"
19:50:43 86 UID FETCH 298:* FLAGS
19:50:43 87 EXAMINE "INBOX"
19:50:43 88 UID FETCH 2255:* FLAGS
19:50:43 89 EXAMINE "[Google Mail]/Starred"
19:50:43 90 UID FETCH 1:* FLAGS
19:50:43 91 EXAMINE "[Google Mail]/Drafts"
19:50:43 92 UID FETCH 1:* FLAGS
19:50:43 93 EXAMINE "[Google Mail]/Trash"
19:50:43 94 UID FETCH 1866:* FLAGS
19:50:43 95 EXAMINE "[Google Mail]/Spam"
19:50:43 96 UID FETCH 375:* FLAGS
19:50:43 97 EXAMINE "[Google Mail]/Important"
19:50:43 98 UID FETCH 163:* FLAGS
19:50:43 99 EXAMINE "[Google Mail]/All Mail"
19:50:43 100 UID FETCH 6183:* FLAGS
19:50:43 101 SELECT "[Google Mail]"
19:50:43 102 UID FETCH 1:* FLAGS
19:50:43 103 EXAMINE "Notes"
19:50:43 104 UID FETCH 1:* FLAGS
19:50:43 105 EXAMINE "Drafts"
19:50:43 106 UID FETCH 1078:* FLAGS
19:50:43 107 EXAMINE "Deleted Messages"
19:50:43 108 UID FETCH 1386:* FLAGS
19:51:43 109 EXAMINE "Contacts"
19:51:43 110 UID FETCH 1:* FLAGS
19:51:43 111 EXAMINE "Sent Messages"
19:51:43 112 UID FETCH 30454:* FLAGS
19:51:43 113 EXAMINE "INBOX"
19:51:43 114 UID FETCH 10729:* FLAGS
19:51:43 115 EXAMINE "Calendar"
19:51:43 116 UID FETCH 1:* FLAGS
19:51:43 117 EXAMINE "Tasks"
19:51:43 118 UID FETCH 1:* FLAGS
19:51:43 119 EXAMINE "Sent Items"
19:51:43 120 UID FETCH 15933:* FLAGS
19:51:43 121 EXAMINE "Sent"
19:51:43 122 UID FETCH 1:* FLAGS
19:51:43 123 EXAMINE "Outbox"
19:51:43 124 UID FETCH 1:* FLAGS
19:51:43 125 EXAMINE "Notes"
19:51:43 126 UID FETCH 1:* FLAGS
19:51:43 127 EXAMINE "Junk E-Mail"
19:51:43 128 UID FETCH 1168:* FLAGS
19:51:43 129 EXAMINE "Journal"
19:51:43 130 UID FETCH 1:* FLAGS
19:51:43 131 EXAMINE "Drafts"
19:51:43 132 UID FETCH 21237:* FLAGS
19:51:43 133 EXAMINE "Deleted Items"
19:51:43 134 UID FETCH 5220:* FLAGS
19:51:43 135 EXAMINE "[Google Mail]/Sent Mail"
19:51:43 136 UID FETCH 1267:* FLAGS
19:51:43 137 EXAMINE "Sent Messages"
19:51:43 138 UID FETCH 298:* FLAGS
19:51:43 139 EXAMINE "INBOX"
19:51:43 140 UID FETCH 2255:* FLAGS
19:51:43 141 EXAMINE "[Google Mail]/Starred"
19:51:43 142 UID FETCH 1:* FLAGS
19:51:43 143 EXAMINE "[Google Mail]/Drafts"
19:51:43 144 UID FETCH 1:* FLAGS
19:51:43 145 EXAMINE "[Google Mail]/Trash"
19:51:43 146 UID FETCH 1866:* FLAGS
19:51:43 147 EXAMINE "[Google Mail]/Spam"
19:51:43 148 UID FETCH 375:* FLAGS
19:51:43 149 EXAMINE "[Google Mail]/Important"
19:51:43 150 UID FETCH 163:* FLAGS
19:51:43 151 EXAMINE "[Google Mail]/All Mail"
19:51:43 152 UID FETCH 6183:* FLAGS
19:51:43 153 SELECT "[Google Mail]"
19:51:43 154 UID FETCH 1:* FLAGS
19:51:43 155 EXAMINE "Notes"
19:51:43 156 UID FETCH 1:* FLAGS
19:51:43 157 EXAMINE "Drafts"
19:51:43 158 UID FETCH 1078:* FLAGS
19:51:43 159 EXAMINE "Deleted Messages"
19:51:43 160 UID FETCH 1386:* FLAGS
19:52:43 161 EXAMINE "Contacts"
19:52:43 162 UID FETCH 1:* FLAGS
19:52:43 163 EXAMINE "Sent Messages"
19:52:43 164 UID FETCH 30454:* FLAGS
19:52:43 165 EXAMINE "INBOX"
19:52:43 166 UID FETCH 10729:* FLAGS
19:52:43 167 EXAMINE "Calendar"
19:52:43 168 UID FETCH 1:* FLAGS
19:52:43 169 EXAMINE "Tasks"
19:52:43 170 UID FETCH 1:* FLAGS
19:52:43 171 EXAMINE "Sent Items"
19:52:43 172 UID FETCH 15933:* FLAGS
19:52:43 173 EXAMINE "Sent"
19:52:43 174 UID FETCH 1:* FLAGS
19:52:43 175 EXAMINE "Outbox"
19:52:43 176 UID FETCH 1:* FLAGS
19:52:43 177 EXAMINE "Notes"
19:52:43 178 UID FETCH 1:* FLAGS
19:52:43 179 EXAMINE "Junk E-Mail"
19:52:43 180 UID FETCH 1168:* FLAGS
19:52:43 181 EXAMINE "Journal"
19:52:43 182 UID FETCH 1:* FLAGS
19:52:43 183 EXAMINE "Drafts"
19:52:43 184 UID FETCH 21237:* FLAGS
19:52:43 185 EXAMINE "Deleted Items"
19:52:43 186 UID FETCH 5220:* FLAGS
19:52:43 187 EXAMINE "[Google Mail]/Sent Mail"
19:52:43 188 UID FETCH 1267:* FLAGS
19:52:43 189 EXAMINE "Sent Messages"
19:52:43 190 UID FETCH 298:* FLAGS
19:52:43 191 EXAMINE "INBOX"
19:52:43 192 UID FETCH 2255:* FLAGS
19:52:43 193 EXAMINE "[Google Mail]/Starred"
19:52:43 194 UID FETCH 1:* FLAGS
19:52:43 195 EXAMINE "[Google Mail]/Drafts"
19:52:43 196 UID FETCH 1:* FLAGS
19:52:43 197 EXAMINE "[Google Mail]/Trash"
19:52:43 198 UID FETCH 1866:* FLAGS
19:52:43 199 EXAMINE "[Google Mail]/Spam"
19:52:43 200 UID FETCH 375:* FLAGS
19:52:43 201 EXAMINE "[Google Mail]/Important"
19:52:43 202 UID FETCH 163:* FLAGS
19:52:43 203 EXAMINE "[Google Mail]/All Mail"
19:52:43 204 UID FETCH 6183:* FLAGS
19:52:43 205 SELECT "[Google Mail]"
19:52:43 206 UID FETCH 1:* FLAGS
19:52:43 207 EXAMINE "Notes"
19:52:43 208 UID FETCH 1:* FLAGS
19:52:43 209 EXAMINE "Drafts"
19:52:43 210 UID FETCH 1078:* FLAGS
19:52:43 211 EXAMINE "Deleted Messages"
19:52:43 212 UID FETCH 1386:* FLAGS
19:53:43 213 EXAMINE "Contacts"
19:53:43 214 UID FETCH 1:* FLAGS
19:53:43 215 EXAMINE "Sent Messages"
19:53:43 216 UID FETCH 30454:* FLAGS
19:53:43 217 EXAMINE "INBOX"
19:53:43 218 UID FETCH 10729:* FLAGS
19:53:43 219 EXAMINE "Calendar"
19:53:43 220 UID FETCH 1:* FLAGS
19:53:43 221 EXAMINE "Tasks"
19:53:43 222 UID FETCH 1:* FLAGS
19:53:43 223 EXAMINE "Sent Items"
19:53:43 224 UID FETCH 15933:* FLAGS
19:53:43 225 EXAMINE "Sent"
19:53:43 226 UID FETCH 1:* FLAGS
19:53:43 227 EXAMINE "Outbox"
19:53:43 228 UID FETCH 1:* FLAGS
19:53:43 229 EXAMINE "Notes"
19:53:43 230 UID FETCH 1:* FLAGS
19:53:43 231 EXAMINE "Junk E-Mail"
19:53:43 232 UID FETCH 1168:* FLAGS
19:53:43 233 EXAMINE "Journal"
19:53:43 234 UID FETCH 1:* FLAGS
19:53:43 235 EXAMINE "Drafts"
19:53:43 236 UID FETCH 21237:* FLAGS
19:53:43 237 EXAMINE "Deleted Items"
19:53:43 238 UID FETCH 5220:* FLAGS
19:53:43 239 EXAMINE "[Google Mail]/Sent Mail"
19:53:43 240 UID FETCH 1267:* FLAGS
19:53:43 241 EXAMINE "Sent Messages"
19:53:43 242 UID FETCH 298:* FLAGS
19:53:43 243 EXAMINE "INBOX"
19:53:43 244 UID FETCH 2255:* FLAGS
19:53:43 245 EXAMINE "[Google Mail]/Starred"
19:53:43 246 UID FETCH 1:* FLAGS
19:53:43 247 EXAMINE "[Google Mail]/Drafts"
19:53:43 248 UID FETCH 1:* FLAGS
19:53:43 249 EXAMINE "[Google Mail]/Trash"
19:53:43 250 UID FETCH 1866:* FLAGS
19:53:43 251 EXAMINE "[Google Mail]/Spam"
19:53:43 252 UID FETCH 375:* FLAGS
19:53:43 253 EXAMINE "[Google Mail]/Important"
19:53:43 254 UID FETCH 163:* FLAGS
19:53:43 255 EXAMINE "[Google Mail]/All Mail"
19:53:43 256 UID FETCH 6183:* FLAGS
19:53:43 257 SELECT "[Google Mail]"
19:53:43 258 UID FETCH 1:* FLAGS
19:53:43 259 EXAMINE "Notes"
19:53:43 260 UID FETCH 1:* FLAGS
19:53:43 261 EXAMINE "Drafts"
19:53:43 262 UID FETCH 1078:* FLAGS
19:53:43 263 EXAMINE "Deleted Messages"
19:53:43 264 UID FETCH 1386:* FLAGS
19:54:43 265 EXAMINE "Contacts"
19:54:43 266 UID FETCH 1:* FLAGS
19:54:43 267 EXAMINE "Sent Messages"
19:54:43 268 UID FETCH 30454:* FLAGS
19:54:43 269 EXAMINE "INBOX"
19:54:43 270 UID FETCH 10729:* FLAGS
19:54:43 271 EXAMINE "Calendar"
19:54:43 272 UID FETCH 1:* FLAGS
19:54:43 273 EXAMINE "Tasks"
19:54:43 274 UID FETCH 1:* FLAGS
19:54:43 275 EXAMINE "Sent Items"
19:54:43 276 UID FETCH 15933:* FLAGS
19:54:43 277 EXAMINE "Sent"
19:54:43 278 UID FETCH 1:* FLAGS
19:54:43 279 EXAMINE "Outbox"
19:54:43 280 UID FETCH 1:* FLAGS
19:54:43 281 EXAMINE "Notes"
19:54:43 282 UID FETCH 1:* FLAGS
19:54:43 283 EXAMINE "Junk E-Mail"
19:54:43 284 UID FETCH 1168:* FLAGS
19:54:43 285 EXAMINE "Journal"
19:54:43 286 UID FETCH 1:* FLAGS
19:54:43 287 EXAMINE "Drafts"
19:54:43 288 UID FETCH 21238:* FLAGS
19:54:43 289 EXAMINE "Deleted Items"
19:54:43 290 UID FETCH 5220:* FLAGS
19:54:43 291 EXAMINE "[Google Mail]/Sent Mail"
19:54:43 292 UID FETCH 1267:* FLAGS
19:54:43 293 EXAMINE "Sent Messages"
19:54:43 294 UID FETCH 298:* FLAGS
19:54:43 295 EXAMINE "INBOX"
19:54:43 296 UID FETCH 2255:* FLAGS
19:54:43 297 EXAMINE "[Google Mail]/Starred"
19:54:43 298 UID FETCH 1:* FLAGS
19:54:43 299 EXAMINE "[Google Mail]/Drafts"
19:54:43 300 UID FETCH 1:* FLAGS
19:54:43 301 EXAMINE "[Google Mail]/Trash"
19:54:43 302 UID FETCH 1866:* FLAGS
19:54:43 303 EXAMINE "[Google Mail]/Spam"
19:54:43 304 UID FETCH 375:* FLAGS
19:54:43 305 EXAMINE "[Google Mail]/Important"
19:54:43 306 UID FETCH 163:* FLAGS
19:54:43 307 EXAMINE "[Google Mail]/All Mail"
19:54:43 308 UID FETCH 6183:* FLAGS
19:54:43 309 SELECT "[Google Mail]"
19:54:43 310 UID FETCH 1:* FLAGS
19:54:43 311 EXAMINE "Notes"
19:54:43 312 UID FETCH 1:* FLAGS
19:54:43 313 EXAMINE "Drafts"
19:54:43 314 UID FETCH 1078:* FLAGS
19:54:43 315 EXAMINE "Deleted Messages"
19:54:43 316 UID FETCH 1386:* FLAGS
19:57:43 317 EXAMINE "Contacts"
19:57:43 318 UID FETCH 1:* FLAGS
19:57:43 319 EXAMINE "Sent Messages"
19:57:43 320 UID FETCH 30454:* FLAGS
19:57:43 321 EXAMINE "INBOX"
19:57:43 322 UID FETCH 10729:* FLAGS
19:57:43 323 EXAMINE "Calendar"
19:57:43 324 UID FETCH 1:* FLAGS
19:57:43 325 EXAMINE "Tasks"
19:57:43 326 UID FETCH 1:* FLAGS
19:57:43 327 EXAMINE "Sent Items"
19:57:43 328 UID FETCH 15933:* FLAGS
19:57:43 329 EXAMINE "Sent"
19:57:43 330 UID FETCH 1:* FLAGS
19:57:43 331 EXAMINE "Outbox"
19:57:43 332 UID FETCH 1:* FLAGS
19:57:43 333 EXAMINE "Notes"
19:57:43 334 UID FETCH 1:* FLAGS
19:57:43 335 EXAMINE "Junk E-Mail"
19:57:43 336 UID FETCH 1168:* FLAGS
19:57:43 337 EXAMINE "Journal"
19:57:43 338 UID FETCH 1:* FLAGS
19:57:43 339 EXAMINE "Drafts"
19:57:43 340 UID FETCH 21240:* FLAGS
19:57:43 341 EXAMINE "Deleted Items"
19:57:43 342 UID FETCH 5220:* FLAGS
19:57:43 343 EXAMINE "[Google Mail]/Sent Mail"
19:57:43 344 UID FETCH 1267:* FLAGS
19:57:43 345 EXAMINE "Sent Messages"
19:57:43 346 UID FETCH 298:* FLAGS
19:57:43 347 EXAMINE "INBOX"
19:57:43 348 UID FETCH 2255:* FLAGS
19:57:43 349 EXAMINE "[Google Mail]/Starred"
19:57:43 350 UID FETCH 1:* FLAGS
19:57:43 351 EXAMINE "[Google Mail]/Drafts"
19:57:43 352 UID FETCH 1:* FLAGS
19:57:43 353 EXAMINE "[Google Mail]/Trash"
19:57:43 354 UID FETCH 1866:* FLAGS
19:57:43 355 EXAMINE "[Google Mail]/Spam"
19:57:43 356 UID FETCH 375:* FLAGS
19:57:43 357 EXAMINE "[Google Mail]/Important"
19:57:43 358 UID FETCH 163:* FLAGS
19:57:43 359 EXAMINE "[Google Mail]/All Mail"
19:57:43 360 UID FETCH 6183:* FLAGS
19:57:43 361 SELECT "[Google Mail]"
19:57:43 362 UID FETCH 1:* FLAGS
19:57:43 363 EXAMINE "Notes"
19:57:43 364 UID FETCH 1:* FLAGS
19:57:43 365 EXAMINE "Drafts"
19:57:43 366 UID FETCH 1078:* FLAGS
19:57:43 367 EXAMINE "Deleted Messages"
19:57:43 368 UID FETCH 1386:* FLAGS
19:58:43 369 EXAMINE "Contacts"
19:58:43 370 UID FETCH 1:* FLAGS
19:58:43 371 EXAMINE "Sent Messages"
19:58:43 372 UID FETCH 30454:* FLAGS
19:58:43 373 EXAMINE "INBOX"
19:58:43 374 UID FETCH 10729:* FLAGS
19:58:43 375 EXAMINE "Calendar"
19:58:43 376 UID FETCH 1:* FLAGS
19:58:43 377 EXAMINE "Tasks"
19:58:43 378 UID FETCH 1:* FLAGS
19:58:43 379 EXAMINE "Sent Items"
19:58:43 380 UID FETCH 15933:* FLAGS
19:58:43 381 EXAMINE "Sent"
19:58:43 382 UID FETCH 1:* FLAGS
19:58:43 383 EXAMINE "Outbox"
19:58:43 384 UID FETCH 1:* FLAGS
19:58:43 385 EXAMINE "Notes"
19:58:43 386 UID FETCH 1:* FLAGS
19:58:43 387 EXAMINE "Junk E-Mail"
19:58:43 388 UID FETCH 1168:* FLAGS
19:58:43 389 EXAMINE "Journal"
19:58:43 390 UID FETCH 1:* FLAGS
19:58:43 391 EXAMINE "Drafts"
19:58:43 392 UID FETCH 21244:* FLAGS
19:58:43 393 EXAMINE "Deleted Items"
19:58:43 394 UID FETCH 5220:* FLAGS
19:58:43 395 EXAMINE "[Google Mail]/Sent Mail"
19:58:43 396 UID FETCH 1267:* FLAGS
19:58:43 397 EXAMINE "Sent Messages"
19:58:43 398 UID FETCH 298:* FLAGS
19:58:43 399 EXAMINE "INBOX"
19:58:43 400 UID FETCH 2255:* FLAGS
19:58:43 401 EXAMINE "[Google Mail]/Starred"
19:58:43 402 UID FETCH 1:* FLAGS
19:58:43 403 EXAMINE "[Google Mail]/Drafts"
19:58:43 404 UID FETCH 1:* FLAGS
19:58:43 405 EXAMINE "[Google Mail]/Trash"
19:58:43 406 UID FETCH 1866:* FLAGS
19:58:43 407 EXAMINE "[Google Mail]/Spam"
19:58:43 408 UID FETCH 375:* FLAGS
19:58:43 409 EXAMINE "[Google Mail]/Important"
19:58:43 410 UID FETCH 163:* FLAGS
19:58:43 411 EXAMINE "[Google Mail]/All Mail"
19:58:43 412 UID FETCH 6183:* FLAGS
19:58:43 413 SELECT "[Google Mail]"
19:58:43 414 UID FETCH 1:* FLAGS
19:58:43 415 EXAMINE "Notes"
19:58:43 416 UID FETCH 1:* FLAGS
19:58:43 417 EXAMINE "Drafts"
19:58:43 418 UID FETCH 1078:* FLAGS
19:58:43 419 EXAMINE "Deleted Messages"
19:58:43 420 UID FETCH 1386:* FLAGS
19:59:43 421 EXAMINE "Contacts"
19:59:43 422 UID FETCH 1:* FLAGS
19:59:43 423 EXAMINE "Sent Messages"
19:59:43 424 UID FETCH 30454:* FLAGS
19:59:43 425 EXAMINE "INBOX"
19:59:43 426 UID FETCH 10729:* FLAGS
19:59:43 427 EXAMINE "Calendar"
19:59:43 428 UID FETCH 1:* FLAGS
19:59:43 429 EXAMINE "Tasks"
19:59:43 430 UID FETCH 1:* FLAGS
19:59:43 431 EXAMINE "Sent Items"
19:59:43 432 UID FETCH 15933:* FLAGS
19:59:43 433 EXAMINE "Sent"
19:59:43 434 UID FETCH 1:* FLAGS
19:59:43 435 EXAMINE "Outbox"
19:59:43 436 UID FETCH 1:* FLAGS
19:59:43 437 EXAMINE "Notes"
19:59:43 438 UID FETCH 1:* FLAGS
19:59:43 439 EXAMINE "Junk E-Mail"
19:59:43 440 UID FETCH 1168:* FLAGS
19:59:43 441 EXAMINE "Journal"
19:59:43 442 UID FETCH 1:* FLAGS
19:59:43 443 EXAMINE "Drafts"
19:59:43 444 UID FETCH 21244:* FLAGS
19:59:43 445 EXAMINE "Deleted Items"
19:59:43 446 UID FETCH 5220:* FLAGS
19:59:43 447 EXAMINE "[Google Mail]/Sent Mail"
19:59:43 448 UID FETCH 1267:* FLAGS
19:59:43 449 EXAMINE "Sent Messages"
19:59:43 450 UID FETCH 298:* FLAGS
19:59:43 451 EXAMINE "INBOX"
19:59:43 452 UID FETCH 2255:* FLAGS
19:59:43 453 EXAMINE "[Google Mail]/Starred"
19:59:43 454 UID FETCH 1:* FLAGS
19:59:43 455 EXAMINE "[Google Mail]/Drafts"
19:59:43 456 UID FETCH 1:* FLAGS
19:59:43 457 EXAMINE "[Google Mail]/Trash"
19:59:43 458 UID FETCH 1866:* FLAGS
19:59:43 459 EXAMINE "[Google Mail]/Spam"
19:59:43 460 UID FETCH 375:* FLAGS
19:59:43 461 EXAMINE "[Google Mail]/Important"
19:59:43 462 UID FETCH 163:* FLAGS
19:59:43 463 EXAMINE "[Google Mail]/All Mail"
19:59:43 464 UID FETCH 6183:* FLAGS
19:59:43 465 SELECT "[Google Mail]"
19:59:43 466 UID FETCH 1:* FLAGS
19:59:43 467 EXAMINE "Notes"
19:59:43 468 UID FETCH 1:* FLAGS
19:59:43 469 EXAMINE "Drafts"
19:59:43 470 UID FETCH 1078:* FLAGS
19:59:43 471 EXAMINE "Deleted Messages"
19:59:43 472 UID FETCH 1386:* FLAGS
20:00:43 473 EXAMINE "Contacts"
20:00:43 474 UID FETCH 1:* FLAGS
20:00:43 475 EXAMINE "Sent Messages"
20:00:43 476 UID FETCH 30454:* FLAGS
20:00:43 477 EXAMINE "INBOX"
20:00:43 478 UID FETCH 10729:* FLAGS
20:00:43 479 EXAMINE "Calendar"
20:00:43 480 UID FETCH 1:* FLAGS
20:00:43 481 EXAMINE "Tasks"
20:00:43 482 UID FETCH 1:* FLAGS
20:00:43 483 EXAMINE "Sent Items"
20:00:43 484 UID FETCH 15933:* FLAGS
20:00:43 485 EXAMINE "Sent"
20:00:43 486 UID FETCH 1:* FLAGS
20:00:43 487 EXAMINE "Outbox"
20:00:43 488 UID FETCH 1:* FLAGS
20:00:43 489 EXAMINE "Notes"
20:00:43 490 UID FETCH 1:* FLAGS
20:00:43 491 EXAMINE "Junk E-Mail"
20:00:43 492 UID FETCH 1168:* FLAGS
20:00:43 493 EXAMINE "Journal"
20:00:43 494 UID FETCH 1:* FLAGS
20:00:43 495 EXAMINE "Drafts"
20:00:43 496 UID FETCH 21244:* FLAGS
20:00:43 497 EXAMINE "Deleted Items"
20:00:43 498 UID FETCH 5220:* FLAGS
20:00:43 499 EXAMINE "[Google Mail]/Sent Mail"
20:00:43 500 UID FETCH 1267:* FLAGS
20:00:43 501 EXAMINE "Sent Messages"
20:00:43 502 UID FETCH 298:* FLAGS
20:00:43 503 EXAMINE "INBOX"
20:00:43 504 UID FETCH 2255:* FLAGS
20:00:43 505 EXAMINE "[Google Mail]/Starred"
20:00:43 506 UID FETCH 1:* FLAGS
20:00:43 507 EXAMINE "[Google Mail]/Drafts"
20:00:43 508 UID FETCH 1:* FLAGS
20:00:43 509 EXAMINE "[Google Mail]/Trash"
20:00:43 510 UID FETCH 1866:* FLAGS
20:00:43 511 EXAMINE "[Google Mail]/Spam"
20:00:43 512 UID FETCH 375:* FLAGS
20:00:43 513 EXAMINE "[Google Mail]/Important"
20:00:43 514 UID FETCH 163:* FLAGS
20:00:43 515 EXAMINE "[Google Mail]/All Mail"
20:00:43 516 UID FETCH 6183:* FLAGS
20:00:43 517 SELECT "[Google Mail]"
20:00:43 518 UID FETCH 1:* FLAGS
20:00:43 519 EXAMINE "Notes"
20:00:43 520 UID FETCH 1:* FLAGS
20:00:43 521 EXAMINE "Drafts"
20:00:43 522 UID FETCH 1078:* FLAGS
20:00:43 523 EXAMINE "Deleted Messages"
20:00:43 524 UID FETCH 1386:* FLAGS
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnus: Sending email from an IMAP account: "Process smtpmail not running"
2011-11-20 19:26 Gnus: Sending email from an IMAP account: "Process smtpmail not running" Marius Hofert
@ 2011-11-20 19:56 ` Tassilo Horn
0 siblings, 0 replies; 5+ messages in thread
From: Tassilo Horn @ 2011-11-20 19:56 UTC (permalink / raw
To: help-gnu-emacs
Marius Hofert <marius.hofert@math.ethz.ch> writes:
Hi Marius,
> With the (great) help of Tassilo Horn, I was able to set up gnus to
> read email with an IMAP account
Thanks for the compliments. :-)
> At the moment, I try to set it up to *send* email, but I receive
> "Process smtpmail not running".
For sending mail, you need to configure Gnus to use some SMTP server
(unless you have some working sendmail running) like this:
(setq send-mail-function 'smtpmail-send-it
message-send-mail-function 'message-smtpmail-send-it
smtpmail-smtp-server "smtp.gmail.com")
> In ~/.authinfo, I specified the login details as follows:
> machine imap.googlemail.com login my.name@googlemail.com port imaps password ....
> machine mail.uni.edu login mylogin port imaps password ....
You probably need to add
machine smtp.gmail.com login my.name@googlemail.com port imaps password ....
as well.
I'm not sure if gmail's smtp allows relaying, i.e., sending mail when
you use your "uni.edu" mail address in the From header. If it doesn't,
try if your university's smtp allows it. If not, you need to add some
customization for selecting the right server dynamically when sending
mail. I think, that's documented somewhere on EmacsWiki.
Bye,
Tassilo
--
(What the world needs (I think) is not
(a Lisp (with fewer parentheses))
but (an English (with more.)))
Brian Hayes, http://tinyurl.com/3y9l2kf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnus: Sending email from an IMAP account: "Process smtpmail not running"
@ 2011-11-20 20:32 Marius Hofert
2011-11-20 23:22 ` Marius Hofert
0 siblings, 1 reply; 5+ messages in thread
From: Marius Hofert @ 2011-11-20 20:32 UTC (permalink / raw
To: tassilo; +Cc: Emacs help
Dear Tassilo,
many thanks for helping :-)
I added the line to .authinfo and the three lines to .gnus.el. I then tried to send emails from both my accounts and obtained (in both cases):
"Sending failed: 530 5.7.0 Must issue a STARTTLS command first. l18sm13222866fab.9"
I then tried it with...
(setq send-mail-function 'smtpmail-send-it
message-send-mail-function 'message-smtpmail-send-it
smtpmail-smtp-server "mail.uni.edu")
... but obtained again "Process smtpmail not running".
Cheers,
Marius
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnus: Sending email from an IMAP account: "Process smtpmail not running"
2011-11-20 20:32 Marius Hofert
@ 2011-11-20 23:22 ` Marius Hofert
2011-11-21 8:33 ` Tassilo Horn
0 siblings, 1 reply; 5+ messages in thread
From: Marius Hofert @ 2011-11-20 23:22 UTC (permalink / raw
To: tassilo; +Cc: Emacs help
Okay, I finally figured something out:
1) I needed STARTTLS. This I could not find for Mac OS X, but it's contained in gnutls. I wanted to install the latest version, but that failed due to some missing file libnette... . I then used macports to install gnutls -- not a very new version, but it did the job.
2) .gnus.el [so that was correct]:
(setq send-mail-function 'smtpmail-send-it
message-send-mail-function 'message-smtpmail-send-it
smtpmail-smtp-server "smtp.gmail.com")
3) When trying to send an email from my gmail account to my other account, I was asked for the user name and password. Apparently the info in .authinfo was not correct. Indeed, I had the full gmail address instead of just the login. So the correct version is (with the usual replacements):
machine mail.uni.edu login mylogin port imaps password ...
machine imap.googlemail.com login my.name port imaps password ...
machine smtp.gmail.com login my.name port smtp password ...
=> Note the different port for smtp.gmail.com.
4) I also tried sending emails from my other (non-gmail) account and it worked.
Remaining questions I have (since I'm not fully understanding what I am doing) are:
1) Are there any disadvantages in using smtp.gmail.com for sending emails from my non-gmail account?
As far as I understood, gmail then takes care of saving sent mails [which would actually be good since the other account may change every once in a while]
2) How could I set up a second smtp server? Can I just add a line like
smtpmail-smtp-server "mail.uni.edu" under 2) ?
3) What's the best way to get notified of new mail? I found:
3.1) gnus-notify.el
3.2) GnusBiff (see http://www.emacswiki.org/emacs/GnusBiff) set up via growl (see http://stackoverflow.com/questions/1053245/new-mail-notifications-in-gnus-for-emacs)
Is there also a way to get notified via a sound?
Cheers,
Marius
On 2011-11-20, at 21:32 , Marius Hofert wrote:
> Dear Tassilo,
>
> many thanks for helping :-)
>
> I added the line to .authinfo and the three lines to .gnus.el. I then tried to send emails from both my accounts and obtained (in both cases):
> "Sending failed: 530 5.7.0 Must issue a STARTTLS command first. l18sm13222866fab.9"
>
> I then tried it with...
>
> (setq send-mail-function 'smtpmail-send-it
> message-send-mail-function 'message-smtpmail-send-it
> smtpmail-smtp-server "mail.uni.edu")
>
> ... but obtained again "Process smtpmail not running".
>
> Cheers,
>
> Marius
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnus: Sending email from an IMAP account: "Process smtpmail not running"
2011-11-20 23:22 ` Marius Hofert
@ 2011-11-21 8:33 ` Tassilo Horn
0 siblings, 0 replies; 5+ messages in thread
From: Tassilo Horn @ 2011-11-21 8:33 UTC (permalink / raw
To: help-gnu-emacs
Marius Hofert <marius.hofert@math.ethz.ch> writes:
Hi Marius,
> Remaining questions I have (since I'm not fully understanding what I am doing) are:
> 1) Are there any disadvantages in using smtp.gmail.com for sending
> emails from my non-gmail account?
No, not really.
> As far as I understood, gmail then takes care of saving sent mails
> [which would actually be good since the other account may change every
> once in a while]
If you want sent mails you've sent with your univerity's address to show
up there in sent-mail or somewhere else, have a look at the `gcc-self'
group parameter. You can set it either to some fixed group (like
nnimap+Uni:sent-mail), but there's more flexibility. For example, all
my sent mails go into the groups where I replied from or started writing
in. So my mail conversations look exactly like newsgroup threads
(except for mailing lists, where the sent mails go into a the
corresponding account's sent-mail folder).
> 2) How could I set up a second smtp server? Can I just add a line like
> smtpmail-smtp-server "mail.uni.edu" under 2) ?
No, that would override the former.
You can do so using some the external MSMTP program
(http://www.emacswiki.org/emacs/GnusMSMTP) or directly in Gnus using a
small bit of elisp foo. For example, that's what I've used some nix
before.
http://paste.lisp.org/display/50396
> 3) What's the best way to get notified of new mail? I found:
> 3.1) gnus-notify.el
> 3.2) GnusBiff (see http://www.emacswiki.org/emacs/GnusBiff) set up via growl
> (see
> http://stackoverflow.com/questions/1053245/new-mail-notifications-in-gnus-for-emacs)
> Is there also a way to get notified via a sound?
I simply switch to *Group* from time to time. :-)
Bye,
Tassilo
--
(What the world needs (I think) is not
(a Lisp (with fewer parentheses))
but (an English (with more.)))
Brian Hayes, http://tinyurl.com/3y9l2kf
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-11-21 8:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-20 19:26 Gnus: Sending email from an IMAP account: "Process smtpmail not running" Marius Hofert
2011-11-20 19:56 ` Tassilo Horn
-- strict thread matches above, loose matches on Subject: below --
2011-11-20 20:32 Marius Hofert
2011-11-20 23:22 ` Marius Hofert
2011-11-21 8:33 ` Tassilo Horn
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.