mailx not sending mail

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

mailx not sending mail

Post by Atip »

Salix XFCE4-13.37

I can't get mailx to work since apparently it is looking for a darkstar
server address instead of mine.

Code: Select all

cat /var/log/maillog
Dec  9 10:45:16 hailmx sm-mta[6205]: pB92jG6C006205: ruleset=check_mail,
arg1=<hailmx@darkstar>, relay=localhost [127.0.0.1], reject=553 5.1.8
<hailmx@darkstar>... Domain of sender address hailmx@darkstar does not exist
Where does it get that darkstar from and how can I change it?

/etc/HOSTNAME reads: "hailmx.smartbro.net" so does /etc/hosts

Further to mention before XFCE4 comes up it gives an error message
"could not look-up internet address for darkstar ......"

I have no such problem in my working box Fluxbox-13.37, mailx with sendmail are working
and mail is being send.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: mailx not sending mail

Post by thenktor »

What's the output of hostname -f?
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: mailx not sending mail

Post by laprjns »

Atip wrote:Salix XFCE4-13.37
Where does it get that darkstar from and how can I change it?.
Salix Menu > System > Hostname

Image
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: mailx not sending mail

Post by Atip »

$ hostname
darkstar
$ hostname -f
hostname: Unknown host

Salix Menu > System > Hostname the seeting there is correct.

Now if I change the hostname to correct entries the mail gets still stuck.

Code: Select all

tail /var/log/maillog
 Dec 10 14:25:59 hailmx sendmail[2530]: pBA6Pv7j002530: to=mainit@operamail.com, ctladdr=mailmx (1000/100), delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=30257, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (pBA6PwBT002531 Message accepted for delivery)
Dec 10 14:26:21 hailmx sendmail[2538]: gethostbyaddr(192.168.x.xxx) failed: 1
Dec 10 14:36:10 hailmx sendmail[2919]: gethostbyaddr(192.168.x.xxx) failed: 1
Now the maillog says it is sent, however, it does not get delivered. Makes sense ???

The change of the hostname is also not permanent. When rebooting it is back to darkstar.
Post Reply