On my set up I never modified the assign file at all it was all done by qmail. It is possible that something in the assign file is incorrect, or file permissions/ownership have changed in which case it may be the cause of the problem, but it's hard to say.
It sounds like it might be easier, to uninstall qmail and start from scratch. Get the one domain working fine first, then add the virtual or alias domains in one at a time testing each as you go along. Only modify files that you really need to and leave the rest up to qmail. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2007 14:32 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] rcpthosts file Benedict: I think if I remove the rcpthosts file the server will act as an open relay, right? Which is somethinng I don't want to do, of course:-) (Correct me if I'm wrong) Craig, When I tried to remove the vdomains with vdeldomain I have this message: # /home/vpopmail/bin/vdeldomain company.com Warning: Alias domains exist: company.gr company.net use -f to force delete of domain and all aliases This remembers me that I had modified manually the /var/qmail/users/assign file like this: +company.com-:company.com:89:89:/home/vpopmail/domains/company.com:-:: +company.gr-:company.com:89:89:/home/vpopmail/domains/company.com:-:: +company.net-:company.com:89:89:/home/vpopmail/domains/company.com:-:: I thought I did this in order to have all users assigned to a single .com domain but I don't think this would be the reason of the problem right? Marcos --- On Wed 05/02, Benedict Claver < [EMAIL PROTECTED] > wrote: From: Benedict Claver [mailto: [EMAIL PROTECTED] To: qmailtoaster-list@qmailtoaster.com Date: Wed, 2 May 2007 06:07:57 -0700 (PDT) Subject: RE: [qmailtoaster] rcpthosts file Hi Mark,<br><br>Something seems not to be happening correctly as was<br>expected for the rcpthosts file, though I have not yet<br>established. <br><br>As a temporary solution to that you can remove or<br>rename the rcpthost file eg rcpthost.bak and you will<br>be able to send and receive from any domain. It worked<br>here.<br><br>Regards,<br>Benny<br><br><br>--- <[EMAIL PROTECTED]> wrote:<br><br>> <br>> <br>> Hi Craig,<br>> <br>> I send the messages from this account on the<br>> internet, [EMAIL PROTECTED], to my company mail<br>> server.<br>> <br>> The other message I receive from the mail server is<br>> this:<br>> <br>> Hi. This is the qmail-send program at<br>> mailhost2.adacom.com. <br>> I'm afraid I wasn't able to deliver your message to<br>> the following addresses. <br>> This is a permanent error; I've given up. Sorry it<br>> didn't work out.<br>> <br>> <[EMAIL PROTECTED]>: <br>> Sorry. Although I'm listed as a best-preference MX<br>> or A for that host, <br>> it isn't in my control/locals file, so I don't treat<br>> it as local. (#5.4.6)<br>> <br>> <br>> I checked the /control/locals file and I had the<br>> following:<br>> <br>> [EMAIL PROTECTED] control]# cat locals<br>> localhost<br>> mailhost2.company.com<br>> <br>> Since I'm using virtual domains and the account I<br>> try to reach is [EMAIL PROTECTED] I added this new<br>> entry with .net hoping this would solve the problem:<br>> <br>> [EMAIL PROTECTED] control]# cat locals<br>> localhost<br>> mailhost2.adacom.com<br>> mailhost2.adacom.net<br>> <br>> <br>> I tried again but had exactly the same error message<br>> again <br>> <br>> I have a look at the /var/log/qmail/smtp/current and<br>> found this:<br>> <br>> @4000000046387ccf33b718fc CHKUSER accepted sender:<br>> from <[EMAIL PROTECTED]::> remote<br>> <excite.com:unknown:207.159.120.62> rcpt <> : sender<br>> accepted<br>> @4000000046387ccf33c71aa4 CHKUSER accepted rcpt:<br>> from <[EMAIL PROTECTED]::> remote<br>> <excite.com:unknown:207.159.120.62> rcpt<br>> <[EMAIL PROTECTED]> : found existing<br>> recipient<br>> @4000000046387cd00757c4b4 simscan:[3709]:CLEAN<br>><br>(3.30/12.00):0.2489s:test:207.159.120.62:mark0s @excite.com:[EMAIL PROTECTED]:<br>> @4000000046387cd00a5aeeac tcpserver: end 3709 status<br>> 0<br>> @4000000046387cd00a5b40b4 tcpserver: status: 0/100<br>> <br>> <br>> Nothing more...<br>> <br>> What do you think?<br>> <br>> Marcos<br>> <br>> --- On Wed 05/02, Craig Smith < [EMAIL PROTECTED] ><br>> wrote:<br>> From: Craig Smith [mailto: [EMAIL PROTECTED]<br>> To: qmailtoaster-list@qmailtoaster.com<br>> Date: Wed, 2 May 2007 12:43:03 +0100<br>> Subject: RE: [qmailtoaster] rcpthosts file<br>> <br>> It's probably the client side with the problem. The<br>> ip's in the tcp.smtp<br>file are the ip's outside<br>> the company that you want to allow to relay<br>> mail<br>through your server.<br><br>I'm assuming the<br>> problem is as follows. <br><br>External Client A<br>> from outside has email configured to relay through<br>> your<br>server, so in Outlook outgoing smtp server =<br>> your mail server.<br><br>However client a's ip<br>> address is not in tcp.smtp and they are not using<br>> smtp<br>server with authentication.<br><br>I'm not<br>> entirely sure, but I think that's roughly the<br>> problem you are<br>running into.<br><br>do you get<br>> the same error when you email from say hotmail? <br>> What is the<br>exact bounce message?<br><br>Also<br>> what do the logs files say at the time mail is<br>> sent?<br><br>tail /var/log/maillog<br>tail<br>> /var/log/qmail/smtp/current<br><br><br>-----Original<br>> Message-----<br>From: [EMAIL PROTECTED]<br>> [mailto:[EMAIL PROTECTED] <br>Sent: 02 May 2007<br>> 11:32<br>To:<br>> qmailtoaster-list@qmailtoaster.com<br>Subject: <br>> RE: [qmailtoaster] rcpthosts file<br><br><br>Hi, I<br>> have all the company IPs in tcp.smtp and it looks to<br>> work fine but<br>the problem is from outside the<br>> company. I use authentication for<br>> this<br>[EMAIL PROTECTED] user with <br>> /home/vpopmail/bin/vchkpw <br>> on<br>/var/qmail/supervise/smtp/run and<br>> /var/qmail/supervise/pop3/run. This user<br>exists<br>> in the vpopmail database so I guess it is there<br>> where the vchkpw<br>program looks when it needs to<br>> authenticate a user connecting from<br>> outside.<br>Right? If this is right why I can not<br>> connect yet? Marcos --- On Wed<br>05/02, Craig<br>> Smith < [EMAIL PROTECTED] > wrote: From: Craig Smith<br>> [mailto:<br>[EMAIL PROTECTED] To:<br>> qmailtoaster-list@qmailtoaster.com Date: Wed, 2<br>> May<br>2007 11:08:05 +0100 Subject: RE:<br>> [qmailtoaster] rcpthosts file <br>> Hi<br>There,<br><br>Are they by any chance using<br>> your server as the outgoing smtp<br>server? <br>> I've<br>had that error crop up, when an unauthorized<br>> user is using<br>our server for<br>the outgoing <br>> server. They either need to use<br>authenticated<br>> login or their<br>ip needs to be added to the<br>> tcp.smtp file if<br>this is the case.<br><br><br>> <br><br>-----Original<br>> Message-----<br>From:<br>[EMAIL PROTECTED]<br>> [mailto:[EMAIL PROTECTED] <br>Sent: 02 May<br>> 2007<br>09:52<br>To:<br>> qmailtoaster-list@qmailtoaster.com<br>Subject:<br>> [qmailtoaster]<br>rcpthosts file<br><br><br>Hello, <br>> I'm using qmail toaster with fedora 6. I<br>have<br>> configured POP3 and<br>IMAP for my company mail<br>> server and I'm doing<br>the first tests right<br>> now.<br>When I send an email from a company<br>> account<br>with same domain to the<br>[EMAIL PROTECTED]<br>> account I've created with the same<br>company domain<br>> it receives<br>these emails from POP3 account and<br>> IMAP<br>account. When I send an email<br>> from<br>[EMAIL PROTECTED], IMAP and POP3, to<br>an<br>> outside email like <br>[EMAIL PROTECTED]<br>again it<br>> is a success. The problem starts when I try<br>to<br>> send email from<br>outside to this [EMAIL PROTECTED]<br>> account, IMAP or<br>POP3. I <br>> receive the<br>following email in Outlook express<br>> client when trying<br>to send: 'Server<br>Response:<br>> 553, sorry that domain isn't in my list<br>> of<br>allowed rcpthosts<br>(#5.5.3 - chkuser)' The<br>> contents of my rcpthosts<br>> file<br>are:<br>mail-server.company.com company.com<br>> company.net I understand that<br>one can<br>not<br>> enter in the rcphosts file EVERY domain in this<br>> world so what<br>should be<br>the solution to this<br>> problem? Any help? <br>><br>Marcos<br><br><br>_______________________________________________<b r>Join<br>> Excite! -<br>http://www.excite.com<br>The most<br>> personalized portal on<br>><br>the<br>Web!<br><br><br><br>-------------------------------------- ------------------<br>-------------<br><br>> QmailToaster hosted by: VR<br>><br>Hosted<br><http://www.vr.org><br>-------------------------------- ---------------------<br>----------------<br>To<br>> unsubscribe, e-mail:<br>><br><br>[EMAIL PROTECTED]<br>For<br >> additional <br>><br>commands,<br>e-mail:<br>[EMAIL PROTECTED]<br> <br><br><br>---------------------<br>--------------------------------------- ---------<br><br>> QmailToaster hosted<br>by: VR<br>><br>Hosted<br><http://www.vr.org><br>-------------------------------- ---------------------<br>----------------<br>To<br>> unsubscribe,<br>><br>e-mail:<br>[EMAIL PROTECTED] om<br>For<br>> additional commands,<br>e-mail:<br>><br>[EMAIL PROTECTED]<br><br> <br><br>_______________________________________________<br>Join<br>> Excite! - http://www.excite.com<br>The most<br>> personalized portal on the<br>><br>Web!<br><br><br><br>-------------------------------------------- -------------------------<br><br>> QmailToaster hosted by: VR Hosted<br>><br><http://www.vr.org><br>-------------------------------------- -------------------------------<br>To<br>> unsubscribe, e-mail:<br>><br>[EMAIL PROTECTED]<br>For<br>> additional commands, e-mail: <br>><br>[EMAIL PROTECTED]<br><br><br><br>------------ ---------------------------------------------------------<br><br>> QmailToaster hosted by: VR Hosted<br>><br><http://www.vr.org><br>-------------------------------------- -------------------------------<br>To<br>> unsubscribe, e-mail:<br>><br>[EMAIL PROTECTED]<br>For<br>> additional commands, e-mail:<br>> [EMAIL PROTECTED]<br><br><br>> <br>> _______________________________________________<br>> Join Excite! - http://www.excite.com<br>> The most personalized portal on the Web!<br>> <br>> <br>> <br>><br>------------------------------------------------------------------- --<br>> QmailToaster hosted by: VR Hosted<br>> <http://www.vr.org><br>><br>------------------------------------------------ ---------------------<br>> To unsubscribe, e-mail:<br>> [EMAIL PROTECTED]<br>> For additional commands, e-mail:<br>> [EMAIL PROTECTED]<br>> <br>> <br><br><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com <br><br>-------------------------------------------------------------------- -<br> QmailToaster hosted by: VR Hosted <http://www.vr.org><br>----------------------------------------------------- ----------------<br>To unsubscribe, e-mail: [EMAIL PROTECTED]<br>For additional commands, e-mail: [EMAIL PROTECTED]<br><br> _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]