unknown user
when receiving mails for users which are unknown at a special domain, i want to send them automatically to a special user at the same domain. is it possible to do this with qmail? how can i archieve this? I do not want to forward them, neither should it be an error message with an attachement of the original mail, but it should be a "normal" mail. I need the header with an information of the user to which the mail should be send originally. Thanks for help!
leaving this list
How can I unsubscribe from this list.
Error on startup
my script: env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver 0 pop-3 /var/qmail/bin/qmail-popup orbital.inter7.com \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir The paths are o.k., but I get the error "Maildir command not found" during start-up. Why??
AW: php3 mail()
no, definitly the mail-function is right. the script works at another server. can there be a problem with the user rights?? @400038987c19390ada14 new msg 26694 @400038987c19390b14ac info msg 26694: bytes 282 from <[EMAIL PROTECTED]> qp 2576 uid 30 @400038987c193915ab9c end msg 26694 This mail should be sent by the user wwwuser. If I send mails through a mail client, they are send with user "root". So i assume that there is maybe a problem with the rights. But I do not know exacty how to solve this... > -Ursprüngliche Nachricht- > Von: Russ Allbery [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 3. Februar 2000 08:21 > An: qmail Liste > Betreff: Re: php3 mail() > > > Andreas Altenburg <[EMAIL PROTECTED]> writes: > > > after trying to send a mail with php3 mail() (the path to the sendmail > > wrapper is correct!) my logfile tells me: > > > @400038987c19390ada14 new msg 26694 > > > @400038987c19390b14ac info msg 26694: bytes 282 from > > <[EMAIL PROTECTED]> qp 2576 uid 30 > > > @400038987c193915ab9c end msg 26694 > > > Why isn't the message send? The domain fup.de is listed in the rcpthost. > > I normally see that behavior from qmail when the message doesn't have any > recipients. My immediate suspicion would be that the message being fed to > qmail is malformed. > > -- > Russ Allbery ([EMAIL PROTECTED]) > http://www.eyrie.org/~eagle/>
php3 mail()
after trying to send a mail with php3 mail() (the path to the sendmail wrapper is correct!) my logfile tells me: @400038987c19390ada14 new msg 26694 @400038987c19390b14ac info msg 26694: bytes 282 from <[EMAIL PROTECTED]> qp 2576 uid 30 @400038987c193915ab9c end msg 26694 Why isn't the message send? The domain fup.de is listed in the rcpthost.
AW: pop3 start
well thanks a lot, it works. But every pop3 transaction will be echod to the bash. Can I disable this? > -Ursprüngliche Nachricht- > Von: Tim Hunter [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 2. Februar 2000 02:27 > An: Andreas Altenburg > Betreff: Re: pop3 start > > > At 01:00 AM 2/2/00 +0100, you wrote: > >i read "life with qmail" and set ip my server correctly. i did > not find the > >part how to start the pop3d automatically. so i entered the > lines of the doc > >("tcpserver..." to my boot script of qmail. Now each transaction > is logged > >to the console. Does anybody have I working startup script for > qmail-send, > >qmail-smtpd and qmail-pop3??? > here is my /etc/rc.d/init.d/qmail script > Careful I made some minor changes to the LWQ > #!/bin/sh > # used to start/stop/etc qmail > PATH=/var/qmail/bin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin > export PATH > > case "$1" in >start) > > echo -n "Starting qmail: svscan" > cd /var/qmail/supervise > env - PATH="$PATH" svscan & > echo $! > /var/run/svscan.pid > echo "." > ;; >stop) > echo -n "Stopping qmail: svscan" > kill `cat /var/run/svscan.pid` > echo -n " qmail" > svc -dx /var/qmail/supervise/* > echo -n " logging" > svc -dx /var/qmail/supervise/*/log > echo "." > ;; >stat) > cd /var/qmail/supervise > svstat * */log;; >doqueue|alrm) > echo "Sending ALRM signal to qmail-send." > svc -a /var/qmail/supervise/qmail-send > ;; >queue) > qmail-qstat > qmail-qread > ;; >reload|hup) > echo "Sending HUP signal to qmail-send." > svc -h /var/qmail/supervise/qmail-send > ;; >pause) > echo "Pausing qmail-send" > svc -p /var/qmail/supervise/qmail-send > echo "Pausing qmail-smtpd" > svc -p /var/qmail/supervise/qmail-smtpd > echo "Pausing qmail-pop3d" > svc -p /var/qmail/supervise/qmail-pop3d > ;; >cont) > echo "Continuing qmail-send" > svc -c /var/qmail/supervise/qmail-send > echo "Continuing qmail-smtpd" > svc -c /var/qmail/supervise/qmail-smtpd > echo "Continuing qmail-pop3d" > svc -c /var/qmail/supervise/qmail-pop3d > ;; >restart) > echo "Restarting qmail:" > echo "* Stopping qmail-smtpd." > svc -d /var/qmail/supervise/qmail-smtpd > echo "* Sending qmail-send SIGTERM and restarting." > svc -t /var/qmail/supervise/qmail-send > echo "* Restarting qmail-smtpd." > svc -u /var/qmail/supervise/qmail-smtpd > echo "* Restarting qmail-pop3d." > svc -u /var/qmail/supervise/qmail-pop3d > ;; >cdb) > tcprules_path=/var/qmail/smtp > tcprules $tcprules_path/tcp.smtp.cdb $tcprules_path/tcp.smtp.tmp < > $tcprules_path/tcp.smtp > chmod 644 /var/qmail/smtp/tcp.smtp* > echo "Reloaded /var/qmail/smtp/tcp.smtp." > ;; > >help) > cat < stop -- stops mail service (smtp connections refused, nothing > goes out) >start -- starts mail service (smtp connection accepted, mail > can go out) >pause -- temporarily stops mail service (connections accepted, nothing > leaves) > cont -- continues paused mail service > stat -- displays status of mail service > cdb -- rebuild the tcpserver cdb file for smtp > restart -- stops and restarts smtp, sends qmail-send a TERM & restarts it > doqueue -- sends qmail-send ALRM, scheduling queued messages for delivery > reload -- sends qmail-send HUP, rereading locals and virtualdomains >queue -- shows status of queue > alrm -- same as doqueue > hup -- same as reload > HELP > ;; > *) > echo "Usage: $0 > {start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queue|help}" > exit 1 > ;; > esac > > exit 0 > > > Here is my /var/qmail/supervise/qmail-pop3d/run > #!/bin/sh > PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin:/home/vpopmail/bin > export PATH > > exec tcpserver -v -p -c5 0 pop-3 qmail-popup mail.cimx.com \ > vchkpw qmail-pop3d Maildir 2>&1 > > and my /var/qmail/supervise/qmail-pop3d/log/run > #!/bin/sh > PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin > export PATH > exec setuidgid qmaill multilog t /var/log/qmail/pop3d > > > Hope that helps you > > -- Tim >
pop3 start
i read "life with qmail" and set ip my server correctly. i did not find the part how to start the pop3d automatically. so i entered the lines of the doc ("tcpserver..." to my boot script of qmail. Now each transaction is logged to the console. Does anybody have I working startup script for qmail-send, qmail-smtpd and qmail-pop3???
AW: AW: AW: php3 and qmail
the http_access file shows "GET index.php 200 ..." Nothing unusual. The http_error show nothing...
AW: AW: php3 and qmail
phpinfo() showed me /var/qmail/bin/sendmail as sendmail path. In spite of this mail is not delivered. The host is allowed as well. Sendmail is killed totally, other mails are sent. Where is my mistake. Perhaps it is a quetsion of php...
AW: php3 and qmail
i changes the line in the php3.ini-dist to /var/qmail/bin/sendmail In spite of this, the mail is not send. In the http-error-log there is a line /usr/sbin/sendmail -no such directory or file. But i do not find the line in my php3.ini-dist file. Where can it be???
php3 and qmail
in php there is a function called "mail()". In the docs it is described how to use it with sendmail. Does anybody know how to use this with qmail??
cgi
does anybody know a perl script that supports form handling with the use of qmail???
tcpserver
i did and use this script: start) echo -n "Starting qmail: svscan" cd /var/qmail/supervise env - PATH="$PATH" svscan & echo $! > /var/run/svscan.pid echo "." ;; There is no error message during startup, qmail-send etc. are running, but i am not able to send mails from a client using the qmail server (error: server not reachable). When using the comman "tcpserver ..." it works just fine, but the traffic is logged to the console. Do I have to add a line in the script above?
tcpserver
can anyone send me a boot script for the tcpserver which logs not to the console, but into the logfiles???
where is the mistake
this is my boot script: - ulimit -v 2048 csh -cf '/var/qmail/rc &' supervise /var/lock/qmail-smtpd tcpserver -v -x/etc/tcp.smtp.cdb -u$USERID -g$GROUPID 0 25 \ rblsmtpd qmail-smtpd 2>&1 | stuidgid qmaill accustamp | \ setuidgid qmaill cyclog -s500 -n5 /var/log/qmail/qmail-smtpd & echo "." ;; - an error occurs with the command "setuidgid qmaill cyclog " cyclog cannot be found. what is the meaning of this line? how can I replace it??
setuser
i installed tcpserver and daemontools, but cannot locate the comman "setuser". Which mistake did I make??
SMTP problem
The command telnet localhost 25 shows a message : Connection refused. Whith ps I see that qmail-send etc. are running. Why is the connection refused? Do I have to configuer tecpserver??
init script
yeah, qmail-send and qmail-smtp are running. But I am nor able to send mails with the use of this smtp server. My client reports (server nor found). It is definitely not a client problem, it worked when running qmail as inetd. So what did I miss?
init script
> case "$1" in > start) > echo -n "Starting qmail: svscan" > cd /var/qmail/supervise > env - PATH="$PATH" svscan & > echo &! > /var/run/svscan.pid o.k. the script runs without error. Its said "Starting qmail: svscan." How can I put in if it is done? When looking up with ps it is not shown. How can I test, if qmail is running?
AW: tcpserver docs
Do you know: http://web.infoave.net/~dsill/lwq.html ??
înit script
my script: case "$1" in start) echo -n "Starting qmail: svscan" cd /var/qmail/supervise env - PATH="$PATH" svscan & echo &! > /var/run/svscan.pid echo "." ;; the error: env: svscan no such file or directory i do not understand exactly the meaning of "svscan". Where is my mistake???
init script
yes, thanks a lot. It was a dos format. Now there is a syntax error, but that much more clear. One further question. When changing to runtime level1 and then back to 3 the script is not loaded, although it is located there. Do I need a reboot?
init script
my problem is very basic, but i do not find a solution: I am using the init script from http://web.infoave.net/~dsill/lwq.html I created a link in rc3.d. But when starting the system the error : Could not found such file or directory occurs. It's when the system tries to load S80qmail. But the file is correctly linked. And i do not see any errors in the file. Where is my mistake???
AW: tcpserver
also look at life with qmail for a more elegant solution what do you mean with more elegant??? Do i really need the tcpserver or is inetd ok as well - Original Message - From: Andreas Altenburg To: [EMAIL PROTECTED] Sent: Monday, January 31, 2000 11:07 AM Subject: tcpserver hi, i installed ucspi-tcp and i am running qmail under the tcpserver. My basic problem: I added the line tcpserver -v -u 7770 -g 2108 smtp /var/qmail/bin/qmail-smtpd \ 2>&1 | var/qmail/bin splogger smtpd 3 & to a boot script. The error that appeares is: Command not found... Where is the mistake??? Andreas
tcpserver
hi, i installed ucspi-tcp and i am running qmail under the tcpserver. My basic problem: I added the line tcpserver -v -u 7770 -g 2108 smtp /var/qmail/bin/qmail-smtpd \ 2>&1 | var/qmail/bin splogger smtpd 3 & to a boot script. The error that appeares is: Command not found... Where is the mistake??? Andreas