This is a discussion on problem sending mails to remote domains within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi all! I've got a mail server for my firm. I use qmail 1.03, vpopmail, and spamassassin. I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all!
I've got a mail server for my firm. I use qmail 1.03, vpopmail, and spamassassin. I created 5 virtual domains. I can receive emails from anywhere, no problem. The big problem is that users of virtual domains cannot send emails to external domains. They can send mails to another virtual domain which is present on the server but when i try to send to yahoo or any other domain, qmail says me fucks! here is my configuration: output of /var/qmail/bin/qmail-showctl : qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 501, 502, 503, 0, 504, 505, 506, 507. group ids: 501, 502. 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: 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: 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: (Default.) SMTP clients may send messages to any recipient. morercpthosts: (Default.) No rcpthosts; morercpthosts is irrelevant. 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: .... content of /var/qmail/ drwxr-sr-x 2 alias qmail 4096 déc 15 2003 alias drwxr-xr-x 2 root qmail 4096 jui 15 11:57 bin drwxr-xr-x 2 root qmail 4096 déc 15 2003 boot drwxr-xr-x 2 root qmail 4096 jui 15 16:24 control drwxr-xr-x 3 root qmail 4096 déc 15 2003 doc drwxr-xr-x 10 root qmail 4096 déc 15 2003 man drwxr-x--- 11 qmailq qmail 4096 jui 15 15:52 queue -rwxr-xr-x 1 qmailq qmail 76 mar 31 16:59 rc drwxr-xr-x 5 root root 4096 nov 4 2003 supervise -rw-r--r-- 1 root root 1159 mar 31 17:01 supervise.tar.gz drwxr-xr-x 2 root qmail 4096 jui 15 14:19 users content of /var/qmail/control -rw-r--r-- 1 root root 3 jui 15 14:28 concurrencyremote -rw-r--r-- 1 root root 16 fév 13 11:53 defaultdomain -rw-r--r-- 1 root root 0 jui 13 09:43 locals -rw-r--r-- 1 root root 16 fév 13 11:53 me -rw-r--r-- 1 root root 16 fév 13 11:53 plusdomain -rw-r--r-- 1 root root 204 jui 13 09:43 virtualdomains I tried with and without rcpthosts. Logs don't show errors. I installed a second server with the same configuration. I compare files, permissions, ... it's the same, but nothing to do. I can't send emails So google's groups are my last hope. Thanks a lot and as usual, excuse me for my poor english.. :/ |
|
|||
|
kennux@linuxwaves.com (kennux) writes:
> I've got a mail server for my firm. I use qmail 1.03, vpopmail, and > spamassassin. > I created 5 virtual domains. I can receive emails from anywhere, no > problem. > The big problem is that users of virtual domains cannot send emails to > external domains. They can send mails to another virtual domain which > is present on the server but when i try to send to yahoo or any other > domain, qmail says me fucks! Hmm...that's not a standard qmail error message. > me: My name is mydomain.com. Really? > rcpthosts: (Default.) SMTP clients may send messages to any recipient. That makes you an open relay. > I tried with and without rcpthosts. Logs don't show errors. OK, but what *do* they show? Show all the log entries for single attempted remote delivery. -- Dave Sill Oak Ridge National Lab, Workstation Support Author, The qmail Handbook <http://web.infoave.net/~dsill> <http://lifewithqmail.org/>: Almost everything you always wanted to know. |
|
|||
|
Ok sorry ..
I detect the fact that my qmail queue takes 800 Mo on the hard drive. I suspect my server from being a relay for a spammer. I received my emails several hours after I sent it. There was almast 80000 mails in the queue. A friend of mine advises me to intall postix with spamassassin. Let's see postfix! Dave Sill <MaxFreedom@sws5.ornl.gov> wrote in message news:<wx0acy1nsyl.fsf@sws5.ornl.gov>... > kennux@linuxwaves.com (kennux) writes: > > > I've got a mail server for my firm. I use qmail 1.03, vpopmail, and > > spamassassin. > > I created 5 virtual domains. I can receive emails from anywhere, no > > problem. > > The big problem is that users of virtual domains cannot send emails to > > external domains. They can send mails to another virtual domain which > > is present on the server but when i try to send to yahoo or any other > > domain, qmail says me fucks! > > Hmm...that's not a standard qmail error message. > > > me: My name is mydomain.com. > > Really? > > > rcpthosts: (Default.) SMTP clients may send messages to any recipient. > > That makes you an open relay. > > > I tried with and without rcpthosts. Logs don't show errors. > > OK, but what *do* they show? Show all the log entries for single > attempted remote delivery. |
|
|||
|
On 15 Jul 2004 15:44:06 -0700, kennux <kennux@linuxwaves.com> may have written:
> Ok sorry .. > I detect the fact that my qmail queue takes 800 Mo on the hard drive. > I suspect my server from being a relay for a spammer. I received my > emails several hours after I sent it. There was almast 80000 mails in > the queue. A friend of mine advises me to intall postix with > spamassassin. Let's see postfix! No, just set up qmail correctly, just like any other mail server. Were you to have set up qmail using lifewithqmail.org, the smtp listener will not start if your rcpthosts file is missing, and you would not have been an open relay. -- Brian T Glenn delink.net Internet Services |
|
|||
|
Brian T Glenn <glenn-nntp@this.delink.is.net.invalid> wrote in message news:<slrncfjcri.k68.glenn-nntp@ziegchen.delink.net>...
> On 15 Jul 2004 15:44:06 -0700, kennux <kennux@linuxwaves.com> may have written: > > Ok sorry .. > > I detect the fact that my qmail queue takes 800 Mo on the hard drive. > > I suspect my server from being a relay for a spammer. I received my > > emails several hours after I sent it. There was almast 80000 mails in > > the queue. A friend of mine advises me to intall postix with > > spamassassin. Let's see postfix! > > No, just set up qmail correctly, just like any other mail server. Were > you to have set up qmail using lifewithqmail.org, the smtp listener will > not start if your rcpthosts file is missing, qmail starts without problems if rcpthosts is not present. But if it is and contains no lines, i couldn't send any mails to any domains. > and you would not have been an open relay. I tried to set up qmail correctly. My server is recorded in the ordb database. I'm obliged to stop it as an open relay. If someone could help me to fix this problem, it would be great. thx |
|
|||
|
On 19 Jul 2004 03:05:49 -0700, kennux <kennux@linuxwaves.com> may have written:
> Brian T Glenn <glenn-nntp@this.delink.is.net.invalid> wrote in message news:<slrncfjcri.k68.glenn-nntp@ziegchen.delink.net>... >> On 15 Jul 2004 15:44:06 -0700, kennux <kennux@linuxwaves.com> may have written: >> > Ok sorry .. >> > I detect the fact that my qmail queue takes 800 Mo on the hard drive. >> > I suspect my server from being a relay for a spammer. I received my >> > emails several hours after I sent it. There was almast 80000 mails in >> > the queue. A friend of mine advises me to intall postix with >> > spamassassin. Let's see postfix! >> >> No, just set up qmail correctly, just like any other mail server. Were >> you to have set up qmail using lifewithqmail.org, the smtp listener will >> not start if your rcpthosts file is missing, > > qmail starts without problems if rcpthosts is not present. But if it > is and contains no lines, i couldn't send any mails to any domains. Then you didn't follow lifewithqmail.org. >> and you would not have been an open relay. > > I tried to set up qmail correctly. My server is recorded in the ordb > database. I'm obliged to stop it as an open relay. If someone could > help me to fix this problem, it would be great. > thx Add the domains for which qmail is responsible into rcpthosts. Use /etc/tcp.smtp to record which IPs are allowed to relay. You will not be an open relay, and it will just work. Please read the lifewithqmail.org site and follow it to the letter. Cheers, -- Brian T Glenn delink.net Internet Services |