Re: [qmailtoaster] Fully qualified hostname with multiple domain names
Eric Shubert wrote: Jake Vickers wrote: Eric Shubert wrote: Interesting. I don't buy that using an IP address is necessarily the best practice though. Here are my thoughts on this. It does not matter so much these days, but it used to be best practice for multi-domain machines that accept mail. The reason being that when a connection is coming in the recipient server has no idea (initially) what domain the message is destined for, so it should answer with an IP address since this IP address *should always* be the answer when checking a domain's MX record versus the domain name which may not be related to the recipient domain. For diagnosing purposes when the sending admin checks the logs and sees the IP address for the server he can then check the MX record and verify the IP address. These days it's a given that a mail server is accepting mail for multiple domains and this does not matter as much, but I have seen it used for a lot of older email shops. Thanks for the explanation Jake. To be honest though, I don't really follow your logic. This has nothing to do with MX records that I've seen in the RFCs. BL, I agree it doesn't matter much, at least until a server refuses mail from you because of it. I still think that the best value here is a hostname that has a type A record matching the IP address that is used to connect to the host. If this is the case and a receiving server has a problem with the name, then I think the problem lies with the receiving server. The MX record is a side item and really means nothing. I was throwing that in there to show some diagnostic uses. I deliver a message to you at mail.shubes.net. Your server response that it's [192.168.0.1] since it does not know what domain the incoming message is for. This can sometimes give you less problems than mailers that expect to connect to mail.shubes.net when your server responds that it's incoming.ejs.net or something. It also can cause less problems in the corporate world if some brighter-than-normal person performs a telnet session and finds that you're not only running their email, but a competitor's as well or other similar situation. - 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
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
quote It also can cause less problems in the corporate world if some brighter-than-normal person performs a telnet session and finds that you're not only running their email, but a competitor's as well or other similar situation. I liked this answer so much because I have a situation like this :) Regards Lucian Jake Vickers wrote: Eric Shubert wrote: Jake Vickers wrote: Eric Shubert wrote: Interesting. I don't buy that using an IP address is necessarily the best practice though. Here are my thoughts on this. It does not matter so much these days, but it used to be best practice for multi-domain machines that accept mail. The reason being that when a connection is coming in the recipient server has no idea (initially) what domain the message is destined for, so it should answer with an IP address since this IP address *should always* be the answer when checking a domain's MX record versus the domain name which may not be related to the recipient domain. For diagnosing purposes when the sending admin checks the logs and sees the IP address for the server he can then check the MX record and verify the IP address. These days it's a given that a mail server is accepting mail for multiple domains and this does not matter as much, but I have seen it used for a lot of older email shops. Thanks for the explanation Jake. To be honest though, I don't really follow your logic. This has nothing to do with MX records that I've seen in the RFCs. BL, I agree it doesn't matter much, at least until a server refuses mail from you because of it. I still think that the best value here is a hostname that has a type A record matching the IP address that is used to connect to the host. If this is the case and a receiving server has a problem with the name, then I think the problem lies with the receiving server. The MX record is a side item and really means nothing. I was throwing that in there to show some diagnostic uses. I deliver a message to you at mail.shubes.net. Your server response that it's [192.168.0.1] since it does not know what domain the incoming message is for. This can sometimes give you less problems than mailers that expect to connect to mail.shubes.net when your server responds that it's incoming.ejs.net or something. It also can cause less problems in the corporate world if some brighter-than-normal person performs a telnet session and finds that you're not only running their email, but a competitor's as well or other similar situation. - 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
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
Lucian Cristian wrote: quote It also can cause less problems in the corporate world if some brighter-than-normal person performs a telnet session and finds that you're not only running their email, but a competitor's as well or other similar situation. I liked this answer so much because I have a situation like this :) Regards Lucian I have the same dog-bite in my rear as well ;) - 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
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
Eric Shubert wrote: Interesting. I don't buy that using an IP address is necessarily the best practice though. Here are my thoughts on this. It does not matter so much these days, but it used to be best practice for multi-domain machines that accept mail. The reason being that when a connection is coming in the recipient server has no idea (initially) what domain the message is destined for, so it should answer with an IP address since this IP address *should always* be the answer when checking a domain's MX record versus the domain name which may not be related to the recipient domain. For diagnosing purposes when the sending admin checks the logs and sees the IP address for the server he can then check the MX record and verify the IP address. These days it's a given that a mail server is accepting mail for multiple domains and this does not matter as much, but I have seen it used for a lot of older email shops. - 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
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
Jake Vickers wrote: Eric Shubert wrote: Interesting. I don't buy that using an IP address is necessarily the best practice though. Here are my thoughts on this. It does not matter so much these days, but it used to be best practice for multi-domain machines that accept mail. The reason being that when a connection is coming in the recipient server has no idea (initially) what domain the message is destined for, so it should answer with an IP address since this IP address *should always* be the answer when checking a domain's MX record versus the domain name which may not be related to the recipient domain. For diagnosing purposes when the sending admin checks the logs and sees the IP address for the server he can then check the MX record and verify the IP address. These days it's a given that a mail server is accepting mail for multiple domains and this does not matter as much, but I have seen it used for a lot of older email shops. Thanks for the explanation Jake. To be honest though, I don't really follow your logic. This has nothing to do with MX records that I've seen in the RFCs. BL, I agree it doesn't matter much, at least until a server refuses mail from you because of it. I still think that the best value here is a hostname that has a type A record matching the IP address that is used to connect to the host. If this is the case and a receiving server has a problem with the name, then I think the problem lies with the receiving server. -- -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
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
Around three years ago I had some mail rejected because the greeting contained another domain name, maybe the destination had a very strict spam filter, and after changing it to ip the mail was accepted, I remember testing a lot with dnsstuff and following their advices Lucian Eric Shubert wrote: That'd be simple enough to do for dynamic addresses. Still begs the question, why is this considered best practice? There must be a reason of some sort. If it's best practice for servers with multiple domains, why wouldn't it also be best practice for servers with only one domain? I'm guessing it probably has something to do specifically with sending servers. Sending from a dynamic address doesn't work well due to RBLs. The use of smtproutes to relay outbound messages is pretty much required for a server on a dynamic address. Lucian Cristian wrote: 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.netbr...@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
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
Interesting. I don't buy that using an IP address is necessarily the best practice though. Here are my thoughts on this. First, from rfc2821 (http://www.ietf.org/rfc/rfc2821.txt): quote One important reply is the connection greeting. Normally, a receiver will send a 220 Service ready reply when the connection is completed. The sender SHOULD wait for this greeting message before sending any commands. Note: all the greeting-type replies have the official name (the fully-qualified primary domain name) of the server host as the first word following the reply code. Sometimes the host will have no meaningful name. See 4.1.3 for a discussion of alternatives in these situations. For example, 220 ISIF.USC.EDU Service ready or 220 mail.foo.com SuperSMTP v 6.1.2 Service ready or 220 [10.0.0.1] Clueless host service ready /quote quote 4.1.3 Address Literals Sometimes a host is not known to the domain name system and communication (and, in particular, communication to report and repair the error) is blocked. To bypass this barrier a special literal form of the address is allowed as an alternative to a domain name. For IPv4 addresses, this form uses four small decimal integers separated by dots and enclosed by brackets such as [123.255.37.2], which indicates an (IPv4) Internet Address in sequence-of-octets form. For IPv6 and other forms of addressing that might eventually be standardized, the form consists of a standardized tag that identifies the address syntax, a colon, and the address itself, in a format specified as part of the IPv6 standards [17]. /quote So we see that the IP address format is meant to be used when a host is not known to the domain name system. This is clearly not the case in server to server communications, and would thus be inappropriate in a QMT implementation (IMHO). This has nothing to do with virtual domains, nor with the domain names contained in the email messages. Its purpose is strictly to identify the host that's making the connection, in order to aid in troubleshooting. While one might argue that an IP address is a sufficient identifier, it is certainly less helpful for troubleshooting than having a proper fully qualified host name that is properly resolvable via DNS. It's also reasonable (IMHO) for a destination server to reject a connection from a server that provides a name in the greeting message that is not resolvable. If a server were to reject email based on the fact that the domain in the greeting did not match the domain name in a sender's address, that would be ludicrous, given the extent to which relays are used. Based on these observations, my recommendation and practice is to use the fully qualified host name in the /var/qmail/control/smtpgreeting file, as well as the helohost file. This is the same name that's used in a type A DNS record that resolves to the host's address, and is typically also referred to in a domain's MX record. I also believe that this should be considered the best practice. If someone can come up with a reason that this is not the best practice, I'm all ears. -- -Eric 'shubes' Lucian Cristian wrote: Around three years ago I had some mail rejected because the greeting contained another domain name, maybe the destination had a very strict spam filter, and after changing it to ip the mail was accepted, I remember testing a lot with dnsstuff and following their advices Lucian Eric Shubert wrote: That'd be simple enough to do for dynamic addresses. Still begs the question, why is this considered best practice? There must be a reason of some sort. If it's best practice for servers with multiple domains, why wouldn't it also be best practice for servers with only one domain? I'm guessing it probably has something to do specifically with sending servers. Sending from a dynamic address doesn't work well due to RBLs. The use of smtproutes to relay outbound messages is pretty much required for a server on a dynamic address. Lucian Cristian wrote: 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
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
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? 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. br...@b2associates.net: Connected to 208.89.132.34 but my name was rejected. Remote host said: 504 5.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 On Oct 2, 2009, at 5:35 PM, Eric Shubert 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 ) 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
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
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.netbr...@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.comqmailtoaster-list-unsubscr...@qmailtoaster.com mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: mailto:qmailtoaster-list-h...@qmailtoaster.comqmailtoaster-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
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
Please ignore the first part, Adam. I meant to delete it. Eric Shubert wrote: ignored 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.netbr...@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.comqmailtoaster-list-unsubscr...@qmailtoaster.com mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: mailto:qmailtoaster-list-h...@qmailtoaster.comqmailtoaster-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
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
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.netbr...@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
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
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.netbr...@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.comqmailtoaster-list-unsubscr...@qmailtoaster.com mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: mailto:qmailtoaster-list-h...@qmailtoaster.comqmailtoaster-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:
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
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? Not that I've ever seen. Should I put the IP address there instead of a host and domain name? I wouldn't. That bit on the wiki about putting the IP address in the me file is very old, and I don't know where it came from. As long as you use a name that correctly resolves with DNS you should be fine. 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.netbr...@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.comqmailtoaster-list-unsubscr...@qmailtoaster.com mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: mailto:qmailtoaster-list-h...@qmailtoaster.comqmailtoaster-list-h...@qmailtoaster.com mailto:qmailtoaster-list-h...@qmailtoaster.com -- -Eric 'shubes' -- -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
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
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.netbr...@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.comqmailtoaster-list-unsubscr...@qmailtoaster.com mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: mailto:qmailtoaster-list-h...@qmailtoaster.comqmailtoaster-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:
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
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.netbr...@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.comqmailtoaster-list-unsubscr...@qmailtoaster.com mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: mailto:qmailtoaster-list-h...@qmailtoaster.comqmailtoaster-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,
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
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.netbr...@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.comqmailtoaster-list-unsubscr...@qmailtoaster.com mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: mailto:qmailtoaster-list-h...@qmailtoaster.comqmailtoaster-list-h...@qmailtoaster.com mailto:qmailtoaster-list-h...@qmailtoaster.com -- -Eric 'shubes' - Qmailtoaster is sponsored by Vickers
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
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.netbr...@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.comqmailtoaster-list-unsubscr...@qmailtoaster.com mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: mailto:qmailtoaster-list-h...@qmailtoaster.comqmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
That'd be simple enough to do for dynamic addresses. Still begs the question, why is this considered best practice? There must be a reason of some sort. If it's best practice for servers with multiple domains, why wouldn't it also be best practice for servers with only one domain? I'm guessing it probably has something to do specifically with sending servers. Sending from a dynamic address doesn't work well due to RBLs. The use of smtproutes to relay outbound messages is pretty much required for a server on a dynamic address. Lucian Cristian wrote: 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.netbr...@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
[qmailtoaster] Fully qualified hostname with multiple domain names
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. 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. 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. 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
Re: [qmailtoaster] Fully qualified hostname with multiple domain names
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) 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