you can check for current ip by cron (I do this on some servers, never
use dynamic on mail servers) and replace it , the file can be modified
any time
Lucian
Eric Shubert wrote:
I can't imagine why that would be considered best practice, except
maybe to save a DNS lookup. Certainly doesn't work with dynamic
addresses. :(
Lucian Cristian wrote:
usually I don't use dynamic :)
there was a guide on http://www.dnsstuff.com/ (back when it was free)
and best practice for multiple domains was to use the ip address in
the greeteing,
Lucian
Eric Shubert wrote:
Where'd you get that info from?
What if your server is on a dynamic IP address???
Lucian Cristian wrote:
best practice is to use: [ip]
including []
Regards
Lucian
Adam Glass wrote:
Telnet to port 25 confirms it just shows pmcawab. The challenge is
that there are two domains, awabllc.com and parkermerrick.com. If
I put one of those in smtpgreeting will there be a problem sending
mail from the other domain? Should I put the IP address there
instead of a host and domain name?
Thanks!
--Adam
On Oct 3, 2009, at 3:31 PM, Eric Shubert <e...@shubes.net> wrote:
The receiving server doesn't like the host name it's seeing in
the smtp session.
You haven't told me (that I see)
Adam Glass wrote:
Here's the entire error message. The info on conf files I read
said to put the IP in the me file if using multiple virtual
hosts. For the other files it always said "me or..." and then
whatever went in that file. So I thought that meant to put the
word me in the file. Maybe it means to just not have that file
at all since the me file exists?
Right. In the absence of this file, it uses the contents of the
me file.
In the message below, pmcawab is the hostname of our mailserver...
====================
Hi. This is the qmail-send program at pmcawab.
I'm afraid I wasn't able to deliver your message to the
following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
< <mailto:br...@b2associates.net>br...@b2associates.net
<mailto:br...@b2associates.net>>:
Connected to 208.89.132.34 but my name was rejected.
Remote host said: 504 5.5.2 <tel:504%205.5.2> <pmcawab>: Helo
command rejected: need
fully-qualified hostname I'm not going to try again; this
message has been
in the queue too long.
==================== Thanks again!
--Adam
That's pretty meaningful as bounce messages go.
The receiving server doesn't like the host name it's seeing in
the smtp session. So the first thing to do is verify what it's
seeing. I can't do that since you haven't told me your domain name.
If you
# telnet my.mailserver.com 25
what do you see after the 220? That should be your fully
qualified host name (followed by QMT identification stuff).
Change the value in /var/qmail/control/smtpgreeting to contain
your fully qualified host name, and I'm guessing that'll fix your
problem. I think you'll need to restart qmail after changing this
file (qmailctl restart).
On Oct 2, 2009, at 5:35 PM, Eric Shubert <e...@shubes.net
<mailto:e...@shubes.net>> wrote:
Adam Glass wrote:
Hello,
We are running qmail toaster with two virtual domain names.
We can send mail to most addresses, but now have run into a
recipient who rejects our messages. The key phrase in the
error message is "need fully qualified hostname".
What is the entire error message? Is it in a bounce message?
Please post the entire bounce if possible.
I think the problem is that some control files have just the
server's hostname in them. Those files are: me,
defaultdomain, defaulthost, locals, plusdomain, rcpthosts and
smtpgreeting.
See the wiki for what should be in these files.
I think the solution is to have the me file contain only the
server's IP address, and then change the other files above so
they just have the word me in them.
I don't think putting the word me in any file works.
However, I am not sure about rcpthosts (it currently has the
two domain names in it - should I leave it alone?) and
smtpgreeting (do I just change the first word to me ?).
Any advice would be most appreciated.
Thanks!
--Adam
--
-Eric 'shubes'
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com <http://www.vickersconsulting.com>)
Vickers Consulting Group offers Qmailtoaster support and
installations.
If you need professional help with your setup, contact them
today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com <http://qmailtoaster.com> for
the latest news, updates, and packages.
To unsubscribe, e-mail:
<mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com>qmailtoaster-list-unsubscr...@qmailtoaster.com
<mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com>
For additional commands, e-mail:
<mailto:qmailtoaster-list-h...@qmailtoaster.com>qmailtoaster-list-h...@qmailtoaster.com
<mailto:qmailtoaster-list-h...@qmailtoaster.com>
--
-Eric 'shubes'
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and
installations.
If you need professional help with your setup, contact them
today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates,
and packages.
To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and
installations.
If you need professional help with your setup, contact them
today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates,
and packages.
To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4478 (20091003) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4478 (20091003) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and
installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and
packages.
To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4478 (20091003) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com