LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2011, 09:07 AM   #1
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 289

Rep: Reputation: 10
Why fetchmail asks for a SMTP server when working with IMAP? ??


Hi folks,

I configured fetchmail to downlaoad my gmail account mails.


poll imap.gmail.com protocol IMAP
user "07anis@gmail.com" is anish here
password 'XXXXXXXX'
#folder 'INBOX'
fetchlimit 1
keep
ssl

this is my exact configuration in .fetchmilrc configuration file.
but when i execute fetch -v command it shows

fetchmail: WARNING: Running as root is discouraged.
fetchmail: 6.3.6 querying imap.gmail.com (protocol IMAP) at Mon 14 Feb 2011 12:13:18 AM IST: poll started
Trying to connect to 74.125.115.109/993...connected.
fetchmail: Issuer Organization: Google Inc
fetchmail: Issuer CommonName: Google Internet Authority
fetchmail: Server CommonName: imap.gmail.com
fetchmail: imap.gmail.com key fingerprint: F4:3C:F0:30:6A:034:5B:C8:5B:6E:11:ED:19:1D:A6
fetchmail: IMAP< * OK Gimap ready for requests from 117.193.160.237 m24if3257320vbr.20
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA XLIST CHILDREN XYZZY SASL-IR AUTH=XOAUTH
fetchmail: IMAP< A0001 OK Thats all she wrote! m24if3257320vbr.20
fetchmail: IMAP> A0002 LOGIN "07anis@gmail.com" *
fetchmail: IMAP< * CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE
fetchmail: IMAP< A0002 OK 07anis@gmail.com authenticated (Success)
fetchmail: IMAP> A0003 SELECT "INBOX"
fetchmail: IMAP< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
fetchmail: IMAP< * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
fetchmail: IMAP< * OK [UIDVALIDITY 2]
fetchmail: IMAP< * 396 EXISTS
fetchmail: IMAP< * 0 RECENT
fetchmail: IMAP< * OK [UIDNEXT 27210]
fetchmail: IMAP< A0003 OK [READ-WRITE] INBOX selected. (Success)
fetchmail: IMAP> A0004 SEARCH UNSEEN NOT DELETED
fetchmail: IMAP< * SEARCH 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 250 252 256 257 258 260 261 263 265 266 279 280 282 287 288 289 290 291 292 293 294 295 296 297 300 301 304 329 330 331 333 334 335 336 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396
fetchmail: IMAP< A0004 OK SEARCH completed (Success)
396 messages (260 seen) for 07anis@gmail.com at imap.gmail.com.
skipping message 07anis@gmail.com@gmail-imap.l.google.com:1 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:2 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:3 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:4 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:5 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:6 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:7 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:8 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:9 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:10 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:11 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:12 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:13 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:14 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:15 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:16 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:17 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:18 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:19 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:20 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:21 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:22 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:23 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:24 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:25 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:26 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:27 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:28 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:29 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:30 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:31 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:32 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:33 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:34 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:35 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:36 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:37 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:38 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:39 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:40 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:41 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:42 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:43 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:44 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:45 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:46 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:47 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:48 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:49 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:50 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:51 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:52 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:53 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:54 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:55 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:56 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:57 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:58 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:59 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:60 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:61 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:62 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:63 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:64 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:65 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:66 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:67 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:68 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:69 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:70 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:71 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:72 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:73 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:74 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:75 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:76 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:77 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:78 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:79 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:80 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:81 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:82 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:83 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:84 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:85 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:86 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:87 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:88 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:89 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:90 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:91 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:92 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:93 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:94 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:95 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:96 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:97 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:98 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:99 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:100 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:101 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:102 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:103 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:104 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:105 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:106 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:107 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:108 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:109 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:110 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:111 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:112 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:113 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:114 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:115 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:116 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:117 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:118 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:119 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:120 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:121 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:122 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:123 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:124 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:125 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:126 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:127 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:128 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:129 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:130 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:131 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:132 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:133 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:134 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:135 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:136 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:137 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:138 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:139 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:140 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:141 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:142 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:143 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:144 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:145 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:146 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:147 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:148 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:149 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:150 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:151 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:152 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:153 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:154 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:155 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:156 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:157 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:158 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:159 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:160 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:161 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:162 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:163 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:164 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:165 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:166 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:167 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:168 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:169 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:170 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:171 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:172 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:173 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:174 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:175 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:176 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:177 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:178 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:179 not flushed
skipping message 07anis@gmail.com@gmail-imap.l.google.com:180 not flushed
fetchmail: IMAP> A0005 FETCH 181:280 RFC822.SIZE
fetchmail: IMAP< * 181 FETCH (RFC822.SIZE 7713)
fetchmail: IMAP< * 182 FETCH (RFC822.SIZE 7869)
fetchmail: IMAP< * 183 FETCH (RFC822.SIZE 10753)
fetchmail: IMAP< * 184 FETCH (RFC822.SIZE 25058)
fetchmail: IMAP< * 185 FETCH (RFC822.SIZE 863542)
fetchmail: IMAP< * 186 FETCH (RFC822.SIZE 20898)
fetchmail: IMAP< * 187 FETCH (RFC822.SIZE 1338878)
fetchmail: IMAP< * 188 FETCH (RFC822.SIZE 9494)
fetchmail: IMAP< * 189 FETCH (RFC822.SIZE 18070)
fetchmail: IMAP< * 190 FETCH (RFC822.SIZE 7783)
fetchmail: IMAP< * 191 FETCH (RFC822.SIZE 1743)
fetchmail: IMAP< * 192 FETCH (RFC822.SIZE 8989)
fetchmail: IMAP< * 193 FETCH (RFC822.SIZE 6531)
fetchmail: IMAP< * 194 FETCH (RFC822.SIZE 6583)
fetchmail: IMAP< * 195 FETCH (RFC822.SIZE 6561)
fetchmail: IMAP< * 196 FETCH (RFC822.SIZE 6566)
fetchmail: IMAP< * 197 FETCH (RFC822.SIZE 3121)
fetchmail: IMAP< * 198 FETCH (RFC822.SIZE 7807)
fetchmail: IMAP< * 199 FETCH (RFC822.SIZE 7885)
fetchmail: IMAP< * 200 FETCH (RFC822.SIZE 33267)
fetchmail: IMAP< * 201 FETCH (RFC822.SIZE 1849361)
fetchmail: IMAP< * 202 FETCH (RFC822.SIZE 7260)
fetchmail: IMAP< * 203 FETCH (RFC822.SIZE 6701)
fetchmail: IMAP< * 204 FETCH (RFC822.SIZE 19194)
fetchmail: IMAP< * 205 FETCH (RFC822.SIZE 7775)
fetchmail: IMAP< * 206 FETCH (RFC822.SIZE 9516)
fetchmail: IMAP< * 207 FETCH (RFC822.SIZE 7890)
fetchmail: IMAP< * 208 FETCH (RFC822.SIZE 7789)
fetchmail: IMAP< * 209 FETCH (RFC822.SIZE 58262)
fetchmail: IMAP< * 210 FETCH (RFC822.SIZE 183935)
fetchmail: IMAP< * 211 FETCH (RFC822.SIZE 3684)
fetchmail: IMAP< * 212 FETCH (RFC822.SIZE 5836)
fetchmail: IMAP< * 213 FETCH (RFC822.SIZE 5827)
fetchmail: IMAP< * 214 FETCH (RFC822.SIZE 181435)
fetchmail: IMAP< * 215 FETCH (RFC822.SIZE 48112)
fetchmail: IMAP< * 216 FETCH (RFC822.SIZE 39780)
fetchmail: IMAP< * 217 FETCH (RFC822.SIZE 18424)
fetchmail: IMAP< * 218 FETCH (RFC822.SIZE 6381)
fetchmail: IMAP< * 219 FETCH (RFC822.SIZE 14765)
fetchmail: IMAP< * 220 FETCH (RFC822.SIZE 14761)
fetchmail: IMAP< * 221 FETCH (RFC822.SIZE 8870)
fetchmail: IMAP< * 222 FETCH (RFC822.SIZE 4213)
fetchmail: IMAP< * 223 FETCH (RFC822.SIZE 31741)
fetchmail: IMAP< * 224 FETCH (RFC822.SIZE 5179)
fetchmail: IMAP< * 225 FETCH (RFC822.SIZE 36814)
fetchmail: IMAP< * 226 FETCH (RFC822.SIZE 6715)
fetchmail: IMAP< * 227 FETCH (RFC822.SIZE 6556)
fetchmail: IMAP< * 228 FETCH (RFC822.SIZE 6560)
fetchmail: IMAP< * 229 FETCH (RFC822.SIZE 21351)
fetchmail: IMAP< * 230 FETCH (RFC822.SIZE 30094)
fetchmail: IMAP< * 231 FETCH (RFC822.SIZE 101017)
fetchmail: IMAP< * 232 FETCH (RFC822.SIZE 9496)
fetchmail: IMAP< * 233 FETCH (RFC822.SIZE 20504)
fetchmail: IMAP< * 234 FETCH (RFC822.SIZE 37098)
fetchmail: IMAP< * 235 FETCH (RFC822.SIZE 6565)
fetchmail: IMAP< * 236 FETCH (RFC822.SIZE 21586)
fetchmail: IMAP< * 237 FETCH (RFC822.SIZE 19014)
fetchmail: IMAP< * 238 FETCH (RFC822.SIZE 9002)
fetchmail: IMAP< * 239 FETCH (RFC822.SIZE 52112)
fetchmail: IMAP< * 240 FETCH (RFC822.SIZE 11516)
fetchmail: IMAP< * 241 FETCH (RFC822.SIZE 29676)
fetchmail: IMAP< * 242 FETCH (RFC822.SIZE 22525)
fetchmail: IMAP< * 243 FETCH (RFC822.SIZE 24774)
fetchmail: IMAP< * 244 FETCH (RFC822.SIZE 30792)
fetchmail: IMAP< * 245 FETCH (RFC822.SIZE 143944)
fetchmail: IMAP< * 246 FETCH (RFC822.SIZE 27309)
fetchmail: IMAP< * 247 FETCH (RFC822.SIZE 8105)
fetchmail: IMAP< * 248 FETCH (RFC822.SIZE 9664)
fetchmail: IMAP< * 249 FETCH (RFC822.SIZE 1696)
fetchmail: IMAP< * 250 FETCH (RFC822.SIZE 25831)
fetchmail: IMAP< * 251 FETCH (RFC822.SIZE 6781)
fetchmail: IMAP< * 252 FETCH (RFC822.SIZE 42701)
fetchmail: IMAP< * 253 FETCH (RFC822.SIZE 9427)
fetchmail: IMAP< * 254 FETCH (RFC822.SIZE 3821)
fetchmail: IMAP< * 255 FETCH (RFC822.SIZE 37371)
fetchmail: IMAP< * 256 FETCH (RFC822.SIZE 20650)
fetchmail: IMAP< * 257 FETCH (RFC822.SIZE 38758)
fetchmail: IMAP< * 258 FETCH (RFC822.SIZE 1929)
fetchmail: IMAP< * 259 FETCH (RFC822.SIZE 5467196)
fetchmail: IMAP< * 260 FETCH (RFC822.SIZE 37608)
fetchmail: IMAP< * 261 FETCH (RFC822.SIZE 22039)
fetchmail: IMAP< * 262 FETCH (RFC822.SIZE 8677)
fetchmail: IMAP< * 263 FETCH (RFC822.SIZE 46059)
fetchmail: IMAP< * 264 FETCH (RFC822.SIZE 5501)
fetchmail: IMAP< * 265 FETCH (RFC822.SIZE 3676563)
fetchmail: IMAP< * 266 FETCH (RFC822.SIZE 8946)
fetchmail: IMAP< * 267 FETCH (RFC822.SIZE 6126)
fetchmail: IMAP< * 268 FETCH (RFC822.SIZE 6038)
fetchmail: IMAP< * 269 FETCH (RFC822.SIZE 7855)
fetchmail: IMAP< * 270 FETCH (RFC822.SIZE 674071)
fetchmail: IMAP< * 271 FETCH (RFC822.SIZE 13968)
fetchmail: IMAP< * 272 FETCH (RFC822.SIZE 33202)
fetchmail: IMAP< * 273 FETCH (RFC822.SIZE 7837)
fetchmail: IMAP< * 274 FETCH (RFC822.SIZE 17397)
fetchmail: IMAP< * 275 FETCH (RFC822.SIZE 6135)
fetchmail: IMAP< * 276 FETCH (RFC822.SIZE 53679)
fetchmail: IMAP< * 277 FETCH (RFC822.SIZE 6378)
fetchmail: IMAP< * 278 FETCH (RFC822.SIZE 10737)
fetchmail: IMAP< * 279 FETCH (RFC822.SIZE 24879)
fetchmail: IMAP< * 280 FETCH (RFC822.SIZE 13929)
fetchmail: IMAP< A0005 OK Success
fetchmail: IMAP> A0006 FETCH 181 RFC822.HEADER
fetchmail: IMAP< * 181 FETCH (RFC822.HEADER {2357}
reading message 07anis@gmail.com@gmail-imap.l.google.com:181 of 396 (2357 header octets)
Trying to connect to 127.0.0.1/25...connection failed.
fetchmail: connection to localhost:smtp [127.0.0.1/25] failed: Connection refused.
fetchmail: SMTP connect to localhost failed
fetchmail: IMAP> A0007 LOGOUT
fetchmail: IMAP< )
fetchmail: IMAP< A0006 OK Success
fetchmail: IMAP< * BYE LOGOUT Requested
fetchmail: IMAP< A0007 OK 73 good day (Success)
fetchmail: SMTP transaction error while fetching from 07anis@gmail.com@imap.gmail.com and delivering to SMTP host localhost
fetchmail: 6.3.6 querying imap.gmail.com (protocol IMAP) at Mon 14 Feb 2011 12:13:23 AM IST: poll completed
fetchmail: Query status=10 (SMTP)
fetchmail: normal termination, status 10

