Re: sending mail with POP
On Tue, May 30, 2000 at 05:24:02PM +0200, Frank Derichsweiler wrote: plugIn Setting up qmail for a dial-up host is IMHO very easy, there are excellent documents at the qmail page http://www.qmail.org . My home box is running perfectly. In case of problems please ask by sending personal mail, because that might be off topic in this mailing list. /plugIn IMHO qmail has the advance to support the mail-dir format. At home I fetch the mails with fetchmail, qmail stores them in Maildirs and those are accessed with mutt. DOUBLEPLUG www.postfix.org /DOUBLEPLUG does the same. -- Ralf Hildebrandt [EMAIL PROTECTED] www.stahl.bau.tu-bs.de/~hildeb Sendmail: Shiva as a postman. Many arms delivering mail, dancing, taking drugs, destroying as it sees fit. Often makes creative changes to the mail for kicks, but ultimately can be persuaded to do anything with the right incantation...and that includes giving you other people's mail. PGP signature
sending mail with POP
Newbie POP question - I've configured my Redhat 6.1 system at home to use Mutt 1.2 *with* POP enabled. I have the POP options popluated with the proper values for my ISP, and the "G" function to retrieve mail from my ISP works fine, but how do I send mail? Mail that I'm sending doesn't seem to get out - I think it's sitting in my "outbox". What more do I need to do? Thanks. -- Hardy Merrill Mission Critical Linux, LLC http://www.missioncriticallinux.com
Re: sending mail with POP
On Tue, May 30, 2000 at 10:35:29AM -0400, Hardy Merrill wrote: Newbie POP question - I've configured my Redhat 6.1 system at home to use Mutt 1.2 *with* POP enabled. I have the POP options popluated with the proper values for my ISP, and the "G" function to retrieve mail from my ISP works fine, but how do I send mail? With sendmail -- a program that sends mail :) Mail that I'm sending doesn't seem to get out - I think it's sitting in my "outbox". What more do I need to do? Configure sendmail, postfix, exim, qmail (the MTA of your choice). -- Ralf Hildebrandt [EMAIL PROTECTED] www.stahl.bau.tu-bs.de/~hildeb The only way to convince some people that HTML is about content, not style is with a 2x4 PLANK.
Re: sending mail with POP
On Tue, May 30, 2000 at 04:49:29PM +0200, Ralf Hildebrandt wrote: Configure sendmail, postfix, exim, qmail (the MTA of your choice). plugIn Setting up qmail for a dial-up host is IMHO very easy, there are excellent documents at the qmail page http://www.qmail.org . My home box is running perfectly. In case of problems please ask by sending personal mail, because that might be off topic in this mailing list. /plugIn IMHO qmail has the advance to support the mail-dir format. At home I fetch the mails with fetchmail, qmail stores them in Maildirs and those are accessed with mutt. Frank
Re: sending mail with POP
Hardy Merrill: Mail that I'm sending doesn't seem to get out - I think it's sitting in my "outbox". What more do I need to do? put ":your-isp's-smtp-(mail)-server-name" into control/smtproutes, if you use the standard setup, that should get rid of your mail. -- clemens
Re: sending mail with POP
On Tue, May 30, 2000 at 10:35:29AM -0400, Hardy Merrill wrote: Newbie POP question - I've configured my Redhat 6.1 system at home cool :) to use Mutt 1.2 *with* POP enabled. I have the POP options popluated with the proper values for my ISP, and the "G" function to retrieve mail from my ISP works fine, but how do I send mail? It's quite easy. I suppose you have a dialup workstation, so you have to use a trick in order to use a local mail server. First, you have to set your "smart host" in /etc/sendmail.cf So, put a line of this kind (in /etc/sendmail.cf) : # "Smart" relay host (may be null) DSsmtp.worldonline.fr But that's not all. As you have a dialup workstation, each time you connect to your ISP, your IP address will change. So, you have to tell Sendmail you official domain name. In order to give a correct domain name, you have to know your ip address. The trick is that each time you connect to your ISP, your dialing deamon will restart sendmail with a correct domain name. You can do the following stuff : - copy your /etc/sendmail.cf in /etc/sendmail.cf.base - Then edit you /etc/ppp/ip-up script and insert at the end : --- HOST=`/usr/local/bin/gethost $4` sed s/'#Dj.*'/"Dj$HOST"/ /etc/sendmail.cf.base /etc/sendmail.cf kill -1 `head -1 /var/run/sendmail.pid` /usr/sbin/sendmail -q --- which aim is to restart sendmail with the correct properties. - The final thing is to install a program (gethost for example) which will convert your IP adress to a domain name. That's all folks :) -- Init64 - http://www.init64.com Voice messages Fax : 1(303) 593-8115
Re: sending mail with POP
Well it should be lurking in the mail queue /var/spool/mqueue. The "sendmail" or some other MTA should carry it away next time you hook up to the internet. Martin Holland has some good stuff on setting up both fetchmail and sendmail (on RedHat too) http://www.noether.freeserve.co.uk If configuring sendmail his way doesn't work there is a neat perl script that walks you through the process install sendmail http://members.xoom.com/xeer/index.html HTH Glyn M. On Tue, May 30, 2000 at 10:35:29AM -0400, thus spake Hardy Merrill: Newbie POP question - I've configured my Redhat 6.1 system at home to use Mutt 1.2 *with* POP enabled. I have the POP options popluated with the proper values for my ISP, and the "G" function to retrieve mail from my ISP works fine, but how do I send mail? Mail that I'm sending doesn't seem to get out - I think it's sitting in my "outbox". What more do I need to do? Thanks. - -- Hardy Merrill Mission Critical Linux, LLC http://www.missioncriticallinux.com -- End of mutt-users-digest V1 #414 -- ** * "The soul is greater than the hum of its parts. " * * Douglas Hoftstatder* **
Re: sending mail with POP
[EMAIL PROTECTED]: First, you have to set your "smart host" in /etc/sendmail.cf So, put a line of this kind (in /etc/sendmail.cf) : # "Smart" relay host (may be null) DSsmtp.worldonline.fr yes, this is vital. i had this configured for ages until i found out that the protocol designator was missing as well, i had to say: DSsmtp:smtp.worldonline.fr to get it right. But that's not all. As you have a dialup workstation, each time you connect to your ISP, your IP address will change. So, you have to tell Sendmail you official domain name. In order to give a correct domain name, you have to know your ip address. The trick is that each time you connect to your ISP, your dialing deamon will restart sendmail with a correct domain name. i don't agree. would it not be better to masquerade, i.e. not to define the hostname given by the isp, but instead to pretend to be a local user@isp? masquerading also avoids problems arising from reverse dns lookups, when the given hostname turns out to be different when looked up by ip-number. masquerading is a feature easily configured into the sendmail.cf using the m4 macro processor. templates are usually included in the distribution, and the topic is defined and discussed in numerous archived messages and faqs. it can also be configured manually, email me for info. -- clemens
Re: sending mail with POP
[EMAIL PROTECTED] proclaimed on mutt-users that: # "Smart" relay host (may be null) DSsmtp.worldonline.fr OK so far. But that's not all. As you have a dialup workstation, each time you connect to your ISP, your IP address will change. So, you have to tell Sendmail you official domain name. In order to give a correct domain name, you have to know your ip address. Sendmail will take care of that ... and set your domain name in .muttrc as well, to avoid HELOing as localhost.localdomain (or whatever). HOST=`/usr/local/bin/gethost $4` sed s/'#Dj.*'/"Dj$HOST"/ /etc/sendmail.cf.base /etc/sendmail.cf kill -1 `head -1 /var/run/sendmail.pid` /usr/sbin/sendmail -q Why??? Here's what I use on a standard dialup (redhat 6.1 running sendmail 8.10) on my home box. DS my.isps.smtp.server # if just an ip, make it DS [ip.ad.dr.ess] 0 Set HoldExpensive=True # Make sendmail queue mails when offline That way, you don't even have to set sendmail_wait=-1 in .muttrc (which also works, btw). which aim is to restart sendmail with the correct properties. Why do you want to restart sendmail all the time, for $deity's sake? That's all folks :) ^ That's all folks ;) http://linuxindia.virtualave.net/vsnlcon.html http://www.mail-abuse.org/dul/gateways.htm (tells you to modify a coupla m4 rulesets and rebuild sendmail.cf - yet another rube goldberg thing) hth -- Suresh Ramasubramanian | sureshr at staff.juno.com Captain Penny's Law: You can fool all of the people some of the time, and some of the people all of the time, but you Can't Fool Mom.