any performance gains when injecting via qmail-inject instead of sendmail?
Hi, Is there any speed/performance gain if I inject messages directly via /mail/qmail/bin/qmail-inject instead of using sendmail replacement (/mail/qmail/bin/sendmail)? I know that sendmail command ultimately uses qmail-inject to inject the messages so I figured I'd cut the 'middle-men'. It appears that there are no side-effects provided that I add "Return-Path <[EMAIL PROTECTED]>" in the beginning of the message. Can there be any problems with such a set up? Thanks! -- Simon
Re: triple bounce, mailbox exist but don't receive
Guys, I've solved the problem. Actually I didn't know what was the problem, I just removed my Maildir, did "maildirmake" and chown it again and killall -HUP qmail-send, and suddenly it works. I am happy now! CC > Hi Guys, > > I'm totally confused! > I hope someone can help me. My mailserver is running well, but yesterday, > suddenly, the mails couldn't go into my mailbox (no mailbox here by that > name #5.1.1), but it exist and WAS running well. It seems the qmail doesn't > recognized that the username exist in /etc/passwd and the Maildir exist in > the homedir. > I tried to killall -HUP qmail-send. > > Here is the bounce message and the log message: > > = BOUNCE MSG === > Hi. This is the qmail-send program at xxx.xxx > 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. > > <[EMAIL PROTECTED]> > > Sorry, no mailbox here by that name. (#5.1.1) > > --- Below this line is a copy of the message. > > Return-Path: <[EMAIL PROTECTED]> > > Received: (qmail 3843 invoked by uid 0); 29 Mar 2001 10:38:46 - > Date: 29 Mar 2001 10:38:46 - > Message-ID: mailto:[EMAIL PROTECTED]> > From: [EMAIL PROTECTED] > == > LOG FILES > > Mar 30 09:25:55 beta qmail: 985919155.723946 new msg 225150 > Mar 30 09:25:55 beta qmail: 985919155.724064 info msg 225150: bytes 184 from > <> qp 4883 uid 505 > Mar 30 09:25:55 beta qmail: 985919155.728568 starting delivery 5891: msg > 225150 to local @beta.xxx.xxx > Mar 30 09:25:55 beta qmail: 985919155.728645 status: local 1/10 remote 0/20 > Mar 30 09:25:55 beta qmail: 985919155.730243 delivery 5891: success: > Mar 30 09:25:55 beta qmail: 985919155.730316 status: local 0/10 remote 0/20 > Mar 30 09:25:55 beta qmail: 985919155.730356 end msg 225150 > > = > > > >
Re: Random Bounce
As I indicated on my first post, this is our isp's server. Consequently, the bounce message is all I have to work with. I was hoping someone would give some general suggestions on where to look so that I could pass it on to my isp. Sorry to have troubled you all. jean - Original Message - From: "Niles" <[EMAIL PROTECTED]> To: "jean" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, March 28, 2001 9:04 AM Subject: Re: Random Bounce > [EMAIL PROTECTED] wrote: > > > > > Well, here's the bounce msg. Only the sender's name was changed. > The > > receipient, jmorgan, has a mailbox which works ALMOST all the time > ;-) To > > my novice eyes, the problem is on my isp's server. > > > [stuff deleted] > > What do your mail log files indicate? > > >
PAM-enabled checkpassword?
Is there a PAM-enabled checkpassword? www.qmail.org has a link to a patch for checkpassword-0.81, but the only version available now seems to be checkpassword-0.90.
triple bounce, mailbox exist but don't receive
Hi Guys, I'm totally confused! I hope someone can help me. My mailserver is running well, but yesterday, suddenly, the mails couldn't go into my mailbox (no mailbox here by that name #5.1.1), but it exist and WAS running well. It seems the qmail doesn't recognized that the username exist in /etc/passwd and the Maildir exist in the homedir. I tried to killall -HUP qmail-send. Here is the bounce message and the log message: = BOUNCE MSG === Hi. This is the qmail-send program at xxx.xxx 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. <[EMAIL PROTECTED]> Sorry, no mailbox here by that name. (#5.1.1) --- Below this line is a copy of the message. Return-Path: <[EMAIL PROTECTED]> Received: (qmail 3843 invoked by uid 0); 29 Mar 2001 10:38:46 - Date: 29 Mar 2001 10:38:46 - Message-ID: mailto:[EMAIL PROTECTED]> From: [EMAIL PROTECTED] == LOG FILES Mar 30 09:25:55 beta qmail: 985919155.723946 new msg 225150 Mar 30 09:25:55 beta qmail: 985919155.724064 info msg 225150: bytes 184 from <> qp 4883 uid 505 Mar 30 09:25:55 beta qmail: 985919155.728568 starting delivery 5891: msg 225150 to local @beta.xxx.xxx Mar 30 09:25:55 beta qmail: 985919155.728645 status: local 1/10 remote 0/20 Mar 30 09:25:55 beta qmail: 985919155.730243 delivery 5891: success: Mar 30 09:25:55 beta qmail: 985919155.730316 status: local 0/10 remote 0/20 Mar 30 09:25:55 beta qmail: 985919155.730356 end msg 225150 =
qmail-inject works but qmail-smtp doesn't
Hi, I'm not where the setup has gone wrong here. Follow the Howto to setup Qmail, everything looks ok. Qmail-inject is able to send out no problems at all. I can send to any account, local or not. I send a mail in from another host and it gets recieved by qmail ok but wont deliver it locallally. I send a mail from say outlook express and it connects, sends ok, then the mail just sits in the queue and wont deliver. The log says CNAME_lookup_failed_temporarily and it doesn't seem to recognise when the mail is going to a local address. I've gone over the FAQ and the mailing list archive and had no luck. I'm sure there's an easy answer here... can anyone help? Cheers, -mic smime.p7s
Re: moving qmail from one machine to another
On Thu, Mar 29, 2001 at 01:14:43PM -0800, Gary Shelton wrote: > greetings: > i'm in the planning stages of moving a web-frontend/qmail/mysql setup > from a single machine to a more distributed configuration with two > load-balanced machines running apache and qmail and a mysql database > server. the qmail queue is currently on an NFS mount (storage > appliance), and that won't be changing. mysql is of course storing the > authentication information. This whole setup is running on FreeBSD > 4.1-RELEASE. My questions are thus: > Are there any issues with moving the qmail configuration from one > machine to another, aside from the concerns with name resolution/ip > configuration? > Is it even possible for two qmail servers to share the same queues if > said queues are on NFS? > Is there anything else i should be aware of when moving qmail from one > machine to two separate load-balanced servers? > > tia > > gary shelton > Aren't you confusing the queue with the maildirs/storage? If so there's no problem at all, you can even cp the ~control/* from one machine to another. Hum... and remember to keep synced the time on the NFS server with that on the qmail servers. -- Jose Celestino <[EMAIL PROTECTED]> -- "Every morning I read the obituaries; if my name's not there, I go to work."
Re: SMTP Problem - (SMTP works but is very slow)
On Thu, Mar 29, 2001 at 02:43:47PM -0800, John Cope wrote: > Hi, > > I'm having a problem with SMTP. It's working, but it's very-very slow (2-4 > minutes to complete), but is always successful. > > I have qmail-smtpd being handled by tcpserver, which is configured as > follows: > > exec /usr/local/bin/tcpserver -p -R -x /etc/tcp.smtp.cdb -u $QMAILDUID -g > $NOFILESGID -v -c100 0 smtp /apps/qmail/bin/qmail-smtpd 2>&1 > This is a FAQ -- please search the archives. You've got a reverse-DNS or ident problem. > I also have my rcpthosts file configured as follows: > > domain_name.net > hostname.domain_name.net > localhost.domain_name.net Really? How do you recieve any mail? gregw@frodo:~$ dnsq ns domain_name.net a.gtld-servers.net 2 domain_name.net: 110 bytes, 1+0+1+0 records, response, authoritative, nxdomain query: 2 domain_name.net authority: net 86400 SOA a.gtld-servers.net hostmaster.nsiregistry.net 2001032900 1800 900 604800 86400 SNIP -- Greg White Those who make peaceful revolution impossible will make violent revolution inevitable. -- John F. Kennedy
Re: smtp delay with -H and -R
* Ricardo Cerqueira ([EMAIL PROTECTED]) [29 Mar 2001 19:41]: > > Any ideas as to what the delay is caused by > DNS, probably > > and/or how to eliminate it? > from 'man tcpserver': >-llocalname > Do not look up the local host name; use localname > for TCPLOCALHOST. > So... try adding -l0 to the tcpserver flags Thanks! [ Why is it, 15 seconds before someone is kind enough to supply the correct answer, you find it for yourself by further searching the email archives? There has to be a name for this phenomena ] -- Quist ConsultingEmail: [EMAIL PROTECTED] 219 Donlea DriveVoice: +1.416.696.7600 Toronto ON M4G 2N1 Fax: +1.416.978.6620 CANADA WWW: http://www.quist.ca
Re: smtp delay with -H and -R
On Thu, Mar 29, 2001 at 07:26:32PM -0500, Russell P. Sutherland wrote: > I've experienced a situtation that is wierd... [snip] > > Any ideas as to what the delay is caused by DNS, probably > and/or how to eliminate it? from 'man tcpserver': --- -llocalname Do not look up the local host name; use localname for TCPLOCALHOST. --- So... try adding -l0 to the tcpserver flags RC -- +--- | Ricardo Cerqueira | PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42 | Novis Telecom - Engenharia ISP / Rede Técnica | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal | Tel: +351 2 1010 - Fax: +351 2 1010 4459 PGP signature
smtp delay with -H and -R
I've experienced a situtation that is wierd... I'm running qmail-smtpd/qmail-pop3d under daemontools. Here's the run file: #!/bin/sh PATH=/var/qmail/bin:/bin:/usr/bin:/usr/local/bin export PATH QMAILDUID=`perl -e 'print scalar getpwnam qmaild'` NOFILESGID=`perl -e 'print scalar getgrnam nofiles'` exec tcpserver -v -R -H -x/etc/tcp.smtp.cdb -u$QMAILDUID -g$NOFILESGID 0 25 qmail-smtpd 2>&1 When I connect to the daemon from the local machine using its IP address telnet 216.13.139.139 25 there is a 10 second delay or so, as if a remote DNS or ident was being performed and timing out. However as you can see, I'm using both the -R and -H switches on tcpserver. "telnet localhost 25" works fine/normally. Any ideas as to what the delay is caused by and/or how to eliminate it? -- Quist ConsultingEmail: [EMAIL PROTECTED] 219 Donlea DriveVoice: +1.416.696.7600 Toronto ON M4G 2N1 Fax: +1.416.978.6620 CANADA WWW: http://www.quist.ca
Re: SMTP Problem - (SMTP works but is very slow)
Dns lookups are slowing it down. From the tcpserver man page: -H Do not look up the remote host name. C ya. On Thu, Mar 29, 2001 at 02:43:47PM -0800, John Cope wrote: > Hi, > > I'm having a problem with SMTP. It's working, but it's very-very slow (2-4 > minutes to complete), but is always successful. > > I have qmail-smtpd being handled by tcpserver, which is configured as > follows: > > exec /usr/local/bin/tcpserver -p -R -x /etc/tcp.smtp.cdb -u $QMAILDUID -g > $NOFILESGID -v -c100 0 smtp /apps/qmail/bin/qmail-smtpd 2>&1 > > I also have my rcpthosts file configured as follows: > > domain_name.net > hostname.domain_name.net > localhost.domain_name.net > > I'm running Courier-IMAP/POP3 as well, which are working just fine, all > authenticating using LDAP. Everything works fine except for SMTP. All the > logs show that everything is working just fine.. > > Any clues as to what could be going wrong I've checked all the router > ACL's, they look good.. I'm at a loss as to what this a could be.. > > John > > -- Jose Celestino <[EMAIL PROTECTED]> -- "Every morning I read the obituaries; if my name's not there, I go to work."
SMTP Problem - (SMTP works but is very slow)
Hi, I'm having a problem with SMTP. It's working, but it's very-very slow (2-4 minutes to complete), but is always successful. I have qmail-smtpd being handled by tcpserver, which is configured as follows: exec /usr/local/bin/tcpserver -p -R -x /etc/tcp.smtp.cdb -u $QMAILDUID -g $NOFILESGID -v -c100 0 smtp /apps/qmail/bin/qmail-smtpd 2>&1 I also have my rcpthosts file configured as follows: domain_name.net hostname.domain_name.net localhost.domain_name.net I'm running Courier-IMAP/POP3 as well, which are working just fine, all authenticating using LDAP. Everything works fine except for SMTP. All the logs show that everything is working just fine.. Any clues as to what could be going wrong I've checked all the router ACL's, they look good.. I'm at a loss as to what this a could be.. John
Re: moving qmail from one machine to another
Gary Shelton <[EMAIL PROTECTED]> wrote: > i'm in the planning stages of moving a web-frontend/qmail/mysql setup > from a single machine to a more distributed configuration with two > load-balanced machines running apache and qmail and a mysql database > server. So far so good. > the qmail queue is currently on an NFS mount (storage appliance), and that > won't be changing. Did you say this is alread up and running? qmail requires the queue to be on a local filesystem; most MTAs do if I understand properly. NFS breaks all the normal filesystem guarantees that qmail requires to be able to deliver mail reliably. > My questions are thus: Are there any issues with moving the qmail > configuration from one machine to another, aside from the concerns with name > resolution/ip configuration? Only that you should stop qmail-smtpd and wait for the queue to empty on the old machine before turning off qmail completely. > Is it even possible for two qmail servers to share the same queues if > said queues are on NFS? No. qmail can't share it's queue at all, not even on a local filesystem. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
moving qmail from one machine to another
greetings: i'm in the planning stages of moving a web-frontend/qmail/mysql setup from a single machine to a more distributed configuration with two load-balanced machines running apache and qmail and a mysql database server. the qmail queue is currently on an NFS mount (storage appliance), and that won't be changing. mysql is of course storing the authentication information. This whole setup is running on FreeBSD 4.1-RELEASE. My questions are thus: Are there any issues with moving the qmail configuration from one machine to another, aside from the concerns with name resolution/ip configuration? Is it even possible for two qmail servers to share the same queues if said queues are on NFS? Is there anything else i should be aware of when moving qmail from one machine to two separate load-balanced servers? tia gary shelton
Re: ticketing system?
On Thu, Mar 29, 2001 at 02:53:33PM -0500, Kurth Bemis wrote: > does anyone know of a ticketing system, written in PHP for qmail? I > found RT (www.fsck.com/rt/) but its perl (bleh) just wondering if anyone > knows of anything that fits my request a little more :-) Funny, I searched for one the whole day too. I don't have a problem with perl (in contrast I'd prefer perl over php...), but it still does not fit my needs. So if anyone knows a ticketing system which can be used without closing each and every ticket manually on a web interface and does not use simple incremental ticket numbers but date-based (20010329-0002 foe example) please drop me a short note - hopefully I'll rerad it before i start to code (in perl). -- Henning Brauer | BS Web Services Hostmaster BSWS| Roedingsmarkt 14 [EMAIL PROTECTED] | 20459 Hamburg http://www.bsws.de | Germany
RE: ticketing system?
Your best bet is to take a look in freshmeat and see what's there. Perl isn't for everyone, so don't be so hard on yourself! As for your last question, search the archives - I'm sure someone has already solved that problem. .mark >-- >From: Kurth Bemis[SMTP:[EMAIL PROTECTED]] >Sent: Thursday, March 29, 2001 11:53 AM >To:[EMAIL PROTECTED] >Subject: ticketing system? > > does anyone know of a ticketing system, written in PHP for qmail? I >found RT (www.fsck.com/rt/) but its perl (bleh) just wondering if anyone >knows of anything that fits my request a little more :-) > >also - I need a way to attach a text file to EVERY out going message. Any >ideas on that? > >~kurth > > >
MS SQL & QMAIL
Are there any authentication modules for Micro$oft SQL 7/2000 for qmail or courier ? I really don't want to use M$ Exchange as IMAP/POP toaster :( -- Stefan Laudat CCNA & CCAI - "God is big, so don't fuck with him."
Modified 5.3.4 error
Does anyone out there have a patch for inserting the databytes control field in the #5.3.4 error. Management doesn't wnat to block huge mails unless we tell the sender what our max is. Jeff Sweeten Aon Corp.
ticketing system?
does anyone know of a ticketing system, written in PHP for qmail? I found RT (www.fsck.com/rt/) but its perl (bleh) just wondering if anyone knows of anything that fits my request a little more :-) also - I need a way to attach a text file to EVERY out going message. Any ideas on that? ~kurth
Re: Should I worry about these compile warnings?
Sid Wilroy <[EMAIL PROTECTED]> wrote: > maildirwatch.c:62: warning: return type of `main' is not `int' You didn't actually include your question in the body of your message; bad habit. This is answered many times in the mailing list archives. I suggest you consult that before posting questions to the list. It's clearly referenced from www.qmail.org. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: Should I worry about these compile warnings?
no. On Thu, 29 Mar 2001, Sid Wilroy wrote: > maildirwatch.c:62: warning: return type of `main' is not `int' > ./load maildirwatch hfield.o headerbody.o maildir.o \ > prioq.o now.o getln.a env.a open.a strerr.a stralloc.a \ > alloc.a substdio.a error.a str.a > > idedit.c:124: warning: return type of `main' is not `int' > ./load idedit strerr.a substdio.a error.a str.a fs.a \ > wait.a open.a seek.a > > install.c:156: warning: return type of `main' is not `int' > ./load install-big fifo.o install.o auto_qmail.o \ > auto_split.o auto_uids.o strerr.a substdio.a open.a error.a \ > str.a fs.a > > >
Should I worry about these compile warnings?
maildirwatch.c:62: warning: return type of `main' is not `int' ./load maildirwatch hfield.o headerbody.o maildir.o \ prioq.o now.o getln.a env.a open.a strerr.a stralloc.a \ alloc.a substdio.a error.a str.a idedit.c:124: warning: return type of `main' is not `int' ./load idedit strerr.a substdio.a error.a str.a fs.a \ wait.a open.a seek.a install.c:156: warning: return type of `main' is not `int' ./load install-big fifo.o install.o auto_qmail.o \ auto_split.o auto_uids.o strerr.a substdio.a open.a error.a \ str.a fs.a
Re: bug in qmail?
Dean Browett <[EMAIL PROTECTED]> wrote: > > I'm having a bit of a problem. I am trying to deliver mail to > [EMAIL PROTECTED] I keep getting the message: > Sorry, no mailbox here by that name. (#5.1.1) [...] > Extracts from /var/qmail/control/rcpthosts [...] > Extracts from /var/qmail/control/virtualdomains: [...] Post the full output of qmail-showctl instead of snippets of what you think might be relevant information. Then we can help you. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
bug in qmail?
Hi all, I'm having a bit of a problem. I am trying to deliver mail to [EMAIL PROTECTED] I keep getting the message: Sorry, no mailbox here by that name. (#5.1.1) I am stumped on this one. There are approximately 20 domains on this box and this is the only domain that causes problems. The following email addresses were fine. [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] The following email addresses caused problems [EMAIL PROTECTED] Sorry, no mailbox here by that name. (#5.1.1) [EMAIL PROTECTED] Sorry, no mailbox here by that name. (#5.1.1) [EMAIL PROTECTED] Sorry, no mailbox here by that name. (#5.1.1) Extracts from /var/qmail/control/rcpthosts fasttrack-assoc.com fasttrack-cossa.com fastabcde-fg.com Extracts from /var/qmail/control/virtualdomains: fasttrack-assoc.com:fasttrack-assoc.com__ fasttrack-cossa.com:fasttrack-cossa.com__ fastabcde-fg.com:fastabcde-fg.com__ Extracts from /etc/aliases fasttrack-assoc.com__-dean: dbrowett (local) fasttrack-cossa.com__dean: dbrowett (local) fastabcde-fg.com__dean:dbrowett (local) Any help would be appreciated Thanks Dean Browett
erorr when patch --verbose -p1 < /tmp/big-concurrency.patch
-- Patching file `qmail-send.c' using Plan A... Hunk #1 succeeded at 262. Hunk #2 FAILED at 908. Hunk #3 succeeded at 1547. Hunk #4 succeeded at 1555. 1 out of 4 hunks FAILED -- saving rejects to qmail-send.c.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -- |diff -u qmail-1.03.orig/spawn.c qmail-1.03/spawn.c |--- qmail-1.03.orig/spawn.c Mon Jun 15 03:53:16 1998 |+++ qmail-1.03/spawn.c Tue Jul 27 12:25:14 1999 -- Patching file `spawn.c' using Plan A... Hunk #1 succeeded at 63. Hunk #2 succeeded at 73. Hunk #3 succeeded at 156. Hunk #4 succeeded at 205. Hunk #5 FAILED at 241. 1 out of 5 hunks FAILED -- saving rejects to spawn.c.rej Hmm... Ignoring the trailing garbage. done Johan Almqvist wrote: > * Felix von Leitner <[EMAIL PROTECTED]> [010329 19:43]: > > Thus spake Johan Almqvist ([EMAIL PROTECTED]): > > > I wonder if anyone has written a real "bouncesaying" (qmails bouncesaying > > > just exits with an exit code that makes qmail-local do the actual > > > bouncing. > > And what is your problem with that? > > I can't manually bounce a message from, say, mutt. > > -Johan > -- > Johan Almqvist > http://www.almqvist.net/johan/qmail/ > > >Part 1.2Type: application/pgp-signature
Re: A real "bouncesaying"
* Felix von Leitner <[EMAIL PROTECTED]> [010329 19:43]: > Thus spake Johan Almqvist ([EMAIL PROTECTED]): > > I wonder if anyone has written a real "bouncesaying" (qmails bouncesaying > > just exits with an exit code that makes qmail-local do the actual > > bouncing. > And what is your problem with that? I can't manually bounce a message from, say, mutt. -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/ PGP signature
Re: A real "bouncesaying"
Thus spake Johan Almqvist ([EMAIL PROTECTED]): > I wonder if anyone has written a real "bouncesaying" (qmails bouncesaying > just exits with an exit code that makes qmail-local do the actual > bouncing. And what is your problem with that? Felix
Re: A real "bouncesaying"
Johan Almqvist: > > With a few pointers from Frank Tegtmeyer, I've now made what I wanted > > myself. Maybe someone else finds this useful... Peter van Dijk: > Without testing it, a short glance over the code reveals one quirk and > one change I'd like: > > - You are using a predictable filename in /tmp without any security > whatsover. This allows a malicious users to overwrite files that you > own, perhaps gaining access to your account this way. > - It says 'this is the qmail-send program'. It is not. 'qmail-send' is > not a fixed string in the QSBMF, so why not change it? Also, why not use the $SENDER variable that qmail provides? Not to mention that the address mentioned in the bounce message won't match the original recipient when using virtualdomains. That might be trickier to fix, though. Qmail isn't handling virtual domains correctly, as far as I can tell. /filip
new TMS webpage (qmail-based anti-spam system)
Some of you might be familiar with Thomas Erskine's ``Tagged Message Sender''. I've been using this software for a few weeks now and have attempted to document in detail both the program itself and also my particular use of it. http://jason.mastaler.com/tms/> Enjoy, Jason
Auto-appending signatures for single domain
Title: Auto-appending signatures for single domain Hello, I've looked through all the documentation I could find and the list's archive but can find no obvious mention of the following: I run virtual domains and would like to add a typical 'we're not responsible for anything' disclaimer at the bottom of all emails coming FROM a particular domain. E.g.: Say the domain is 'corporate.com' Mail from [EMAIL PROTECTED] (local) to [EMAIL PROTECTED] (remote)-> add disclaimer Mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] ->don't add disclaimer Mail from [EMAIL PROTECTED] (local) -> [EMAIL PROTECTED] (local or remote) -> do not add I read somewhere that you had to patch qmail-remote but no instructions on how to do this. Any clues out there? Eric -- Eric Bonharme, E-mail: [EMAIL PROTECTED] MotorTRAK Ltd, AC Court, High Street, Thames Ditton, Surrey KT7 0SR Tel: +44 (20) 8335 2000, Fax: +44 (20) 8335 2001 (and there's the cr*p:) The information contained in this message is for the intended addressee only and may contain confidential and/or privileged information. If you are not the intended addressee, please delete this message and notify the sender; do not copy or distribute this message or disclose its contents to anyone. Any views or opinions expressed in this message are those of the author and do not necessarily represent those of MotorTRAK Limited or of any of its associated companies. No reliance may be placed on this message without written confirmation from an authorised representative of the company.
Divert RBL messages?
Hi! I'm looking for a way to divert messages that come from RBL listed hosts on a system-wide basis... All messages from hosts that are in the RBL should go to the spamtrap user for example... -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/ PGP signature
Re: qmail forwarding to another mailserver
"VmTesting" <[EMAIL PROTECTED]> wrote: >Does someone has any idea how to forward with qmail all the e-mail's >received by one mailserver to another mailserver ? Actually I want to >forward only thouse users e-mails to another server which has no >mailbox in the first server. In ~alias/.qmail-default on "one server": |/var/qmail/bin/forward "$LOCAL"@another.server -Dave
Re: faster than bcc
Charles Cazabon <[EMAIL PROTECTED]> wrote: >Dave Sill <[EMAIL PROTECTED]> wrote: > >> >cat list.txt | xargs qmail-inject -a > >where list.txt is a list of addresses. Is this faster than bcc >> >anyway? > >> No. That creates one message per recipient--lots of disk I/O to do the >> same thing as one message, many recipients. > >That should still do only one message, multiple recipients, shouldn't it? Yeah, don't know what I was thinking. But I see another problem with that command: it's feeding the list of recipients to xargs via stdin and the message to qmail-inject, also via stdin. In my testing, xargs is reading the message as stdin and calling qmail-inject with the message contents on the command line. Oops. -Dave
Re: more help sought with relay-ctrl (was oh no not another relaying question)
Gary Law <[EMAIL PROTECTED]> wrote: > > I decided to go for the relay-ctrl idea suggested by Charles and James who > responded to my last message. However, I've got a number of issues:- Bruce Guenter, the author of relay-ctrl, maintains his own mailing lists for his software. You may want to try on those lists in future for particular problems you have with his software. > where references were made to configs being stored in directorys that don't > exist I created the directories (as root) and I've not changed the owner or > permissions. Okay. You may need to change some of them; it depends. > I put the following in rc.local: > > tcpserver -v -u 2850 -g 32750 0 smtp /var/qmail/bin/qmail-smtpd \ > 2>&1 | /var/qmail/bin/splogger smtpd 3 & You're missing the other argument you need: -x /etc/tcpcontrol/smtp.cdb This is what actually allows the relaying, by setting the RELAYCLIENT variable for IP addresses which have authenticated via POP3 in the previous fifteen minutes. > I put > > */20 * * * * /usr/sbin/relay-ctrl-age > > into my crontab... and here's my first problem. Cron is now outputting:- > > /usr/bin/tcprules: No such file or directory > > the tcprules is in fact in > /usr/local/bin > what's the best solution? symlink? Sure. That works well. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: Limit outbound connections but not for all domains
Iñigo Martínez Lasala <[EMAIL PROTECTED]> wrote: > > Is there anyway to limit outbound connections with control/concurrentremote > but not for all domains? I want to limit outbound connections for all > domains but one (it's an internal domain and the bandwidth is not limited, > so there is no reason to limit this domain and I want immediate delivery > too). No easy way. djb's .qmail-default/serialmail trick is designed for the opposite case. The only way that comes to mind is to set up two separate instances of qmail on the box, one handling mail to the internal domain, one for everything else. The second hands mail for the internal domain off to the first instance, which has a high concurrencyremote. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
qmail forwarding to another mailserver
Dear all, Does someone has any idea how to forward with qmail all the e-mail's received by one mailserver to another mailserver ? Actually I want to forward only thouse users e-mails to another server which has no mailbox in the first server. example: We have server A and server B. Server A is MX for firstdomain.com and server B is MX fot seconddomain.com. Server B has user called John Doe with e-mail address [EMAIL PROTECTED] What I really like to achive is if someone send's email to [EMAIL PROTECTED] then server A checks if it has user Joe Doe with e-mail address [EMAIL PROTECTED] and if it doesn't find any reference to that user it just forwards e-mail to server B which accepts it . It can be easily achieved by modifing /etc/aliases/ files but I want to get rid of modifing /etc/aliases/ files. Any idea ? I hope example wasn't too hazy. Thank you in advance, VM Testing
Re: Maildir problem
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I am using qmail 1.03 on Redhat 6.2 box. I have just shifted from Mailbox > format to Maildir format. And i am using qpopper-qmail-2.53-1-PAM.i386.rpm > for pop daemon. I could be mistaken, but I thought qpopper only supported mbox files. If you want to do POP3 with Maildirs in user home directories, switch to qmail-pop3d, included in the qmail source. That's what it's designed for. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: shell vs qmail
alexus <[EMAIL PROTECTED]> wrote: > for some unknown to me reason when i type > > csh -cf '/var/qmail/rc &' > > just like INSTALL says > > it gives me PATH on screen Pardon? > and when it starts to run qmail-start > it "freezes", well not really freezes.. but nothing is happened Probably you just didn't get your prompt back. What happens if you press enter after this point? Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: A real "bouncesaying"
> - It says 'this is the qmail-send program'. It is not. 'qmail-send' is > not a fixed string in the QSBMF, so why not change it? True - when I first wrote it I took the text from Qmails bounces. Feel free to change it :) Regards, Frank
Re: A real "bouncesaying"
On Thu, Mar 29, 2001 at 03:06:40PM +0200, Johan Almqvist wrote: > * Johan Almqvist <[EMAIL PROTECTED]> [010329 11:21]: > > I wonder if anyone has written a real "bouncesaying" (qmails bouncesaying > > just exits with an exit code that makes qmail-local do the actual > > bouncing. > > With a few pointers from Frank Tegtmeyer, I've now made what I wanted > myself. Maybe someone else finds this useful... Without testing it, a short glance over the code reveals one quirk and one change I'd like: - You are using a predictable filename in /tmp without any security whatsover. This allows a malicious users to overwrite files that you own, perhaps gaining access to your account this way. - It says 'this is the qmail-send program'. It is not. 'qmail-send' is not a fixed string in the QSBMF, so why not change it? Greetz, Peter.
Re: help ( pop authenticate with ldap )
On Thu, Mar 29, 2001 at 10:21:08AM +0800, lucky wrote: > i want to make pop authenticate by ldap .what i need and what shall i do ? read about qmail-ldap at http://www.lifewithqmail.org/ldap/ > thanks -- Henning Brauer | BS Web Services Hostmaster BSWS| Roedingsmarkt 14 [EMAIL PROTECTED] | 20459 Hamburg http://www.bsws.de | Germany
Re: Can you help me ??(about limit of the number of per process file hand
On Thu, Mar 29, 2001 at 09:04:59AM +0800, Baoguo Xu wrote: > Dear Henning, > I try ,but not success. There is content in file conf-cc: > cc -O2 > DFD_SETSIZE=4096 As I've written it is -DFD_SETSIZE=4096. -- Henning Brauer | BS Web Services Hostmaster BSWS| Roedingsmarkt 14 [EMAIL PROTECTED] | 20459 Hamburg http://www.bsws.de | Germany
Re: A real "bouncesaying"
* Johan Almqvist <[EMAIL PROTECTED]> [010329 11:21]: > I wonder if anyone has written a real "bouncesaying" (qmails bouncesaying > just exits with an exit code that makes qmail-local do the actual > bouncing. With a few pointers from Frank Tegtmeyer, I've now made what I wanted myself. Maybe someone else finds this useful... -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/ bouncesaying.sh PGP signature
unsubscribe me PLEASE - can't get qmail-unsubscribe@ to work
[EMAIL PROTECTED]
more help sought with relay-ctrl (was oh no not another relaying question)
Hi again I decided to go for the relay-ctrl idea suggested by Charles and James who responded to my last message. However, I've got a number of issues:- Instructions for installation suggest, sensibly, reading the man page for relay-ctrl-age. the 'make install-root' seems to install the man pages but 'man' ignores them. So i 'cat'ted the man pages to extract what I needed to know. where references were made to configs being stored in directorys that don't exist I created the directories (as root) and I've not changed the owner or permissions. I put the following in rc.local: tcpserver -v -u 2850 -g 32750 0 smtp /var/qmail/bin/qmail-smtpd \ 2>&1 | /var/qmail/bin/splogger smtpd 3 & commented out the reference to smtp in inetd.conf and sent a kill- HUP to the process. Then ran the above from the command line as root. I can still send and recieve mail (phew!). I put */20 * * * * /usr/sbin/relay-ctrl-age into my crontab... and here's my first problem. Cron is now outputting:- /usr/bin/tcprules: No such file or directory the tcprules is in fact in /usr/local/bin what's the best solution? symlink? what's calling this... can I edit a variable somewhere to change this? Also, I tried to symlink as suggested /usr/lib/courier-imap/libexec/authlib/ to /usr/sbin/relay-ctrl-allow. but there is no /usr/lib/courier-imap/libexec/authlib/ on my system. I am using courier-imap but there appears to be no similar directory on my system except /usr/local/libexec/authlib but nothing courier-imap specific. All suggestions as to solutions gratefully recieved! Thanks gary
qmail Digest 29 Mar 2001 11:00:00 -0000 Issue 1318
qmail Digest 29 Mar 2001 11:00:00 - Issue 1318 Topics (messages 59871 through 59962): Re: DNS question 59871 by: David T. Ashley 59872 by: Frank Tegtmeyer oh no, not another relaying question... 59873 by: Gary Law 59881 by: James Raftery 59884 by: Charles Cazabon Syncing IMAP mailboxes 59874 by: Gavin Cameron 59908 by: Mike Jackson qmail - Ezmlm 59875 by: Bird 59877 by: Frank Tegtmeyer Re: qmailadmin 0.42 59876 by: Rodrigo P. Telles Re: Can you help me ??(about limit of the number of per process file hand 59878 by: Henning Brauer 59944 by: Baoguo Xu 59956 by: Peter van Dijk Re: qmail and sms 59879 by: Henning Brauer qmail & imap 59880 by: Martin Edlman Re: Update on qmail/Outlook hang 59882 by: Andrew Richards Re: rcphosts error 59883 by: Charles Cazabon Alternate MDA 59885 by: Alex Le Fevre 59890 by: Charles Cazabon 59893 by: Alex Le Fevre 59894 by: Charles Cazabon qmail remote / local problems ... 59886 by: Simon Woodward Maildir file naming convention 59887 by: Subba Rao 59889 by: Charles Cazabon 59895 by: Mark Delany 59898 by: Charles Cazabon 59915 by: Mark Delany 59918 by: Peter van Dijk 59921 by: Charles Cazabon 59923 by: Charles Cazabon 59926 by: Peter van Dijk 59927 by: Bruce Guenter 59935 by: Charles Cazabon 59939 by: Mark Delany 59946 by: Charles Cazabon need to forward to 2 addresses 59888 by: Virginia Chism 59891 by: Charles Cazabon 59892 by: Michael Peppard 59916 by: Virginia Chism Re: Random Bounce 59896 by: jean 59897 by: Niles 59900 by: Johan Almqvist Re: [OT] supervise sshd? 59899 by: Bruce Guenter unable to get BCC mail in Qmail 59901 by: Pradeep Tapase 59902 by: Johan Almqvist 59909 by: Charles Cazabon 59920 by: Henning Brauer Removing from queue 59903 by: Alex Le Fevre 59910 by: Charles Cazabon 59940 by: Steve Smith Rewriting domain name on outbound messages 59904 by: Dion.Vansevenant.mro.com 59911 by: Charles Cazabon 59951 by: Jörgen Persson archives 59905 by: Kirti S. Bajwa 59912 by: Charles Cazabon 59917 by: Virginia Chism Subject per recipient 59906 by: Michael T. Babcock 59913 by: Charles Cazabon RE:RE: how can i run qmail on a port that is not 25 under tcpserver? 59907 by: Lucas sqwebmail-1.2.5 59914 by: Bill Parker qmail and hyphens in domain names 59919 by: Dean Browett Problems getting qmail to work properly 59922 by: John Cope 59928 by: Charles Cazabon 59929 by: Tim Hunter Qmail Implementation as anti-spam for Ms Exchange 59924 by: hantunes faster than bcc 59925 by: Brett 59930 by: Charles Cazabon 59931 by: Peter van Dijk 59932 by: Dave Sill 59933 by: Mark Delany 59934 by: Brett 59936 by: Charles Cazabon 59937 by: Brett [announcement] qmail-smtpd-requireauth version 0.10 available 59938 by: Danny Burkes 59962 by: Krzysztof Dabrowski Re: migrating from MS Exchange to q-mail 59941 by: James R Grinter SMTP not working . 59942 by: John Cope 59943 by: Chris Johnson 59945 by: Jack Thomas help ( pop authenticate with ldap ) 59947 by: lucky inquire 59948 by: KIM 59949 by: Jeremy Suo-Anttila email message body 59950 by: Essy Ren shell vs qmail 59952 by: alexus qmail-ldap patch 59953 by: Elena Escolano Torner 59961 by: Andre Oppermann Maildir problem 59954 by: lkhanna.hughes-ecomm.com 59955 by: Gerrit Pape Limit outbound connections but not for all domains 59957 by: Iñigo Martínez Lasala Not able to receive BCC mail in Qmail 59958 by: Pradeep Tapase 59960 by: Gerrit Pape A real "bouncesaying" 59959 by: Johan Almqvist Administrivia: To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To subscribe to the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- -Original Message- From: David T. Ashley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 6:55 AM To: [EMAIL PROTECTED] Subject: DNS question I read the HOWTO for q-mail, but there is one thing I don't understand. It states that I need a DNS and that my machines have to be listed in the DNS for qmail to work. I have a hardware firewall (one of those $150 boxes) guarding my DSL line with a static IP. Is it good enough that my static IP has a r
Re: [announcement] qmail-smtpd-requireauth version 0.10 available
Danny,, here is an excerpt from you docs: 10.:allow,RELAYCLIENT="" and allows me to relay when I dial up, but only if I authenticate first, via the rule: =.dialup.someisp.net:allow,RBLSMTPD="",REQUIREAUTH="" What is the ADDED functionality of your patch? Just ot make it clear to me. 1. if you do: 10.:allow,RELAYCLIENT="" you will be able to realy with no problems from everythere 2. if you do: =.dialup.someisp.net:allow You will HAVE to authenticate, unless the receipient's domain is in your rcpthosts file (which is 100% logical as you want to accept all mail for your users from all sources). So all the functionality that you say, your patch is providing ALREADY IS in my patch :) Kris p.s. i recall you mailing me, right? sorry i did not answer because i were sick lately and i was overwhelmed with the amount of mail
Re: qmail-ldap patch
Elena Escolano Torner wrote: > > Good morning everyone, > i'm trying to get the qmail-ldap patch since yesterday, but the place > where it used to be > "http://www.nrg4u.com/qmail/qmail-ldap-1.03-2701.patch.gz" doesn't > answer. > I'm in a hurry, so please, if anyone of you have a copy of it or knows > other URL where i could take it, i would appreciate your help. > Regards and thanks in advance. Yes, we have restructured our network and I didn't had time to reconnect www.nrg4u.com before I felt asleep... Will be online in a few hours. -- Andre
Re: Not able to receive BCC mail in Qmail
On Wed, Mar 28, 2001 at 11:03:08PM +0600, Pradeep Tapase wrote: > Dear > > I just newly installed Qmail on one server. But in this I was not able to get > BCC mails from any externel account such as yahoo or hotmail, but i can receive > localy. In qmail i configured it for Mailbox format. If any one can help in > this regards. if any one suggest me to configure procmail to receive BCC mail. > To fetchmail from our web server we uses fetchmail. > > In fetchmail I doesn't uses any mda to transfer mail. fetchmail deliver mail to > SMTP port. > If You use fetchmail to pop mail from yahoo or hotmail and feed it to localhost:25, this is an fetchmail issue. fetchmail must parse additional header information added by hotmail's or yahoo's MTA. Please ask Yout question in a fetchmail support forum. Gerrit. -- [EMAIL PROTECTED] innominate AG the linux architects tel: +49.30.308806-0 fax: -77 http://www.innominate.com
A real "bouncesaying"
Hi! I wonder if anyone has written a real "bouncesaying" (qmails bouncesaying just exits with an exit code that makes qmail-local do the actual bouncing. I want to pipe a message to bouncesaying from mutt, like this: | boucesaying "No subject specified" and it should use the Return-Path to address it and use <> as the sender... -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/ PGP signature
Not able to receive BCC mail in Qmail
Dear I just newly installed Qmail on one server. But in this I was not able to get BCC mails from any externel account such as yahoo or hotmail, but i can receive localy. In qmail i configured it for Mailbox format. If any one can help in this regards. if any one suggest me to configure procmail to receive BCC mail. To fetchmail from our web server we uses fetchmail. In fetchmail I doesn't uses any mda to transfer mail. fetchmail deliver mail to SMTP port. If any can suggest me changes in my configuration or to change some script also I will be thankful for him Pradeep NetAdmin MET-IIT
Limit outbound connections but not for all domains
Hi everybody. Is there anyway to limit outbound connections with control/concurrentremote but not for all domains? I want to limit outbound connections for all domains but one (it's an internal domain and the bandwidth is not limited, so there is no reason to limit this domain and I want immediate delivery too). Thanks in advance. [EMAIL PROTECTED] Systems Manager newKnow Navaluenga 2, Las Rozas, Madrid, Spain +34 91 6399000 This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. No confidentiality or privilege is waived or lost by any wrong transmission. If you have received this message in error, please immediately destroy it and kindly notify the sender by reply email. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Opinions, conclusions and other information in this message that do not relate to the official business of Newknow shall be understood as neither given nor endorsed by it.
Re: Can you help me ??(about limit of the number of per process file hand
On Thu, Mar 29, 2001 at 09:04:59AM +0800, Baoguo Xu wrote: > Dear Henning, > I try ,but not success. There is content in file conf-cc: > cc -O2 > DFD_SETSIZE=4096 Put it on one line, like: cc -O2 -DFD_SETSIZE=4096 Greetz, Peter.