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] Create New domain from existing
Thanks Eric, Thats solves the problem. Thanks once again. Regards, Amit On Sun, Oct 4, 2009 at 3:54 AM, Eric Shubert e...@shubes.net wrote: amit IKF wrote: Hi Eric/JP, Thanks..Thats the good idea. Also suddenly I'm getting 1 error while executing qmailctl cdb. Please find error below: [r...@email tcprules.d]# qmailctl cdb tcprules: fatal: unable to parse this line: 127.:allow,RELAYCLIENT=,DKSIGN=/var/qmail/control/domainkeys/%/private,RBLSMTPD=,NOP0FCHECK=1 Reloaded /etc/tcprules.d/tcp.smtp Reloaded /var/qmail/control/badmimetypes.cdb Any idea. Regards, Amit Looks ok to me. Did you edit it with a DOS program perhaps (giving it a CRLF at the end)? dos2unix would fix that. -- -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] From_failed problem
Thanks you for reply /How many messages do you expect to queue up? What is the size of each email? How much disk space is free on your toaster? From the little bit you've said, it sounds like perhaps the toaster is running out of space for the queue /I expect to send between 40.000 and 80.000 emails per day. Actually i'm sending in another machine (an old qmailrocks install, no toaster) and it's no problem. Each email size is about 7Kb. Free disk in toaster server: # df -h FilesystemSize Used Avail Use% Mounted on /dev/sda2 450G 1.8G 425G 1% / /dev/sda1 99M 12M 83M 12% /boot tmpfs 1.5G 0 1.5G 0% /dev/shm The user sending emails have a quota of: 0.00 / 5.00 MB (incoming emails for that account are deleted) Perhaps a problem of space in the queue? How can i increase it? Thanks Eric Shubert escribió: Fernando Ortega wrote: Hi, i'm having a problem with a QmailToaster server. When i send thousans emails (launched by a script with phpmailer in our mailinglist) from another machine on internet throught QmailToaster server, i get the followin error: Error: Language string failed to load: recipients_failedEMAIL1. Error: Language string failed to load: data_not_accepted. Error: Language string failed to load: recipients_failedEMAIL2. Error: Language string failed to load: recipients_failedEMAIL3. I stop the script, restart, and the problem continues. First time, i can send between 1000 and 2000 emails. Second time when i stop and restart script, i cant send any email. If i wait some hours, i cand send again until the problem occurs again. My /etc/tcprules.d/tcp.smtp for that IP is: xx.xx.xx.xx:allow,RELAYCLIENT=,RBLSMTPD=,SENDER_NOCHECK=1 Can you help me please? What's the problem? That's really hard to say given what you've said so far. I think it's safe to say though that your script is overwhelming your toaster. The errors that you've shown tell us nothing about what the QMT server is doing. How many messages do you expect to queue up? What is the size of each email? How much disk space is free on your toaster? From the little bit you've said, it sounds like perhaps the toaster is running out of space for the queue. - 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] RE: Mails not being scanned / filtered by SA server
Dear Atul, Can you send mail header of your 1st server by sending test mail, Without forward to 2nd server or did you check the header of any mail when it is hit on you first server. -- Regards, Ganesh P On Tue, Sep 29, 2009 at 10:36 PM, Atul Paralikar a...@etisbew.com wrote: Any resolution for this problem?
Re: [qmailtoaster] From_failed problem
W dniu 04.10.2009 15:47, Fernando Ortega pisze: [...] Perhaps a problem of space in the queue? How can i increase it? Thanks I don't think, the problem is in phpmailer, search the Google: http://www.google.pl/search?q=phpmailer+%22Language+string+failed+to+load -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - 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] From_failed problem
But the same script is working with another mail server fine, without problems. The Language string problem it's only a warning because the lang directory isn't installed, but isn't important. Aleksander Podsiadly escribió: W dniu 04.10.2009 15:47, Fernando Ortega pisze: [...] Perhaps a problem of space in the queue? How can i increase it? Thanks I don't think, the problem is in phpmailer, search the Google: http://www.google.pl/search?q=phpmailer+%22Language+string+failed+to+load - 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] Setting up horde for mail
Hi, Anybody on this list is using horde instead of squirrelmail. Regards, Vidyadhar - 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] From_failed problem
W dniu 04.10.2009 18:49, Fernando Ortega pisze: But the same script is working with another mail server fine, without problems. The Language string problem it's only a warning because the lang directory isn't installed, but isn't important. [...] Check the log files (Apache, QMT, system), IMO there should be an answer. -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - 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] Setting up horde for mail
The answer is given a few weeks ago. I noted on my wiki (horde is on my todo list): * Installing horde http://wiki.horde.org/CentOS5InstallationNotes on CentOS5? http://192.168.1.70/foswiki/bin/edit/Main/CentOS5?topicparent=Main.MailServerTipsAndTricks. Ignore the stuff about the underlying mailser parts. Tip: run the MySQL? http://192.168.1.70/foswiki/bin/edit/Main/MySQL?topicparent=Main.MailServerTipsAndTricks script manually. Another solution: edit |/$HORDE/imp/config/servers.php| $servers['imap'] = array( 'name' = 'IMAP Server', 'server' = 'localhost', 'folders' = 'INBOX.', 'hordeauth' = false, 'protocol' = 'imap/notls', 'port' = 143, ); and in |$HORDE/config/conf.php| add |$conf['auth']['params']['app'] = 'imp';| and |$conf['auth']['driver'] = 'application';|. I hope it helps. Richard Vinke. Vidyadhar wrote: Hi, Anybody on this list is using horde instead of squirrelmail. Regards, Vidyadhar - 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
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] From_failed problem
Aleksander Podsiadly wrote: W dniu 04.10.2009 18:49, Fernando Ortega pisze: But the same script is working with another mail server fine, without problems. The Language string problem it's only a warning because the lang directory isn't installed, but isn't important. [...] Check the log files (Apache, QMT, system), IMO there should be an answer. I agree. The smtp log is the first thing I'd check, since that's where they'd be coming in. The send log should show them going out. qmlog is a good tool for checking QMT logs. See http://qtp.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