Hi,

I have successfully setup my debian box to send email to my gmail
account, but it is not expanding aliases correctly, and it is sending
email to the wrong [EMAIL PROTECTED]

I would like to have any email sent to just "root" or my local login
account via cron, logwatch, etc, automatically forwarded to my gmail
account, but exim is forwarding my email to myself, and then also it
looks like to [EMAIL PROTECTED], or [EMAIL PROTECTED], which are my
unexpanded userid's on my debian box.

Config files are as such:

# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: [EMAIL PROTECTED]
hovland: [EMAIL PROTECTED]



# This is /etc/email-addresses. It is part of the exim package
#
# This file contains email addresses to use for outgoing mail. Any local
# part not in here will be qualified by the system domain as normal.
#
# It should contain lines of the form:
#
#user: [EMAIL PROTECTED]
#otheruser: [EMAIL PROTECTED]

root: [EMAIL PROTECTED]
hovland: [EMAIL PROTECTED]



# /etc/exim4/passwd.client
### CONFDIR/passwd.client
#
# Format:
#targetmailserver.example:login:password
#
# default entry:
### *:bar:foo
*:stefhen.hovland:password


Example transaction from me as hovland trying to email "root", on my local box:

2005-10-04 19:39:25 1EMxJd-0001tx-SK <= [EMAIL PROTECTED]
U=hovland P=local S=429 [EMAIL PROTECTED]
2005-10-04 19:39:27 1EMxJd-0001tx-SK => [EMAIL PROTECTED] R=smarthost
T=remote_smtp_smarthost H=gmail-smtp.l.google.com [72.14.205.109]
X=TLS-1.0:RSA_3DES_EDE_CBC_SHA:24
2005-10-04 19:39:27 1EMxJd-0001tx-SK Completed

Shouldnt root get translated to -> [EMAIL PROTECTED]

I will receive my message on my gmail account which was directed to
root, but I also get an error response from gmail that it was trying
to forward my email also to the user: [EMAIL PROTECTED]


Example:

This is an automatically generated Delivery Status Notification

Delivery to the following recipient failed permanently:

    [EMAIL PROTECTED]

Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 9): 550 5.7.1 No such user i19si239371wxd

  ----- Original message -----

Received: by 10.64.204.6 with SMTP id b6mr108721qbg;
       Tue, 04 Oct 2005 17:39:27 -0700 (PDT)
Return-Path: <[EMAIL PROTECTED]>
Received: from localhost.lan ( [68.58.2.94])
       by mx.gmail.com with ESMTP id e13sm119870qbe.2005.10.04.17.39.27;
       Tue, 04 Oct 2005 17:39:27 -0700 (PDT)l to [EMAIL PROTECTED] it
looks like also:



Any thoughts?

Thanks,
Stefhen

Reply via email to