Afficher un message
Vieux 19/09/2006, 16h10   #8
mega
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sender address user@mydomain.de instead of user@host.mydomain.de?

Pete wrote:
> Hi,
>
> just to clarify things: Sendmail on this partition doesn't act as an
> MTA for other hosts. In fact, sendmail isn't running at all. I've seen
> that it's started for a short moment when I run /usr/bin/mail. The AIX
> partition is just an SMTP client and wants to send mails to our MTA
> (MS-Exchange).
>
> Of course I've checked sendmail.org but isn't that easy to understand
> ....
>
> My aixsample.mc looks like this now, but the MASQUERADE_AS option seems
> not to have any effect:
>
> # Sample AIX file
> divert(0)dnl
> OSTYPE(aixsample)dnl
> FEATURE(genericstable)dnl
> FEATURE(virtusertable)dnl
> FEATURE(masquerade_entire_domain)dnl
> FEATURE(masquerade_envelope)dnl
> FEATURE(accept_unresolvable_domains)dnl
> FEATURE(accept_unqualified_senders)dnl
> FEATURE(no_default_msa)
> MASQUERADE_AS(`mydomain.de')dnl
> DOMAIN(generic)dnl
> define(`confSMTP_LOGIN_MSG', `$j Sendmail $b')
> MAILER(local)dnl
> MAILER(smtp)dnl
> MAILER(uucp)
>
> When I send a mail on this partition I get the following (I changed our
> real domain to mydomain.de ;-)):
>
> root@aixutil: /etc/mail # mail -v -s Test user@mydomain.de < /dev/zero
> Null message body; hope that's ok
> user@mydomain.de... Connecting to mail.mydomain.de. via esmtp...
> 220 ntex1.mydomain.de ESMTP Server (Microsoft Exchange Internet Mail
> Service 5.5.2657.72) ready
>>>> EHLO host.mydomain.de

> 250-ntex1.mydomain.de Hello [host.mydomain.de]
> 250-XEXCH50
> 250-
> 250-ETRN
> 250-DSN
> 250-SIZE 0
> 250-AUTH LOGIN
> 250 AUTH=LOGIN
>>>> MAIL From:<root@host.mydomain.de> SIZE=48

> 250 OK - mail from <root@host.mydomain.de>; can accomodate 48 bytes
>>>> RCPT To:<user@mydomain.de>

> 250 OK - Recipient <user@mydomain.de>
>>>> DATA

> 354 Send data. End with CRLF.CRLF
>>>> .

> 250 OK
> user@mydomain.de... Sent (OK)
> Closing connection to mail.mydomain.de.
>>>> QUIT

> 221 closing connection
> root@host: /etc/mail #
>
> In the EHLO and the Mail From lines we still have the host.... :-(
>
> Any ideas? TIA


You did compile sendmail.cf from this and install it to /etc/mail?

cheers

Erich

  Réponse avec citation
 
Page generated in 0,06492 seconds with 9 queries