View previous topic :: View next topic |
Author |
Message |
Kezza n00b
Joined: 11 Dec 2002 Posts: 49
|
Posted: Wed Dec 11, 2002 4:30 am Post subject: qmail with a dialup ISP? |
|
|
I'm hoping to get fetchmail + qmail + pine/mutt setup so that I can pretty much emulate in a shell what KMail does under KDE - I want to be able to grab mail from my ISP's POP3 server, and I also want to be able to send email to my ISP's SMTP server with appropriate user + host masquerading.
My machine's hostname is shire and I logon as bilbo (bilbo@shire). Naturally my email address at my ISP is very different; for discussion's sake let's assume my email address is johndoe@isp.com
Fetchmail is setup, polling the POP3 server and passing any mail to qmail.
Qmail is installed and the config run, links setup, svscan started. However I have no idea what it does with the mail it receives from fetchmail. The inbox of pine/mutt remain empty. I'm unsure whether this is due to qmail sending the mail to some unknown folder or whether qmail doesn't know where to put mail addressed to johndoe@isp.com
I can send mail with pine (with user-domain field set appropriately in .pinerc). But all email is send From: bilbo@isp.com
I'm hoping to get all this setup so that I can send all email as johndoe@isp.com and all email send to johndoe@isp.com is delivered to bilbo@shire
I'm appreciate any pointers. |
|
Back to top |
|
|
Larde Guru
Joined: 07 Jun 2002 Posts: 313 Location: Duesseldorf, Germany
|
Posted: Wed Dec 11, 2002 6:52 am Post subject: |
|
|
I also have a couple of pop3 accounts that I still poll with fetchmail and stuff it in my local qmail. I think, your setup in your .fetchmailrc should be similar to: Code: | poll pop.isp.com with protocol POP3, with options uidl
user "johndoe@isp.com" there with password "secret" is bilbo@shire here
with options nokeep mimedecode pass8bits |
Well, this is how I use it, and "on my machine it works".
I have no idea how to set up pine for a different "From:" though.
Larde. _________________ Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
|
|
Back to top |
|
|
mark_lagace Tux's lil' helper
Joined: 19 Nov 2002 Posts: 77 Location: Ottawa, Canada
|
Posted: Wed Dec 11, 2002 7:24 pm Post subject: qmail |
|
|
Quote: | The inbox of pine/mutt remain empty |
Are you certain you have a mailbox? Check in bilbo's home directory for a .maildir directory (assuming you've gone with the gentoo defaults). It should be a folder with rwx permissions for bilbo and no-one else (e.g. 0700 permission). Within .maildir should be three folders, cur, new, and tmp (also with the same permissions).
Check if your mail ends up in new folder - if it does, then you've got a config problem with pine and/or mutt. Tell them where to find your maildir - if you use mutt, put this in your muttrc file:
Code: |
set mbox_type=Maildir
set folder=~/.maildir
|
Quote: | I'm unsure whether this is due to qmail sending the mail to some unknown folder or whether qmail doesn't know where to put mail addressed to johndoe@isp.com |
Check your qmail logs - you might get a better idea of what is happening. They are usually stored in /var/log/qmail-send and /var/log/qmail-smtpd. It's the latter that you want to check out. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|