Re: Clues to send mail on LAN through Postfix?

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

 



Anne Wilson escreveu:
On Tuesday 14 November 2006 13:03, Vinicius wrote:
Hello,

I'm trying to send a message on LAN through Postfix, but Postfix can't
resolve the host name. Any clues, please?

myhost.mydomain resolves to 10.20.30.40 by /etc/hosts.


TIA, Vinicius.

Sending a message:
"
# mail -v -s 'Testing sending message' root
Testing sending message.
Cc:
root... Connecting to [127.0.0.1] via relay...
220 myhost ESMTP Postfix (2.3.3)

 >>> EHLO myhost.mydomain

250-myhost
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

 >>> MAIL From:<root@xxxxxxxxxxxxxxx> SIZE=74

250 2.1.0 Ok

 >>> RCPT To:<root@xxxxxxxxxxxxxxx>
 >>> DATA

250 2.1.5 Ok
354 End data with <CR><LF>.<CR><LF>

 >>> .

250 2.0.0 Ok: queued as 4627A33DD83
root... Sent (Ok: queued as 4627A33DD83)
Closing connection to [127.0.0.1]

 >>> QUIT

221 2.0.0 Bye
"

/var/log/maillog :
"
Nov 14 10:45:58 myhost postfix/postfix-script: starting the Postfix mail
system
Nov 14 10:45:58 myhost postfix/master[24964]: daemon started -- version
2.3.3, configuration /etc/postfix
Nov 14 10:46:41 myhost sendmail[24980]: kAECkfsm024980: from=root,
size=74, class=0, nrcpts=1, msgid=<200611141246.kAECkfsm024
980@xxxxxxxxxxxxxxx>, relay=root@localhost
<snip>
The answer is probably somewhere in /etc/postfix/main.conf. Can you post that file, please?

Anne



main.cf:
...
myhostname = myhost.mydomain
mydomain = mydomain
myorigin = $myhostname
inet_interfaces = $myhostname, localhost
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks_style = subnet
...

I would like to send mail on my local LAN.


TIA,
Vinicius.

--
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