From owner-freebsd-questions@FreeBSD.ORG Tue Mar 3 22:44:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB42C1065674 for ; Tue, 3 Mar 2009 22:44:34 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id AB57A8FC15 for ; Tue, 3 Mar 2009 22:44:34 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so3084236wfd.7 for ; Tue, 03 Mar 2009 14:44:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=hDw87umY/4n124hfRI7ptHp1CIRaFJVDtm0w00Xnsts=; b=K4nGXie+ZapIVN1pBqpIqs6DlwbTQmL51p3sKRLcdsRiZEbH0W1tzTgP8lApmX/foQ HnyYLjSw69Ea5BexJyZX67KCKHWUCNCIF4hVVyijwrbXuoSSQhEDSuHJ5gx8Mp1XxCG7 dZHlheUF3O9lL7Aac+2OIb68IQ0EtjqLT215g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=p7vDrFoIWEuNtQgGJCjgMBigaL5i89PPyzQWkdOmsg9LDvzneb/U9kaFVGW1NytUhv RNmRIe9P/ivN7QG90lELq7S+gPCknNegzR3Pj96o94z0bmt4E4kfRen3vQ4JM2zv/ClW /RWD1PseVZj0yutlnKkR+tyPgT5pXDDjhI3RM= MIME-Version: 1.0 Received: by 10.142.12.14 with SMTP id 14mr3829792wfl.21.1236120274294; Tue, 03 Mar 2009 14:44:34 -0800 (PST) In-Reply-To: <49ADA685.9060702@pp.dyndns.biz> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <4ad871310903021914q647d6a40ncdb0bb9d8a3582c9@mail.gmail.com> <27ade5280903031310u6d7956u830938f27ea535c6@mail.gmail.com> <4ad871310903031317q353395edh401700f8d4ce9b4c@mail.gmail.com> <49ADA685.9060702@pp.dyndns.biz> Date: Tue, 3 Mar 2009 17:44:34 -0500 Message-ID: <27ade5280903031444i3df88842ub6087e1e3855b4c1@mail.gmail.com> From: APseudoUtopia To: =?UTF-8?Q?Morgan_Wesstr=C3=B6m?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Cron Not Sending Mail 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: Tue, 03 Mar 2009 22:44:35 -0000 On Tue, Mar 3, 2009 at 4:52 PM, Morgan Wesstr=C3=B6m wrote: > > Glen Barber wrote: >> On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia = wrote: >>> Thanks for the tips. I've put the following line in my normal user >>> account's crontab (This account does have a shell, it's one I use on a >>> daily basis): >>> >>> SHELL=3D/bin/sh >>> MAILTO=3Dmy_email_account@gmail.com >>> * =C2=A0 =C2=A0 =C2=A0 * =C2=A0 =C2=A0 =C2=A0 * =C2=A0 =C2=A0 =C2=A0 * = =C2=A0 =C2=A0 =C2=A0 * =C2=A0 =C2=A0 =C2=A0 /sbin/ping -c4 localhost >>> >>> I'm getting no emails at all. In /var/log/maillog, I'm getting the >>> following output: >>> >>> Mar =C2=A03 21:10:00 domain sendmail[86797]: n23LA0td086797: from=3Dwww= , >>> size=3D0, class=3D0, nrcpts=3D0, >>> msgid=3D<200903032110.n23LA0td086797@subdomain.domain.tld>, >>> relay=3Dwww@localhost > > Isn't "www@localhost" a very weird hostname for a relay? Can you really > resolve that into an IP address? > /Morgan Hm, I'm not sure where it's getting that from. The MAILTO variable is set in the crontab, so it shouldn't be going to or relaying through localhost at all, right? It should go directly to gmail's servers?