Re: /root/.forward and Gmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi

sorry [if this is a silly question] but i didnt understand what you
wanted to say [although it sounded interesting].Would it be possible
to explain what did you try to do.....[because it sounded like
something i want to try:)

thanks
N.A

On 10/5/06, Alexander Farber <alexander.farber@xxxxxxxxx> wrote:
Good morning!

I'm using FC5 + these mail programs:

hxxxxxx:afarber {221} rpm -qa|grep mail
sendmail-cf-8.13.7-2.fc5.2
mailx-8.1.1-44.2.1
mailcap-2.1.21-1.fc5
sendmail-8.13.7-2.fc5.2
procmail-3.22-16.2.1
sendmail-doc-8.13.7-2.fc5.2

For the sendmail I've added /etc/mail/authinfo,
so that I can send mail through their SMTP server
and this works ok for me.

Also I have put my mail address into /root/.forward:

hxxxxxx:afarber {223} sudo cat /root/.forward
Alexander.Farber@xxxxxxxxx
hxxxxxx:afarber {224} sudo ls -l /root/.forward
-rw-r--r-- 1 root root 27 Oct  5 09:52 /root/.forward

My problem is that the mails sent to root go to
root@xxxxxxxxxxxxxxxxxxxxxxxxxxx and not to
Alexander.Farber@xxxxxxxxxx I see them in
the Gmail's "Sent Mail", but not in the "Inbox":

X-Gmail-Received: bd912231208303c8c11d354bb1573f2ac5e4f4ad
Return-Path: <alexander.farber@xxxxxxxxx>
Received: from hxxxxxx.serverkompetenz.net ( [81.169.xx.xx])
        by mx.google.com with ESMTP id a23sm3312667nfc.2006.10.05.00.53.20;
        Thu, 05 Oct 2006 00:53:20 -0700 (PDT)
Received: from hxxxxxx.serverkompetenz.net (localhost [127.0.0.1])
        by hxxxxxx.serverkompetenz.net (8.13.7/8.13.7) with ESMTP id k957pdM7005815
        (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
        for <root@xxxxxxxxxxxxxxxxxxxxxxxxxxx>; Thu, 5 Oct 2006 09:51:39 +0200
Received: (from afarber@localhost)
        by hxxxxxx.serverkompetenz.net (8.13.7/8.13.7/Submit) id k957pdYZ005814
        for root; Thu, 5 Oct 2006 09:51:39 +0200
Date: Thu, 5 Oct 2006 09:51:39 +0200
Message-Id: <200610050751.k957pdYZ005814@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: root@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: test
From: alexander.farber@xxxxxxxxx

test

(this is a mail I've sent with "mail root". Do you see the wrong To: above?)

Could someone please give me a hint, what could I be missing here?
I want the root mails to go to the address listed in /root/.forward and
not to root@xxxxxxxxxxxxxxxxxxxxxxxxxxx !

Here is /var/log/maillog:

Oct  5 10:07:23 hxxxxxx sendmail[5839]: k9587Nhw005839: from=afarber,
size=31, class=0, nrcpts=1,
msgid=<200610050807.k9587Nhw005839@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
relay=afarber@localhost

Oct  5 10:07:23 hxxxxxx sendmail[5839]: STARTTLS=client,
relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL,
cipher=DHE-RSA-AES256-SHA, bits=256/256

Oct  5 10:07:23 hxxxxxxx sendmail[5840]: STARTTLS=server,
relay=localhost [127.0.0.1], version=TLSv1/SSLv3, verify=NO,
cipher=DHE-RSA-AES256-SHA, bits=256/256

Oct  5 10:07:23 hxxxxxxx sendmail[5840]: k9587NJr005840:
from=<afarber@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, size=358, class=0,
nrcpts=1, msgid=<200610050807.k9587Nhw005839@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]

Oct  5 10:07:23 hxxxxxxx sendmail[5839]: k9587Nhw005839: to=root,
ctladdr=afarber (500/500), delay=00:00:00, xdelay=00:00:00,
mailer=relay, pri=30031, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0,
stat=Sent (k9587NJr005840 Message accepted for delivery)

Oct  5 10:07:23 hxxxxxx sendmail[5841]: STARTTLS=client,
relay=smtp.gmail.com, version=TLSv1/SSLv3, verify=OK,
cipher=DES-CBC3-SHA, bits=168/168

Oct  5 10:07:25 hxxxxxx sendmail[5841]: k9587NJr005840:
to=Alexander.Farber@xxxxxxxxx,
ctladdr=<afarber@xxxxxxxxxxxxxxxxxxxxxxxxxxx> (500/500),
delay=00:00:02, xdelay=00:00:02, mailer=relay, pri=30652,
relay=smtp.gmail.com [64.233.183.xxx], dsn=2.0.0, stat=Sent (OK
1160035744 x24sm3345084nfb)

hxxxxxx:afarber {226} sudo /usr/lib/sendmail -bv root
Alexander.Farber@xxxxxxxxxxxx deliverable: mailer relay, host
smtp.gmail.com, user Alexander.Farber@xxxxxxxxx

Regards
Alex


--
http://preferans.de

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux