This is a discussion on contents of rcpthosts within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi, No matter what I put in rcpthosts, I still get the following error when trying to send an e-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
No matter what I put in rcpthosts, I still get the following error when trying to send an e-mail from a local machine in my LAN. Recipient error [553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)] Here is what I have in my control directory and the contents of them, please note the character case: defaultdomain :::::::::::::: MyDomain.COM :::::::::::::: local :::::::::::::: mydomain.com :::::::::::::: me :::::::::::::: MyDomain.COM :::::::::::::: plusdomain :::::::::::::: MyDomain.COM :::::::::::::: rcpthosts :::::::::::::: mydomain.com mail.mydomain.com u2.mydomain.com u2. localhost 192.168.1.15 :::::::::::::: |
|
|||
|
On Fri, 28 Nov 2003 05:18:29 GMT, Vahid <NOSPAM-sunman@ureach.com> may have written:
> No matter what I put in rcpthosts, I still get the following error when > trying to send an e-mail from a local machine in my LAN. > Recipient error [553 sorry, that domain isn't in my list of allowed > rcpthosts (#5.7.1)] Sounds like you are unable to relay. > Here is what I have in my control directory and the contents of them, > please note the character case: [snip hand-typed control/ stuff] Show us the output of the following two commands: qmail-showctl cat /etc/tcp.smtp Then, tell us how you are attempting to send the email that you are receiving an error for. Cheers, -- Brian T Glenn delink.net Internet Services |
|
|||
|
Brian T Glenn wrote: > On Fri, 28 Nov 2003 05:18:29 GMT, Vahid <NOSPAM-sunman@ureach.com> may have written: > >>No matter what I put in rcpthosts, I still get the following error when >>trying to send an e-mail from a local machine in my LAN. >>Recipient error [553 sorry, that domain isn't in my list of allowed >>rcpthosts (#5.7.1)] > > > Sounds like you are unable to relay. > > >>Here is what I have in my control directory and the contents of them, >>please note the character case: > > > [snip hand-typed control/ stuff] > > Show us the output of the following two commands: > > qmail-showctl > cat /etc/tcp.smtp I do not have /etc/tcp.smtp here is the output of qmail-showctl: qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 30001, 30002, 30003, 0, 30004, 30005, 30006, 30007. group ids: 100, 101. badmailfrom: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is MyDomain.COM. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: (Default.) Remote concurrency is 20. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: Default domain name is MyDomain.COM. defaulthost: (Default.) Default host name is MyDomain.COM. doublebouncehost: (Default.) 2B recipient host: MyDomain.COM. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is MyDomain.COM. helohost: (Default.) SMTP client HELO host name is MyDomain.COM. idhost: (Default.) Message-ID host name is MyDomain.COM. localiphost: (Default.) Local IP address becomes MyDomain.COM. locals: (Default.) Messages for me are delivered locally. me: My name is MyDomain.COM. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is MyDomain.COM. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. rcpthosts: SMTP clients may send messages to recipients at mydomain.com. SMTP clients may send messages to recipients at mail.mydomain.com. SMTP clients may send messages to recipients at u2.mydomain.com. SMTP clients may send messages to recipients at u2.. SMTP clients may send messages to recipients at localhost. SMTP clients may send messages to recipients at mydomain.com. SMTP clients may send messages to recipients at 192.168.1.15. morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: (Default.) SMTP greeting: 220 MyDomain.COM. smtproutes: (Default.) No artificial SMTP routes. timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds. timeoutremote: (Default.) SMTP client data timeout is 1200 seconds. timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds. virtualdomains: (Default.) No virtual domains. local: I have no idea what this file does. smtproutes.hold: I have no idea what this file does. > > Then, tell us how you are attempting to send the email that you are > receiving an error for. I have a samll LAN consist of a few machines, one of them (Solaris 9) is a mail server running qmail. The system itself send and receives e-mail just fine but if I try to use it as an internal relay, it gives that error. For each client in the LAN, I set up the qmail server to be the outgoing smtp server but of course qmail denies that. > > Cheers, Thanks, |
|
|||
|
On Sun, 30 Nov 2003 01:18:46 GMT, Vahid <NOSPAM-sunman@ureach.com> may have written:
> > Brian T Glenn wrote: >> >> Show us the output of the following two commands: >> >> qmail-showctl >> cat /etc/tcp.smtp > I do not have /etc/tcp.smtp Here is your problem. How are you running your SMTP service? If you followed lifewithqmail.org (which you should have done if you installed qmail), you would be using tcpserver with daemontools to run this SMTP service. Please read lifewithqmail.org and follow it to the letter. Your qmail installation Will Just Work(tm). > here is the output of qmail-showctl: [snip qmail-showctl output] This looks fine. Cheers, -- Brian T Glenn delink.net Internet Services |