Jump to content

I am not fully qualified, I want to be.


Guest giap01
 Share

Recommended Posts

Guest giap01

All,

Thanks for looking at this.

I have had my mandrake 9.1 up and running for a couple of weeks now, all is cool so far, just ironing out an issue (for me) a week.

 

I tried to send an e-mail message from the command line.

All went fine till I tried to send. I got the following message.

 

[pat@jughead pat]$ send-mail: warning: My hostname jughead is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf

postdrop: warning: My hostname jughead is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf

 

The box is hooked up to the internet, I did get that going.

 

I did change my box's name to 'jughead' a while back and I can hit it from other machines on my network in IE by typing in 'jughead' in the address line.

 

What is Fully Qualified? How do I get Fully Qualified?

 

Thanks,

Pat G.

Link to comment
Share on other sites

Guest giap01

I went into /etc/postfix/main.cf and entered in host.jughead.com as the myhostname. I tried sending myself 'pat@jughead' a mail message and it came back undeliverable.

Getting fully qualified, is this something that I can do on my machine with the current configuration (hooked to the internet throught a router) or do I need a different setup?

I want to be able to send out e-mails.

 

Thx

Link to comment
Share on other sites

All that you need to do is make your hostname fully qualified - i.e. mine is kirstine.lombok.org.uk, with kirstine being the name of the computer (like your "jughead" and lombok.org.uk qualifying it as a full domain name. I don't think the domain name actually has to exist or be owned by you - not certain on that though.

 

Jut change it to a fully qualified name and Postfix should be fine

Link to comment
Share on other sites

Guest giap01

I went into /etc/postfix/main.cf and changed my hostname to 'jughead.omneb.us.com' and restarted. I tried to send an e-mail and it came back. The error message said that my ISP did not recognize it as a valid 'from'. I also tried 'jughead.52monkeys.com' (www.52monkeys.com is MY website) and that did not work. What's up?

Link to comment
Share on other sites

Guest giap01

Yes it was, I changed it back to 'jughead.omneb.us.com' and sent a mail as

'root' and it did not come back. It has not shown up where I sent it to

either. I then changed permissions on the mail.cf file and sent a mail as

me: pat and it just came back (as I'm writing this). Here is the error mssg:

 

Message 1:

From MAILER-DAEMON  Sun Aug  3 09:52:38 2003

X-Original-To: pat@jughead.omneb.us.com

Delivered-To: pat@jughead.omneb.us.com

Date: Sun,  3 Aug 2003 10:52:38 -0400 (EDT)

From: MAILER-DAEMON@jughead.omneb.us.com (Mail Delivery System)

Subject: Undelivered Mail Returned to Sender

To: pat@jughead.omneb.us.com

MIME-Version: 1.0

Content-Type: multipart/report; report-type=delivery-status;

       boundary="C467F9C672.1059922358/jughead.omneb.us.com"



This is a MIME-encapsulated message.



--C467F9C672.1059922358/jughead.omneb.us.com

Content-Description: Notification

Content-Type: text/plain



This is the Postfix program at host jughead.omneb.us.com.



I'm sorry to have to inform you that the message returned

below could not be delivered to one or more destinations.



For further assistance, please send mail to <postmaster>

                                                                               

If you do so, please include this problem report. You can

delete your own text from the message returned below.

                                                                               

                       The Postfix program

                                                                               

<giambattista@cox.net>: host mx.west.cox.net[68.6.19.3] said: 553

   jughead.omneb.us.com does not exist (in reply to MAIL FROM command)

                                                                               

--C467F9C672.1059922358/jughead.omneb.us.com

Content-Description: Delivery error report

Content-Type: message/delivery-status

                                                                               

Reporting-MTA: dns; jughead.omneb.us.com

Arrival-Date: Sun,  3 Aug 2003 10:52:05 -0400 (EDT)

                                                                               

Final-Recipient: rfc822; giambattista@cox.net

Action: failed

Status: 5.0.0

Diagnostic-Code: X-Postfix; host mx.west.cox.net[68.6.19.3] said: 553

   jughead.omneb.us.com does not exist (in reply to MAIL FROM command)



   --C467F9C672.1059922358/jughead.omneb.us.com

Content-Description: Undelivered Message

Content-Type: message/rfc822

                                                                               

Received: by jughead.omneb.us.com (Postfix, from userid 501)

       id C467F9C672; Sun,  3 Aug 2003 10:52:05 -0400 (EDT)

To: giambattista@cox.net

Subject: Another try: jughead.omneb.us.com

Cc: pgiambat@52monkeys.com

Message-Id: <20030803145205.C467F9C672@jughead.omneb.us.com>

Date: Sun,  3 Aug 2003 10:52:05 -0400 (EDT)

From: pat@jughead.omneb.us.com (Pat Giambattista)

                                                                               

jughead.omneb.us.com

                                                                               

--C467F9C672.1059922358/jughead.omneb.us.com--

 

There you go. Thats what is happening.

 

Thanks,

Pat

Link to comment
Share on other sites

Hi

 

In the /etc/postfix/main.cf file, you'll find two variables: "myhostname" and "mydomain'. I believe the last is actually more important than the first, as I just realised I got "myhostanme" instead of "myhostname"!...

Anyway, I'm far from being an expert but I realised that, to have a fully qualified hostname, you should give values to both those variables (and it can be most anything - I got it working with stuff like "jeanackle.casa").

 

Using the las hostname you specified, it would be:

myhostname = jughead.omneb.us.com

and

mydomain = omneb.us.com

 

Try that :wink:

Link to comment
Share on other sites

Guest BooYah

I wonder if it's not something with your server. Their mailer cannot verify jughead.omneb.us.com is a valid/registered domain so your message gets flagged as potential spam?

Link to comment
Share on other sites

Guest giap01

All,

Thanks for the suggestions guys. I've been on vacation, the reason for not posting back.

Let me get this straight: If I get this set up correctly... I should be able to send mail to anyone at any (good) e-mail address fromt the comand line using the mail command?!?!

If this is true, then don't I have to set up my box to point toward a mail server, incoming at least?!?!

Anyhow, here is what I have for settings in my main.cf file in /etc/postfix:

 

myhostname = jughead.omned.us.com

 

mydomain = omneb.us.com

 

I can set up a mail client (and some mail accounts with all the smtp incoming and outgoing settings and all that) to go out and hook up and get my mail. I want to (if it is possible) send e-mails from the command line. I like to keep some things GUI-Free.

 

There you go,

Thanks

 

giap01

Link to comment
Share on other sites

What I told you before works for me as for sending e-mails to any valid e-mail adress on the internet, NOT receiving! Don't ask me why. :) . Just type:

mail someone@some.mail.server

And that's that. Subject, message (terminated by a line containing a single '.' (dot), and Cc will be asked to you at the prompt.

 

Stil, you can receive e-mails form other users on your local machine. E.g.:

[user1@localhost ]$ mail user2

Subejct: Testing

This is a test.

.

Cc:

And user2 on the same machine user1 sent the e-mail from will get that e-mail.

 

Sorry, that's all I can tell you...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...