Re: [exim] How can I send mail without local user (p=local) …

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Leonid Shulov
Dátum:  
Címzett: Magnus Holmgren
CC: exim-users
Tárgy: Re: [exim] How can I send mail without local user (p=local) in body of E-mail?
Hi Magnus,

When I send mail from command-line:
# su backup
$ exim4 -i -t < mailTest.txt

mailTest.txt:
To: Leonid Shulov <lshulov@???>
From: backup Admin <lshulov@???>
Subject: Mail test.

     Mail test.


in exim log file I see:
2007-09-17 09:02:31 1IXAcp-0005qr-0N <= lshulov@??? U=backup
P=local S=428
2007-09-17 09:02:31 1IXAcp-0005qr-0N ** lshulov@???
<lshulov@???>: Unrouteable address
2007-09-17 09:02:32 1IXAcp-0005qt-Sl <= <> R=1IXAcp-0005qr-0N
U=Debian-exim P=local S=1282
2007-09-17 09:02:32 1IXAcp-0005qr-0N Completed
2007-09-17 09:02:32 1IXAcp-0005qt-Sl ** lshulov@???
<lshulov@???>: Unrouteable address
2007-09-17 09:02:32 1IXAcp-0005qt-Sl Frozen (delivery error message)

My exim4 configuration is:
Split configuration into small files:
    <Yes>
General type of mail configuration:
       internet site; mail is sent and received directly using SMTP
System mail name:
    mydomain.com
IP-addresses to listen on for incoming SMTP connections:
    127.0.0.1
Other destinations for which mail is accepted:


Domains to relay mail for:
    mail.domain.com
Machines to relay mail for:
    192.168.0.0/24
Keep number of DNS-queries minimal (Dial-on-Demand)?:
    <No>
Delivery method for local mail:
    mbox format in /var/mail/


If i send mail to otherdomain.com:
2007-09-17 09:20:11 1IXAtv-0005sw-Iv <= lshulov@??? U=backup
P=local S=420
2007-09-17 09:20:18 1IXAtv-0005sw-Iv => lshulov@???
R=dnslookup T=remote_smtp H=mail.otherdomain.com [212.67.202.123]
X=TLS-1.0:RSA_3DES_EDE_CBC_
SHA1:24 DN="C=GB,ST=Nottinghamshire,L=Nottingham,O=PIPEX
Hosting,CN=gold.webfusion.co.uk,EMAIL=hosting-support@???"
2007-09-17 09:20:18 1IXAtv-0005sw-Iv Completed

Thank you,

Leonid




Magnus Holmgren wrote:
> On Sunday 16 September 2007 15:22, Leonid Shulov wrote:
>
>> My SMTP server don't accept mail from local user to user on E-mail
>> server domain.
>> Using aliases - don't help me.
>>
>> How can I send mail without local user (p=local) in body of E-mail?
>>
>
> You have to provide a lot more details. Exactly what are you trying to do (for
> starters, P=local suggests that you're using the command-line interface) and
> exactly what happens then?
>