Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 24
Recently my SuSE 7.3 Linux box has stopped receiving emails. This has always worked so I am unsure why it stopped. I am really struggling to get this working and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2003
    Posts
    19

    Problems with Fetchmail & Sendmail


    Recently my SuSE 7.3 Linux box has stopped receiving emails. This has always worked so I am unsure why it stopped. I am really struggling to get this working and I have posted my problem on 2 others forums without any come back.

    Initially I first found this out when a friend had sent an email and it hadn't arrived. I checked my remote mailbox and it was there. I then checked /var/mail and found a file called BOGUS.root.9hJ . I looked on the net for this and found that on deleting this file, the emails start to work.

    This however didn't cure my problem and so my emails in both of my accounts are building up.

    When I run Fetchmail manully through webmin I get the following messages (sorry for the length I just thought my info would help):



    Checking for mail on server(s) with command fetchmail -v -f /root/.fetchmailrc pop3.sniffout.com ..

    fetchmail: 5.9.0 querying pop3.sniffout.com (protocol POP3) at Wed Apr 2 19:22:38 2003
    fetchmail: POP3< +OK Microsoft POP3 Server Version: 5.5.1875.185.18 ready <189.1164354080@sniffout.com>
    fetchmail: POP3> CAPA
    fetchmail: POP3< -ERR Unrecognizable command. -- Valid commands are: USER AUTH QUIT.
    fetchmail: Unrecognizable command. -- Valid commands are: USER AUTH QUIT.
    fetchmail: POP3> USER casio
    fetchmail: POP3< +OK Waiting for password
    fetchmail: POP3> PASS *
    fetchmail: POP3< +OK Mailbox for casio has 185 messages.
    fetchmail: POP3> STAT
    fetchmail: POP3< +OK 185 868466
    fetchmail: POP3> LAST
    fetchmail: POP3< -ERR Unrecognizable command. -- Valid commands are: RSET NOOP STAT LIST RETR DELE TOP UIDL QUIT.
    fetchmail: Unrecognizable command. -- Valid commands are: RSET NOOP STAT LIST RETR DELE TOP UIDL QUIT.
    fetchmail: POP3> UIDL
    fetchmail: POP3< +OK 185 868096
    fetchmail: POP3< 1 6d100000.eml
    fetchmail: POP3< 2 07200000.eml
    fetchmail: POP3< 3 6d200000.eml
    fetchmail: POP3< 4 9e200000.eml
    fetchmail: POP3< 5 c4300000.eml
    fetchmail: POP3< 6 a6300000.eml
    fetchmail: POP3< 7 d7300000.eml
    fetchmail: POP3< 8 c9300000.eml
    fetchmail: POP3< 9 9a300000.eml
    fetchmail: POP3< 10 1b300000.eml
    fetchmail: POP3< 11 3c300000.eml
    fetchmail: POP3< 12 9d300000.eml
    fetchmail: POP3< 13 50500000.eml
    fetchmail: POP3< 14 76500000.eml
    fetchmail: POP3< 15 37500000.eml


    Admin Notice:
    ... Repeated ...
    (trimed for space and speed)


    fetchmail: POP3< 179 aa700000.eml
    fetchmail: POP3< 180 ba700000.eml
    fetchmail: POP3< 181 ca700000.eml
    fetchmail: POP3< 182 da700000.eml
    fetchmail: POP3< 183 ea700000.eml
    fetchmail: POP3< 184 fa700000.eml
    fetchmail: POP3< 185 0b700000.eml
    fetchmail: POP3< .
    185 messages (184 seen) for casio at pop3.sniffout.com (868466 octets).
    fetchmail: POP3> LIST
    fetchmail: POP3< +OK 185 868466
    fetchmail: POP3< 1 1851
    fetchmail: POP3< 2 2244
    fetchmail: POP3< 3 4710
    fetchmail: POP3< 4 2799
    fetchmail: POP3< 5 873
    fetchmail: POP3< 6 1274
    fetchmail: POP3< 7 1560
    fetchmail: POP3< 8 3943
    fetchmail: POP3< 9 1285
    fetchmail: POP3< 10 1370
    fetchmail: POP3< 11 7633
    fetchmail: POP3< 12 1350
    fetchmail: POP3< 13 14860
    fetchmail: POP3< 14 6961
    fetchmail: POP3< 15 2018


    Admin Notice:
    ... Repeated ...
    (trimed for space and speed)


    fetchmail: POP3< 179 3414
    fetchmail: POP3< 180 5868
    fetchmail: POP3< 181 1670
    fetchmail: POP3< 182 3271
    fetchmail: POP3< 183 5190
    fetchmail: POP3< 184 1637
    fetchmail: POP3< 185 1614
    fetchmail: POP3< .
    skipping message 1 (1851 octets) not flushed
    skipping message 2 (2244 octets) not flushed
    skipping message 3 (4710 octets) not flushed
    skipping message 4 (2799 octets) not flushed
    skipping message 5 (873 octets) not flushed
    skipping message 6 (1274 octets) not flushed
    skipping message 7 (1560 octets) not flushed
    skipping message 8 (3943 octets) not flushed
    skipping message 9 (1285 octets) not flushed
    skipping message 10 (1370 octets) not flushed
    skipping message 11 (7633 octets) not flushed
    skipping message 12 (1350 octets) not flushed
    skipping message 13 (14860 octets) not flushed
    skipping message 14 (6961 octets) not flushed
    skipping message 15 (2018 octets) not flushed


    Admin Notice:
    ... Repeated ...
    (trimed for space and speed)


    skipping message 179 (3414 octets) not flushed
    skipping message 180 (5868 octets) not flushed
    skipping message 181 (1670 octets) not flushed
    skipping message 182 (3271 octets) not flushed
    skipping message 183 (5190 octets) not flushed
    skipping message 184 (1637 octets) not flushed
    fetchmail: POP3> TOP 185 99999999
    fetchmail: POP3< +OK Headers + 99999999 lines.
    reading message 185 of 185 (1614 octets)
    fetchmail: SMTP< 220 kryptonite.homegroup ESMTP Sendmail 8.11.6/8.11.6/SuSE Linux 0.5; Wed, 2 Apr 2003 19:22:43 GMT
    fetchmail: SMTP> EHLO localhost
    fetchmail: SMTP< 250-kryptonite.homegroup Hello localhost [127.0.0.1], pleased to meet you
    fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
    fetchmail: SMTP< 250-8BITMIME
    fetchmail: SMTP< 250-SIZE
    fetchmail: SMTP< 250-DSN
    fetchmail: SMTP< 250-ONEX
    fetchmail: SMTP< 250-ETRN
    fetchmail: SMTP< 250-XUSR
    fetchmail: SMTP< 250 HELP
    fetchmail: SMTP> MAIL FROM:<nobody@london.jasonlambert.com> BODY=8BITMIME SIZE=1614
    fetchmail: SMTP< 250 2.1.0 <nobody@london.jasonlambert.com>... Sender ok
    fetchmail: SMTP> RCPT TO:<casio@localhost>
    fetchmail: SMTP< 451 4.0.0 Can't create transcript file ./xfh32JMhl01671: Permission denied
    fetchmail: SMTP error: 451 4.0.0 Can't create transcript file ./xfh32JMhl01671: Permission denied
    fetchmail: SMTP listener doesn't like recipient address `casio@localhost'
    fetchmail: SMTP> RCPT TO:<root@localhost>
    fetchmail: SMTP< 250 2.1.5 <root@localhost>... Recipient ok
    fetchmail: no address matches; forwarding to root.
    fetchmail: SMTP> DATA
    fetchmail: SMTP< 421 4.3.5 Unable to create data file: Permission denied
    fetchmail: SMTP> RSET
    fetchmail: SMTP< 250 2.0.0 Reset state
    not flushed
    fetchmail: POP3> QUIT
    fetchmail: POP3< +OK Signing off -- mailbox has 185 messages.
    fetchmail: SMTP> QUIT
    fetchmail: SMTP< 221 2.0.0 kryptonite.homegroup closing connection
    fetchmail: normal termination, status 0

    .. checking complete.


    please help me as I am not receiving my emails and I can't figure this out as the user casio does and has always existed on this system.


    Regards

    Casiodude

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    Hiya Casiodude.

    Thanks for the logs, they help diagnoise the problems better, nice one!

    The problem would appear to be a send mail permissions problem, as indicated by this line:
    Code:
    fetchmail&#58; SMTP< 451 4.0.0 Can't create transcript file ./xfh32JMhl01671&#58; Permission denied
    Try "chown root /var/spool/mqueue", or if sendmail is somehow running as a user other than root, try "chown USER /var/spool/mqueue", and performing the same actions on /var/spool/mail/, ensuring that the sendmail process has permissions to access the files in that directory.

    Also, I found someone having a similar problem, details of how they fixed it here: http://lugwash.washtenaw.cc.mi.us/li...0011/0094.html

    Let us know how you get on.

    Jason

  3. #3
    Just Joined!
    Join Date
    Apr 2003
    Posts
    19
    Thanks for the suggestion - This has partly worked as 2 of the 3 mail accounts do not grumble any more about permissions when I run fetchmail.


    However the 1 mail account (freeserve) is still giving me a problem. So far I have chown -R root:root mqueue (initally didn't cure any thing) so I then did chmod -R 666 mqueue. This made my sniffout account and my breathe account happy but not my freeserve one.

    I have also applied the above permission commands to /var/spool/mail

    Any Ideas and thanks again for the reply

    Regards

    CasioDue

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    can we have some more log files please?

  6. #5
    Just Joined!
    Join Date
    Apr 2003
    Posts
    19
    Here the log from fetchmail when trying to read the emails from freeserve:

    fetchmail: 5.9.0 querying pop.freeserve.net (protocol POP3) at Thu Apr 3 20:18:14 2003
    fetchmail: POP3< +OK POP3 server ready (cmailm2.svr.pol.co.uk)
    fetchmail: POP3> USER casson-smith.freeserve.co.uk
    fetchmail: POP3< +OK
    fetchmail: POP3> PASS *
    fetchmail: POP3< +OK
    fetchmail: POP3> STAT
    fetchmail: POP3< +OK 5 93072
    fetchmail: POP3> LAST
    fetchmail: POP3< +OK 0
    5 messages for casson-smith.freeserve.co.uk at pop.pol.net.uk (93072 octets).
    fetchmail: POP3> LIST
    fetchmail: POP3< +OK
    fetchmail: POP3< 1 75807
    fetchmail: POP3< 2 2081
    fetchmail: POP3< 3 1194
    fetchmail: POP3< 4 4067
    fetchmail: POP3< 5 9923
    fetchmail: POP3< .
    fetchmail: POP3> TOP 1 99999999
    fetchmail: POP3< +OK
    reading message 1 of 5 (75807 octets)
    fetchmail: SMTP< 220 kryptonite.homegroup ESMTP Sendmail 8.11.6/8.11.6/SuSE Linux 0.5; Thu, 3 Apr 2003 20:18:21 GMT
    fetchmail: SMTP> EHLO localhost
    fetchmail: SMTP< 250-kryptonite.homegroup Hello localhost [127.0.0.1], pleased to meet you
    fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
    fetchmail: SMTP< 250-8BITMIME
    fetchmail: SMTP< 250-SIZE
    fetchmail: SMTP< 250-DSN
    fetchmail: SMTP< 250-ONEX
    fetchmail: SMTP< 250-ETRN
    fetchmail: SMTP< 250-XUSR
    fetchmail: SMTP< 250 HELP
    fetchmail: SMTP> MAIL FROM:<email@maplin.co.uk> BODY=8BITMIME SIZE=75807
    fetchmail: SMTP< 250 2.1.0 <email@maplin.co.uk>... Sender ok
    fetchmail: SMTP> RCPT TO:<tim@localhost>
    fetchmail: SMTP< 451 4.0.0 Can't create transcript file ./xfh33KILk02014: Permission denied
    fetchmail: SMTP error: 451 4.0.0 Can't create transcript file ./xfh33KILk02014: Permission denied
    fetchmail: SMTP listener doesn't like recipient address `tim@localhost'
    fetchmail: SMTP> RCPT TO:<root@localhost>
    fetchmail: SMTP< 250 2.1.5 <root@localhost>... Recipient ok
    fetchmail: no address matches; forwarding to root.
    fetchmail: SMTP> DATA
    fetchmail: SMTP< 421 4.3.5 Unable to create data file: Permission denied
    fetchmail: SMTP> RSET
    fetchmail: SMTP< 250 2.0.0 Reset state
    .................................................. ........................ not flushed
    fetchmail: POP3> TOP 2 99999999
    fetchmail: POP3< +OK
    reading message 2 of 5 (2081 octets)
    fetchmail: SMTP> MAIL FROM:<mark@stancill.net> SIZE=2081
    fetchmail: SMTP< 250 2.1.0 <mark@stancill.net>... Sender ok
    fetchmail: SMTP> RCPT TO:<tim@localhost>
    fetchmail: SMTP< 451 4.0.0 Can't create transcript file ./xfh33KIWk02015: Permission denied
    fetchmail: SMTP error: 451 4.0.0 Can't create transcript file ./xfh33KIWk02015: Permission denied
    fetchmail: SMTP listener doesn't like recipient address `tim@localhost'
    fetchmail: SMTP> RCPT TO:<root@localhost>
    fetchmail: SMTP< 250 2.1.5 <root@localhost>... Recipient ok
    fetchmail: no address matches; forwarding to root.
    fetchmail: SMTP> DATA
    fetchmail: SMTP< 421 4.3.5 Unable to create data file: Permission denied
    fetchmail: SMTP> RSET
    fetchmail: SMTP< 250 2.0.0 Reset state
    not flushed
    fetchmail: POP3> TOP 3 99999999
    fetchmail: POP3< +OK
    reading message 3 of 5 (1194 octets)
    fetchmail: SMTP> MAIL FROM:<stancilluk@www.stancill.co.uk> SIZE=1194
    fetchmail: SMTP< 250 2.1.0 <stancilluk@www.stancill.co.uk>... Sender ok
    fetchmail: SMTP> RCPT TO:<tim@localhost>
    fetchmail: SMTP< 451 4.0.0 Can't create transcript file ./xfh33KIWk02016: Permission denied
    fetchmail: SMTP error: 451 4.0.0 Can't create transcript file ./xfh33KIWk02016: Permission denied
    fetchmail: SMTP listener doesn't like recipient address `tim@localhost'
    fetchmail: SMTP> RCPT TO:<root@localhost>
    fetchmail: SMTP< 250 2.1.5 <root@localhost>... Recipient ok
    fetchmail: no address matches; forwarding to root.
    fetchmail: SMTP> DATA
    fetchmail: SMTP< 421 4.3.5 Unable to create data file: Permission denied
    fetchmail: SMTP> RSET
    fetchmail: SMTP< 250 2.0.0 Reset state
    not flushed
    fetchmail: POP3> TOP 4 99999999
    fetchmail: POP3< +OK
    reading message 4 of 5 (4067 octets)
    fetchmail: SMTP> MAIL FROM:<admin@your-move.co.uk> SIZE=4067
    fetchmail: SMTP< 250 2.1.0 <admin@your-move.co.uk>... Sender ok
    fetchmail: SMTP> RCPT TO:<tim@localhost>
    fetchmail: SMTP< 451 4.0.0 Can't create transcript file ./xfh33KIWk02017: Permission denied
    fetchmail: SMTP error: 451 4.0.0 Can't create transcript file ./xfh33KIWk02017: Permission denied
    fetchmail: SMTP listener doesn't like recipient address `tim@localhost'
    fetchmail: SMTP> RCPT TO:<root@localhost>
    fetchmail: SMTP< 250 2.1.5 <root@localhost>... Recipient ok
    fetchmail: no address matches; forwarding to root.
    fetchmail: SMTP> DATA
    fetchmail: SMTP< 421 4.3.5 Unable to create data file: Permission denied
    fetchmail: SMTP> RSET
    fetchmail: SMTP< 250 2.0.0 Reset state
    ... not flushed
    fetchmail: POP3> TOP 5 99999999
    fetchmail: POP3< +OK
    reading message 5 of 5 (9923 octets)
    fetchmail: SMTP> MAIL FROM:<19988-return-72-64562077@lb.bcentral.com> SIZE=9923
    fetchmail: SMTP< 250 2.1.0 <19988-return-72-64562077@lb.bcentral.com>... Sender ok
    fetchmail: SMTP> RCPT TO:<tim@localhost>
    fetchmail: SMTP< 451 4.0.0 Can't create transcript file ./xfh33KIrk02018: Permission denied
    fetchmail: SMTP error: 451 4.0.0 Can't create transcript file ./xfh33KIrk02018: Permission denied
    fetchmail: SMTP listener doesn't like recipient address `tim@localhost'
    fetchmail: SMTP> RCPT TO:<root@localhost>
    fetchmail: SMTP< 250 2.1.5 <root@localhost>... Recipient ok
    fetchmail: no address matches; forwarding to root.
    fetchmail: SMTP> DATA
    fetchmail: SMTP< 421 4.3.5 Unable to create data file: Permission denied
    fetchmail: SMTP> RSET
    fetchmail: SMTP< 250 2.0.0 Reset state
    ........ not flushed
    fetchmail: POP3> QUIT
    fetchmail: POP3< +OK
    fetchmail: SMTP> QUIT
    fetchmail: SMTP< 221 2.0.0 kryptonite.homegroup closing connection
    fetchmail: normal termination, status 0

    .. checking complete.



    Also below are the permissions set to the /var/spool directories:

    31196 drw-rw-rw- 2 root root 4096 Apr 1 21:24 mail
    34807 drw-rw-rw- 3 root root 4096 Apr 3 18:37 mqueue

    Permissions for /var/spool/mail :

    31196 drw-rw-rw- 2 root root 4096 Apr 1 21:24 .
    187036 drwxr-xr-x 21 root root 4096 Dec 3 2001 ..
    39040 -rw-rw-rw- 1 root root 28865148 Mar 23 19:08 casio
    39800 -rw-rw-rw- 1 root root 410208 Apr 1 21:24 root
    39720 -rw-rw-rw- 1 root root 40907810 Mar 23 15:16 tim

    and permissions for /var/spool/mqueue :

    34807 drw-rw-rw- 3 root root 4096 Apr 3 18:37 .
    187036 drwxr-xr-x 21 root root 4096 Dec 3 2001 ..
    34808 drw-rw-rw- 9 root root 4096 Mar 9 16:09 .hoststat
    39758 -rw-rw-rw- 1 root root 478 Apr 3 18:26 Qfh33IQ4Q01512
    39775 -rw-rw-rw- 1 root root 1 Apr 3 18:26 dfh33IQ4Q01512


    Hope this helps!

    Regards

    Casiodude

  7. #6
    Just Joined!
    Join Date
    Apr 2003
    Posts
    19
    Sorry for mucking people about but I have just tried to run fetchmail for one of the other accounts again and I am getting this (again) :

    Checking for mail on server(s) with command fetchmail -v -f /root/.fetchmailrc pop3.sniffout.com ..

    fetchmail: 5.9.0 querying pop3.sniffout.com (protocol POP3) at Thu Apr 3 21:19:48 2003
    fetchmail: POP3< +OK Microsoft POP3 Server Version: 5.5.1875.185.18 ready <189.3438220848@sniffout.com>
    fetchmail: POP3> CAPA
    fetchmail: POP3< -ERR Unrecognizable command. -- Valid commands are: USER AUTH QUIT.
    fetchmail: Unrecognizable command. -- Valid commands are: USER AUTH QUIT.
    fetchmail: POP3> USER casio
    fetchmail: POP3< +OK Waiting for password
    fetchmail: POP3> PASS *
    fetchmail: POP3< +OK Mailbox for casio has 213 messages.
    fetchmail: POP3> STAT
    fetchmail: POP3< +OK 213 1001360
    fetchmail: POP3> LAST
    fetchmail: POP3< -ERR Unrecognizable command. -- Valid commands are: RSET NOOP STAT LIST RETR DELE TOP UIDL QUIT.
    fetchmail: Unrecognizable command. -- Valid commands are: RSET NOOP STAT LIST RETR DELE TOP UIDL QUIT.
    fetchmail: POP3> UIDL
    fetchmail: POP3< +OK 213 1000934
    fetchmail: POP3< 1 6d100000.eml
    fetchmail: POP3< 2 07200000.eml
    fetchmail: POP3< 3 6d200000.eml
    fetchmail: POP3< 4 9e200000.eml
    fetchmail: POP3< 5 c4300000.eml
    fetchmail: POP3< 6 a6300000.eml
    fetchmail: POP3< 7 d7300000.eml
    fetchmail: POP3< 8 c9300000.eml
    fetchmail: POP3< 9 9a300000.eml
    fetchmail: POP3< 10 1b300000.eml
    fetchmail: POP3< 11 3c300000.eml
    fetchmail: POP3< 12 9d300000.eml
    fetchmail: POP3< 13 50500000.eml
    fetchmail: POP3< 14 76500000.eml
    fetchmail: POP3< 15 37500000.eml


    Admin Notice:
    ... Repeated ...
    (trimed for space and speed)


    fetchmail: POP3< 179 aa700000.eml
    fetchmail: POP3< 180 ba700000.eml
    fetchmail: POP3< 181 ca700000.eml
    fetchmail: POP3< 182 da700000.eml
    fetchmail: POP3< 183 ea700000.eml
    fetchmail: POP3< 184 fa700000.eml
    fetchmail: POP3< 185 0b700000.eml
    fetchmail: POP3< 186 1b700000.eml
    fetchmail: POP3< 187 2b700000.eml
    fetchmail: POP3< 188 3b700000.eml
    fetchmail: POP3< 189 4b700000.eml
    fetchmail: POP3< 190 5b700000.eml
    fetchmail: POP3< 191 6b700000.eml
    fetchmail: POP3< 192 7b700000.eml
    fetchmail: POP3< 193 8b700000.eml
    fetchmail: POP3< 194 9b700000.eml
    fetchmail: POP3< 195 ab700000.eml
    fetchmail: POP3< 196 bb700000.eml
    fetchmail: POP3< 197 cb700000.eml
    fetchmail: POP3< 198 db700000.eml
    fetchmail: POP3< 199 eb700000.eml
    fetchmail: POP3< 200 fb700000.eml
    fetchmail: POP3< 201 0c700000.eml
    fetchmail: POP3< 202 1c700000.eml
    fetchmail: POP3< 203 2c700000.eml
    fetchmail: POP3< 204 3c700000.eml
    fetchmail: POP3< 205 4c700000.eml
    fetchmail: POP3< 206 5c700000.eml
    fetchmail: POP3< 207 6c700000.eml
    fetchmail: POP3< 208 7c700000.eml
    fetchmail: POP3< 209 8c700000.eml
    fetchmail: POP3< 210 9c700000.eml
    fetchmail: POP3< 211 ac700000.eml
    fetchmail: POP3< 212 bc700000.eml
    fetchmail: POP3< 213 cc700000.eml
    fetchmail: POP3< .
    213 messages (211 seen) for casio at pop3.sniffout.com (1001360 octets).
    fetchmail: POP3> LIST
    fetchmail: POP3< +OK 213 1001360
    fetchmail: POP3< 1 1851
    fetchmail: POP3< 2 2244
    fetchmail: POP3< 3 4710
    fetchmail: POP3< 4 2799
    fetchmail: POP3< 5 873
    fetchmail: POP3< 6 1274
    fetchmail: POP3< 7 1560
    fetchmail: POP3< 8 3943
    fetchmail: POP3< 9 1285
    fetchmail: POP3< 10 1370
    fetchmail: POP3< 11 7633
    fetchmail: POP3< 12 1350
    fetchmail: POP3< 13 14860
    fetchmail: POP3< 14 6961
    fetchmail: POP3< 15 2018


    Admin Notice:
    ... Repeated ...
    (trimed for space and speed)


    fetchmail: POP3< 179 3414
    fetchmail: POP3< 180 5868
    fetchmail: POP3< 181 1670
    fetchmail: POP3< 182 3271
    fetchmail: POP3< 183 5190
    fetchmail: POP3< 184 1637
    fetchmail: POP3< 185 1614
    fetchmail: POP3< 186 17367
    fetchmail: POP3< 187 736
    fetchmail: POP3< 188 15436
    fetchmail: POP3< 189 2485
    fetchmail: POP3< 190 4756
    fetchmail: POP3< 191 1529
    fetchmail: POP3< 192 1353
    fetchmail: POP3< 193 1749
    fetchmail: POP3< 194 3684
    fetchmail: POP3< 195 3973
    fetchmail: POP3< 196 2004
    fetchmail: POP3< 197 3536
    fetchmail: POP3< 198 2682
    fetchmail: POP3< 199 6428
    fetchmail: POP3< 200 9711
    fetchmail: POP3< 201 1471
    fetchmail: POP3< 202 2949
    fetchmail: POP3< 203 6184
    fetchmail: POP3< 204 6634
    fetchmail: POP3< 205 1215
    fetchmail: POP3< 206 3222
    fetchmail: POP3< 207 1964
    fetchmail: POP3< 208 948
    fetchmail: POP3< 209 3043
    fetchmail: POP3< 210 1914
    fetchmail: POP3< 211 3083
    fetchmail: POP3< 212 17492
    fetchmail: POP3< 213 5346
    fetchmail: POP3< .
    skipping message 1 (1851 octets) not flushed
    skipping message 2 (2244 octets) not flushed
    skipping message 3 (4710 octets) not flushed
    skipping message 4 (2799 octets) not flushed
    skipping message 5 (873 octets) not flushed
    skipping message 6 (1274 octets) not flushed
    skipping message 7 (1560 octets) not flushed
    skipping message 8 (3943 octets) not flushed
    skipping message 9 (1285 octets) not flushed
    skipping message 10 (1370 octets) not flushed
    skipping message 11 (7633 octets) not flushed
    skipping message 12 (1350 octets) not flushed
    skipping message 13 (14860 octets) not flushed
    skipping message 14 (6961 octets) not flushed
    skipping message 15 (2018 octets) not flushed


    Admin Notice:
    ... Repeated ...
    (trimed for space and speed)


    skipping message 179 (3414 octets) not flushed
    skipping message 180 (5868 octets) not flushed
    skipping message 181 (1670 octets) not flushed
    skipping message 182 (3271 octets) not flushed
    skipping message 183 (5190 octets) not flushed
    skipping message 184 (1637 octets) not flushed
    skipping message 185 (1614 octets) not flushed
    skipping message 186 (17367 octets) not flushed
    skipping message 187 (736 octets) not flushed
    skipping message 188 (15436 octets) not flushed
    skipping message 189 (2485 octets) not flushed
    skipping message 190 (4756 octets) not flushed
    skipping message 191 (1529 octets) not flushed
    skipping message 192 (1353 octets) not flushed
    skipping message 193 (1749 octets) not flushed
    skipping message 194 (3684 octets) not flushed
    skipping message 195 (3973 octets) not flushed
    skipping message 196 (2004 octets) not flushed
    skipping message 197 (3536 octets) not flushed
    skipping message 198 (2682 octets) not flushed
    skipping message 199 (6428 octets) not flushed
    skipping message 200 (9711 octets) not flushed
    skipping message 201 (1471 octets) not flushed
    skipping message 202 (2949 octets) not flushed
    skipping message 203 (6184 octets) not flushed
    skipping message 204 (6634 octets) not flushed
    skipping message 205 (1215 octets) not flushed
    skipping message 206 (3222 octets) not flushed
    skipping message 207 (1964 octets) not flushed
    skipping message 208 (948 octets) not flushed
    skipping message 209 (3043 octets) not flushed
    skipping message 210 (1914 octets) not flushed
    skipping message 211 (3083 octets) not flushed
    fetchmail: POP3> TOP 212 99999999
    fetchmail: POP3< +OK Headers + 99999999 lines.
    reading message 212 of 213 (17492 octets)
    fetchmail: SMTP< 220 kryptonite.homegroup ESMTP Sendmail 8.11.6/8.11.6/SuSE Linux 0.5; Thu, 3 Apr 2003 21:19:52 GMT
    fetchmail: SMTP> EHLO localhost
    fetchmail: SMTP< 250-kryptonite.homegroup Hello localhost [127.0.0.1], pleased to meet you
    fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
    fetchmail: SMTP< 250-8BITMIME
    fetchmail: SMTP< 250-SIZE
    fetchmail: SMTP< 250-DSN
    fetchmail: SMTP< 250-ONEX
    fetchmail: SMTP< 250-ETRN
    fetchmail: SMTP< 250-XUSR
    fetchmail: SMTP< 250 HELP
    fetchmail: SMTP> MAIL FROM:<owner-TODAYSL*casio**SNIFFOUT*-COM@ABLIST.ABOUT.COM> SIZE=17492
    fetchmail: SMTP< 250 2.1.0 <owner-TODAYSL*casio**SNIFFOUT*-COM@ABLIST.ABOUT.COM>... Sender ok
    fetchmail: SMTP> RCPT TO:<casio@localhost>
    fetchmail: SMTP< 451 4.0.0 Can't create transcript file ./xfh33LJqk02811: Permission denied
    fetchmail: SMTP error: 451 4.0.0 Can't create transcript file ./xfh33LJqk02811: Permission denied
    fetchmail: SMTP listener doesn't like recipient address `casio@localhost'
    fetchmail: SMTP> RCPT TO:<root@localhost>
    fetchmail: SMTP< 250 2.1.5 <root@localhost>... Recipient ok
    fetchmail: no address matches; forwarding to root.
    fetchmail: SMTP> DATA
    fetchmail: SMTP< 421 4.3.5 Unable to create data file: Permission denied
    fetchmail: SMTP> RSET
    fetchmail: SMTP< 250 2.0.0 Reset state
    ................ not flushed
    fetchmail: POP3> TOP 213 99999999
    fetchmail: POP3< +OK Headers + 99999999 lines.
    reading message 213 of 213 (5346 octets)
    fetchmail: SMTP> MAIL FROM:<6n6whsfn0uwe@netscape.com> SIZE=5346
    fetchmail: SMTP< 451 4.1.8 Domain of sender address 6n6whsfn0uwe@netscape.com does not resolve
    fetchmail: SMTP error: 451 4.1.8 Domain of sender address 6n6whsfn0uwe@netscape.com does not resolve
    fetchmail: SMTP> RSET
    fetchmail: SMTP< 250 2.0.0 Reset state
    .... not flushed
    fetchmail: POP3> QUIT
    fetchmail: POP3< +OK Signing off -- mailbox has 213 messages.
    fetchmail: SMTP> QUIT
    fetchmail: SMTP< 221 2.0.0 kryptonite.homegroup closing connection
    fetchmail: normal termination, status 0

    .. checking complete.

    Looks as though the problem is else where perhaps?

  8. #7
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    Assuming that /usr/sbin/sendmail is a binary, not a symlink, Try running this:

    chmod u+s /usr/sbin/sendmail

    If that does not fix it, try:

    chmod 711 /var/spool/mqueue

    or try

    chmod 700 /var/spool/mqueue

    One of those is supposed to be the correct permissions aparently, conflicting advice on the web.

    Failing that, as a last resort, delete the mqueue directory, and recreate it, then restart sendmail.

    Jason

  9. #8
    Just Joined!
    Join Date
    Apr 2003
    Posts
    19
    Interesting - I tried the permissions as you suggested to no joy. So I removed the mqueue directory and re-created and stopped and started sendmail.


    I then went and ran fetchmail which looked promising as it started bringing the email down. However when I went to view the emails they hadn't gone to the local user tim and the system had created a BOGUS.tim.osJ which I think contains all of the emails for the user tim as the system has now created a blank tim mail file.

    Any more suggestions ?

  10. #9
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    I would say we have made some progress, can we get some more logs please so we can see the problem now, or is it still exactly the same permission denied error in *Exactly* the same place?

    Atleast is is creating something

    Cheers,

    Jason

  11. #10
    Just Joined!
    Join Date
    Apr 2003
    Posts
    19
    As I couldn't figure this out I did at 1 point removed the freeserve and sniffout accounts from fetchmail and then I created them again still using the local users for the mail. Would this cause the problem in that the system is trying to start a new mailbox instead of using the existing one?

    I have moved the BOGUS file back to tim but sendmail will not accept this as a vaild mailbox file - does this mean my exisiting mail is lost? .

    fetchmail: 5.9.0 querying pop.freeserve.net (protocol POP3) at Thu Apr 3 22:28:56 2003
    fetchmail: POP3< +OK POP3 server ready (cmailg2.svr.pol.co.uk)
    fetchmail: POP3> USER casson-smith.freeserve.co.uk
    fetchmail: POP3< +OK
    fetchmail: POP3> PASS *
    fetchmail: POP3< +OK
    fetchmail: POP3> STAT
    fetchmail: POP3< +OK 0 0
    fetchmail: No mail for casson-smith.freeserve.co.uk at pop.pol.net.uk
    fetchmail: POP3> QUIT
    fetchmail: POP3< +OK
    fetchmail: normal termination, status 1

    Sorry but there is no mail now at this account as it has all be re-routed to the root user even though the user tim exisits. Could there be also a problem with the mail folder? if so how can I deleted it a re-create while it has the symbolic link to /var/mail?

    Regards

    Casiodude

Page 1 of 3 1 2 3 LastLast

Posting Permissions

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