From owner-freebsd-questions@FreeBSD.ORG Sat May 12 06:01:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49F8016A400 for ; Sat, 12 May 2007 06:01:44 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from shanshito.webanoide.org (shanshito.webanoide.org [150.101.108.110]) by mx1.freebsd.org (Postfix) with ESMTP id AE88913C43E for ; Sat, 12 May 2007 06:01:43 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from maxito.hba.navalradio.cl (maxito.hba.navalradio.cl [172.26.4.34]) (authenticated bits=0) by shanshito.webanoide.org (8.13.8/8.13.8) with ESMTP id l4C61bxo001766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 12 May 2007 06:01:41 GMT (envelope-from mikhailg@webanoide.org) Message-ID: <46455840.9000402@webanoide.org> Date: Sat, 12 May 2007 16:01:36 +1000 From: Mikhail Goriachev Organization: Webanoide User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Chuck Grimes References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Old 4.2 user, with 6.2 newbie questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 May 2007 06:01:44 -0000 Chuck Grimes wrote: [...] > My first priority is getting fetchmail running. Here is the > fetchmailrc dot file: > > defaults proto pop3 > user mailname > poll my.isp.com > pass xxxxx > set daemon 840 > > As user, I can run fetchmail at the command line, without an error > message, but it also doesn't get and deliver any mail. I can send > email to myself, but I am sure it never leaves the machine. The > user@domain.com is correct---so sendmail masquerade is working. For > example, sendmail does not write: user@hostname.domain.com, as it > would without masquerade. Fetchmail (new one that is) now can be ran in daemon mode so the following has to be added into /etc/rc.conf: fetchmail_enable="YES" fetchmail_polling_interval="300" The fetchmailrc file has to be owned by fetchmail: # ls -al /usr/local/etc/fetchmailrc -rw------- 1 fetchmail fetchmail 6614 Feb 27 11:57 fetchmailrc This is the syntax I use in fetchmailrc: poll pop3.domain.tld proto pop3 no dns user "USERNAME1", with password "PASSWORD1", is "USERNAME1" here; user "USERNAME2", with password "PASSWORD2", is "USERNAME2" here; user "USERNAME3", with password "PASSWORD3", is "USERNAME3" here; Some users aren't located on the same server. So I redirect their correspondence with the help of /etc/mail/aliases: USERNAME3: user@domain.tld > I changed the permissions on sendmail back to: > > $ ll -r-sr-xr-x 1 root wheel 583680 Jan 11 23:42 sendmail > > from 6.2 default: > > $ ll -rwsr-xr-x 1 root wheel 583680 Jan 11 23:42 sendmail > > I've tried it both ways and niether seems to make any difference. For all of that, I didn't have to touch sendmail (apart from aliases). Hopefully this will help you somehow. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: mikhailg@webanoide.org Web: www.webanoide.org