finally it shows SMTP transaction error....

Why fetchmail asks for a SMTP server when working with IMAP? ??

please guide me what mistake i did in my configuration file???


Thanks in Advance :-)
 
Old 02-13-2011, 09:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
because that's how fetchmail gets the emails into your actual mail file. SMTP should not be seen simply as a server you send emails to, but a way to move mail forwards using a push mechanism. fetchmail gets email, *pulling* it from imap etc, but then it still needs to *push* it somewhere, so it gives it to the local smtp server which is usually running by default for local mail only, and that will generally write it to /var/spool/mail/username or similar. That last bit is not fetchmails problem here, but the smtp server.
 
1 members found this post helpful.
Old 02-13-2011, 11:46 AM   #3
wpeckham
Senior Member
 
Registered: Apr 2010
Location: USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 1,656

Rep: Reputation: 580Reputation: 580Reputation: 580Reputation: 580Reputation: 580Reputation: 580
SMTP

To add verbage that MAY make it more clear: it is the LOCAL SMTP server, that one that fetchmail SENDS to, not the remote one it FETCHES from, that appears to be down or not responding.

Waht mail server are you running on your local machine?
 
1 members found this post helpful.
Old 02-14-2011, 02:43 AM   #4
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 289

Original Poster
Rep: Reputation: 10
Thumbs up Thanks guys :-)

I can able to download mails using Fetchmail.. now :-)

set bouncemail

poll pop.gmail.com protocol POP3 user "07anis@gmail.com" there with password "XXXXXX"

this is the exact code which i used.
 
  


Reply

Tags
email, fetchmail, imap, smtp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
relaying SMTP-server using authentication on a remote server using IMAP frater Programming 2 10-04-2010 02:55 AM
Server configuration for small office server, which smtp, pop imap server and backup whitelinux Linux - Server 4 04-06-2010 12:26 PM
Setting up an SMTP/IMAP mail server. swamprat SUSE / openSUSE 2 06-15-2007 10:02 AM
Fetchmail stalls at DNS lookup of smtp server Russell Griffiths Linux - Software 15 05-26-2006 12:49 PM
IMAP & SMTP running on a server htm Linux - Software 2 03-25-2004 08:42 PM


All times are GMT -5. The time now is 06:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration