Koozali.org: home of the SME Server

Problem with Fetchmail and my pop account.

jamesh

Problem with Fetchmail and my pop account.
« on: November 21, 2004, 09:11:54 PM »
I am running SME server 6.01 and I have installed fetchmail following schrimms great how to, but I have a problem that the email is being seen on my account but is not being accepted and then deleted. I have attached the last lines from my maillog:

Code: [Select]

                       Nov 21 19:45:00 frankenstein fetchmail[6918]: 6.2.5 querying pop.ntlworld.com (protocol POP3) at Sun, 21 Nov 2004 19:45:00 +0000 (GMT): poll started
Nov 21 19:45:00 frankenstein fetchmail[6918]: POP3< +OK InterMail POP3 server ready.
Nov 21 19:45:00 frankenstein fetchmail[6918]: POP3> CAPA
Nov 21 19:45:00 frankenstein fetchmail[6918]: POP3< -ERR Invalid command; valid commands: USER, QUIT
Nov 21 19:45:00 frankenstein fetchmail[6918]: Invalid command; valid commands: USER, QUIT
Nov 21 19:45:00 frankenstein fetchmail[6918]: Repoll immediately on james.holloway2@pop.ntlworld.com
Nov 21 19:45:01 frankenstein fetchmail[6918]: POP3< +OK InterMail POP3 server ready.
Nov 21 19:45:01 frankenstein fetchmail[6918]: POP3> USER james.holloway2
Nov 21 19:45:01 frankenstein fetchmail[6918]: POP3< +OK please send PASS command
Nov 21 19:45:01 frankenstein fetchmail[6918]: POP3> PASS *
Nov 21 19:45:01 frankenstein fetchmail[6918]: POP3< +OK james.holloway2 is welcome here
Nov 21 19:45:04 frankenstein fetchmail[6918]: POP3> STAT
Nov 21 19:45:04 frankenstein fetchmail[6918]: POP3< +OK 1 1355
Nov 21 19:45:04 frankenstein fetchmail[6918]: 1 message for james.holloway2 at pop.ntlworld.com (1355 octets).
Nov 21 19:45:04 frankenstein fetchmail[6918]: POP3> LIST 1
Nov 21 19:45:04 frankenstein fetchmail[6918]: POP3< +OK 1 1355
Nov 21 19:45:04 frankenstein fetchmail[6918]: POP3> RETR 1
Nov 21 19:45:04 frankenstein fetchmail[6918]: POP3< +OK 1355 octets
Nov 21 19:45:04 frankenstein fetchmail[6918]: reading message james.holloway2@pop.ntlworld.com:1 of 1 (1355 octets)
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP< 220 frankenstein.holloway.net mailfront ESMTP
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP> EHLO localhost
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP< 250-frankenstein.holloway.net
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP< 250-8BITMIME
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP< 250 PIPELINING
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP> MAIL FROM:<turbiscan2000@yahoo.co.uk> BODY=8BITMIME
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP< 250 Sender accepted.
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP> RCPT TO:<fm%james@mail.holloway.net>
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP< 553  Sorry, percent hack not accepted here
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP error: 553  Sorry, percent hack not accepted here
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP listener doesn't really like recipient address fm%james@mail.holloway.net'
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP> RCPT TO:<postmaster@mail.holloway.net>
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP< 553 Sorry, that is an invalid e-mail address
Nov 21 19:45:04 frankenstein fetchmail[6918]: can't even send to postmaster!
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP> RSET
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP< 250 OK
Nov 21 19:45:04 frankenstein fetchmail[6918]:  flushed
Nov 21 19:45:04 frankenstein fetchmail[6918]: POP3> DELE 1
Nov 21 19:45:04 frankenstein fetchmail[6918]: POP3< +OK
Nov 21 19:45:04 frankenstein fetchmail[6918]: POP3> QUIT
Nov 21 19:45:04 frankenstein fetchmail[6918]: POP3< +OK james.holloway2 InterMail POP3 server signing off.
Nov 21 19:45:04 frankenstein fetchmail[6918]: 6.2.5 querying pop.ntlworld.com (protocol POP3) at Sun, 21 Nov 2004 19:45:04 +0000 (GMT): poll completed
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP> QUIT
Nov 21 19:45:04 frankenstein fetchmail[6918]: SMTP< 221 Good bye.
Nov 21 19:45:04 frankenstein fetchmail[6918]: normal termination, status 0


I have added a mail-blocking rule that should let any message to james@* through but this does not seem to get me going.

? Do I have to set up a virtual domain, so that it matches the second half of my email address. i.e. james@xxxx.com, so I create a virtual domain xxxx.com

TIA

JamesH

Offline kruhm

  • *
  • 680
  • +0/-0
Problem with Fetchmail and my pop account.
« Reply #1 on: November 22, 2004, 04:58:06 PM »
You don't have to add a subdomain but you have to add an entry:
to accept
from *.* (basically all your emails since each individual email will be listed differently)
to james@mail.holloway.net (your specific local account)

Your email blocking doesn't recognize james@mail.holloway.net (or your postmaster@mail.holloway.net) as a valid local account and blocks all email to them.

jamesh

Problem with Fetchmail and my pop account.
« Reply #2 on: November 22, 2004, 08:00:28 PM »
I have tried adding the following to my email-blocking rules:

Allow: *@* to james@mail.holloway.net

Allow: *@* to *@mail.holloway.net

The second rule at least lets the mail through to my admin account, but not to my user account.

I have now tried setting up a "ghost" account for my admin to pick up all the mail on my pop3 account and put it into my user account.

Any ideas how I can get the mail to come into my user account.

All help really apprecicated.

JamesH

avery

Problem with Fetchmail and my pop account.
« Reply #3 on: January 03, 2005, 01:58:52 PM »
Hi

I've just hit exactly this same problem with my freashly built SME 6.01 with update script3.

Quote
2005-01-03 12:00:10.404604500 smtpfront-qmail[4829]: RCPT TO:<fm%junkmail@mail.mydomain.com>
2005-01-03 12:00:10.404641500 smtpfront-qmail[4829]:  Sorry, percent hack not accepted here


The account "junkmail" exists on the server, but I've no idea where the "fm%" came from...

Did you ever sort this problem out? if so I would really appreciate any advice on the resolutiuon!

Offline gregswallow

  • *
  • 651
  • +1/-0
Problem with Fetchmail and my pop account.
« Reply #4 on: January 04, 2005, 03:56:51 AM »
Someone suggested removing dungog-mailbocking fixes the problem you're having.  It is commented out of the upgrade script at the moment.

GoVeGeTa

Problem with Fetchmail and my pop account.
« Reply #5 on: January 04, 2005, 04:38:33 AM »
do you own the domain name

pop.ntlworld.com?

If that is not the default sme server domain name,
and you have no virtual domain of that name (pop.ntlworld.com) then that is your problem!

avery

Problem with Fetchmail and my pop account.
« Reply #6 on: January 05, 2005, 01:05:15 AM »
Many thanks to Greg and GoVeGeTa for the replies.

I've now managed to sort myself out thanks to the advice and other posts.  Turns out I had two problems:

1/ In "Mails retrieval" in the "Configure Externals Mailbox Retrieval", I had several entries in the "Email address(es) to witch forward mails .." seperated by colons, some in the .co.uk format.  Removing all these entries got rid of the "FM%" issue

2/  As suggested Greg I had to sort the "mail blocking" module with a simple "Accept *@* *@mail.mydomain.com"

Thanks to all for the helpful posts.  BTW Greg - awsome work on the upgrade script ... I couldn't have got there without it! :-D

Offline gregswallow

  • *
  • 651
  • +1/-0
Problem with Fetchmail and my pop account.
« Reply #7 on: January 05, 2005, 09:19:32 AM »
Quote from: "avery"

2/  As suggested Greg I had to sort the "mail blocking" module with a simple "Accept *@* *@mail.mydomain.com

I was thinking rpm -e dungog-mailblocking, but whatever works.
Quote from: "avery"

Thanks to all for the helpful posts.  BTW Greg - awsome work on the upgrade script ... I couldn't have got there without it! :-D

Not that I don't like people thanking me :-D  ...but really you should thank all the people who made and shared all the contribs in the script.  And it has been an amazing community effort to maintain it.  The page has over 60 edits now by many different people. Thanks to everyone!