In the previous episode (10.05.2001), Robin S. Socha [EMAIL PROTECTED] said:
* Wolfgang Zeikat [EMAIL PROTECTED] [010510 00:05]:
some MUA's add headers to outgoing mails:
Netscape mail under Linux adds
Sender: real_username@host
Pine adds
X-Sender: real_username@host
which can
some MUA's add headers to outgoing mails:
Netscape mail under Linux adds
Sender: real_username@host
Pine adds
X-Sender: real_username@host
which can be customized to
Sender: real_username@host
can i have qmail remove those headers in outgoing mails?
thanks
wolfgang
Wolfgang Zeikat
System Administrator - Technology
WSI Webseek Infoservice GmbH Co. KG - Herrengraben 3 - D-20459 Hamburg
Phone (+49) 40-300 69 322 - Fax (+49) 40-300 69 399
http://www.infoseek.de - mailto:[EMAIL PROTECTED]
In the previous episode (03.03.2001), Jon [EMAIL PROTECTED] said:
Anyway to control what the return-path is?
with qmail you can also use the command
sendmail -f sender adress recipient to send mails.
if your script uses that, you could thus define the "return-path", the
smtp envelope sender, to
In the previous episode (03.03.2001), Chris Johnson
[EMAIL PROTECTED] said:
What I'd like to do is collect all of this mail in a Maildir, so I can
avoid
all the double bounces. What I propose to do is put this in
~alias/.qmail-default:
|condredirect messageidspam sh -c "echo "$DEFAULT" | egrep
the program delivery lines in my dot-qmail files are beginning to get
lengthy -
for example with if ... elif statements and such ...
is there a way to continue a line on the next line in order to keep an
overwiew and make editing easier?
thanks
wolfgang
we sometimes receive external mails with malformed addresses based on
client-sided addressbook entries like
Name; Firstname [EMAIL PROTECTED]
(or something like that).
qmail notifies the sender that
Name;@webseek.de (which is our domain) does not exist.
i would like to prevent that completion
is it possible to somehow use a newline command in the message that the
bouncesaying command sends?
so that the error mail from the sending smtp server back to the envelope
sender would contain deliberate line breaks?
wolfgang
In the previous episode (01.02.2001), Matthew Patterson
[EMAIL PROTECTED] said:
On Thu, 01 Feb 2001, KIM wrote:
Hi to all,
How can i block a specific email address in qmail?
echo "[EMAIL PROTECTED]"
/var/qmail/control/badmailfrom
echo "@another.domain.name" /var/qmail/control/badmailfrom
In the previous episode (29.01.2001), Dave Sill [EMAIL PROTECTED]
said:
#!/bin/bash
#~/filter
cat /tmp/to$RECIPIENT.txt
if [ "$(grep 'Subject: whatever' /tmp/to$RECIPIENT.txt)" = "Subject:
whatever" ]
then
cat "/tmp/to$RECIPIENT.txt" | qmail-inject devnul
else
cat
when you send a mail to
[EMAIL PROTECTED]
you get a reply - sent to the address that you mailed from of course -
to which you have to reply once more for confirmation (so that nobody can
subscribe your adress by forging it)
i just tried it ...
wolfgang
--
if it is there and you can see it
In the previous episode (26.01.2001), Brian Longwe [EMAIL PROTECTED]
said:
If I knew how to write perl I probably wouldn't be askingthanks for
the tip anyway
here is an idea (not necessarily guru-approved but maybe worth a thought):
a ~/.qmail file catches every mail for the user and sends
In the previous episode (03.01.2001), Steve Hammond
[EMAIL PROTECTED] said:
I have set
smtproutes
to smtp:exchange.
the syntax to send all mail (except for locals) to one host is:
:that.one.host
wolfgang
to check existing MX records, type
# nslookup
server 212.121.128.10
set type=mx
then type the domain names you want to look the MX records up for, e.g.
xyz.com
wolfgang
is it possible to have more than one smtproute for the same destination
for the case that the first relay cannot be reached? if so, how?
wolfgang
Frank Tegtmeyer schrieb:
I doubt that the sender is really external - you wouldn't get the mail
through SMTP because of missing MX records.
good point
I think there is a wild
running script or a buggy SMTP client inside your network.
Regards, Frank
you were right, i found the bad guy:
if your domain is tatrasoft.sk,
remove tatrasoft.sk from ~/control/locals (if its there), and
if the IP number of your server on the local network is 10.1.1.1, put this
in
~/control/smtproutes:
tatrasoft.sk:10.1.1.1
(that has to be the actual IP of your internal mail server of course)
wolfgang
Dave Sill wrote:
Put 123.123.123.123 in control/locals and control/rcpthosts.
-Dave
ACK! i had mistyped the IP in both files, thanks for making me check
once more :)
wolfgang
how can i make qmail accept mails for
user@[123.123.123.123] when the machine 123.123.123.123 forwards all mails
to our qmail server?
wolfgang
is there a way to put all hosts from one domain into badmailfrom?
not all users from one host of that domain as in
@host.domain.com
but all users from all hosts of domain.com ...
would you add ash gray long sleeve too?
cheers
wolfgang
Also sprach Vern Hart [EMAIL PROTECTED] on 10.10.2000:
For what it's worth, cafepress.com now offers four new products
which I have made available with the qmail designs. They are: an
ash gray tshirt, a sweat shirt, a long sleeve tshirt
there is no user t
nor a user t-online
but still mail to t-online is *not* handled
by ~/alias/.qmail-default
but just creates that error message, how i can i "catch" it?
wolfgang
Also sprach Tim Hunter [EMAIL PROTECTED] on 28.09.2000:
Check the permissions on your user t's Maildir
-
thanks,
that solved my problem.
Also sprach Alexander Pennace [EMAIL PROTECTED] on 01.10.2000:
The qmail-getpw program is responsible for telling qmail where .qmail
files responsible for a given local address are; your problems could
be caused by its confusion. What is the output of:
$
in the course of some mailing list activity i keep getting this error:
Sep 29 02:53:41 luzifer qmail: 970188821.500534 starting delivery 142187:
msg 582933 to local [EMAIL PROTECTED]
Sep 29 02:53:41 luzifer qmail: 970188821.500693 status: local 1/10 remote
1/20
Sep 29 02:53:41 luzifer qmail:
Also sprach Gustavo Schroeder [EMAIL PROTECTED] on 22.09.2000:
when the user request to receive his messages (pop3 requisition)
the qmail returns the following message:
this user has no $HOME/Maildir
just to make sure you have not missed something in your setup:
does the user have a directory
Also sprach Gustavo Schroeder [EMAIL PROTECTED] on 22.09.2000:
i've used the following command:
# maildirmake $HOME/Maildir
# echo ./Maildir/ ~/.qmail
does the # at the beginning of the line mean you did that as root?
if root types: $HOME
the variable $HOME is expanded to root's home directory
Also sprach Anand Saokar [EMAIL PROTECTED] on 22.09.2000:
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
in each mail from this list, in the header you find the email address:
[EMAIL PROTECTED]
it will tell you that you just need to email
[EMAIL PROTECTED]
make sure to use your
sadly, one of our domains seems to have gotten onto one or more of those
"Buy * Million first class spam recipients' email addresses NOW" lists/CDs.
so we keep receiving mails from all over this lovely planet for the non
existent users
michellep tonyak jenniferd barbik melindaa gabriellej barbis
the email clients Netscape Messenger and Outlook Express dont need to
recognize the maildir format, cause they dont have anything to do with it.
to fetch mail, these clients contact a POP3 server program or an IMAP
server program on your incoming mail server, and those programs "present"
them
Also sprach Mark Lo [EMAIL PROTECTED] on 22.09.2000:
Does ISP mail server need to install mail virus scanner ?? I
personally don't think so, it is the job left to home or corporate users,
am I right ?? Suggestion is welcome.
i would think an ISP mail server doesn't have to run a run a virus
qmail announces itself to other SMTP servers with "HELO ..." and then it
adds either with what is in your file
/var/qmail/control/me
or (if it exists) the file /var/qmail/control/helohost
so make sure you have a hostname with a valid DNS entry in
/var/qmail/control/me
or at least in
from my sendmail days i remember creating aliases in /etc/aliases like
UserName:username
but here the problem seems to be the other way around,
is there a way to fix it?
(phew, luckily we only have lower case usernames here :)
wolfgang
Also sprach Dave Sill [EMAIL PROTECTED] on 20.09.2000:
in the file INSTALL.alias in qmail-1.03.tar.gz it says:
* root. Under qmail, root never receives mail. Your system may generate
mail messages to root every night; if you don't have an alias for root,
those messages will bounce. (They'll end up double-bouncing to the
postmaster.) Set up an alias
i telnetted into port 25 (not sure if this is the machine you wrote about
tho) and got this:
220 info.load-otea.hrdc-drhc.gc.ca ESMTP
mail from: [EMAIL PROTECTED]
250 ok
rcpt to: [EMAIL PROTECTED]
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
if you telnet from a
how would you apply more than one patch then?
wolfgang
Also sprach Jason Haar [EMAIL PROTECTED] on 20.09.2000:
Yes this is why it failed. As is usually the case, patches are against
UNTOUCHED sources.
rcpthosts only lists the domains that your server accepts mail for (to
deliver it to the user for example) ... to reach other domains, you use
relaying.
for more info see:
http://www.palomine.net/qmail/relaying.html
http://cr.yp.to/qmail/faq/servers.html#authorized-relay
actually, SMTP, POP3 and IMAP servers do *not* care which operating system
you are running, as long as your clients use protocol compliant commands.
or in other words: yes, you can use qmail as your SMTP / POP3 server (and
as an IMAP server too, with addons)
(you can *not* install qmail on
our qmail server has a local IP number in our LAN and a DNS entry for
another IP number. our firewall passes smtp connections for the official
IP to the local IP, works alright, except for the problem that mails to
user@[officialIP] first didnt get accepted:
- Transcript of session
Also sprach David Dyer-Bennet [EMAIL PROTECTED] on 04.09.2000:
If a spammer sent that message with an envelope recipient of
[EMAIL PROTECTED], it would be accepted because newmediaone.net is in
rcpthosts.
does that mean: the message is accepted *and* the mails to the Cc: header
recipients
Also sprach David Dyer-Bennet [EMAIL PROTECTED] on 04.09.2000:
If a spammer sent that message with an envelope recipient of
[EMAIL PROTECTED], it would be accepted because newmediaone.net is in
rcpthosts.
does that mean: the message is accepted *and* the mails to the Cc: header
recipients
i tested your tester, thanks :)
(*erm*, wouldnt it be easier if you could copy/paste from the results page
without having to open the page source and seeing those *tons* of
color/font tags? :)
however, your test claims i am running an open relay due to these results:
MAIL FROM:([EMAIL
oops sorry,
that was rather a temporary netscape problem that didnt let me copy/paste.
Also sprach wolfgang zeikat [EMAIL PROTECTED] on 03.09.2000:
(*erm*, wouldnt it be easier if you could copy/paste from the
results page
without having to open the page source
Also sprach Sean C Truman [EMAIL PROTECTED] on
03.09.2000:
But if ORBS runs the test
and it fails then you are added to the ORBS database..
i doubt that.
my server has repeatedly been tested by ORBS and is considered clean.
wolfgang
*duh* - telnetting into the world from our mail server is prohibited by
the firewall hehe.
mail-abuse.org accepts mail from me via that server tho (relay reports).
wolfgang
Also sprach Sean C Truman [EMAIL PROTECTED] on
03.09.2000:
From your mail server just telnet to
once you have the IMAP account added to the outlook setup,
you should be able to drag/drop folders/messages from one account into the
other.
(might be the right time to clean a few out)
you dont have to do them all at once do you.
once the messages are stored on the imap server:
if you dont use
a possible workaround:
if you use the elm program (that can also be used in scripts with options
and such),
the headers for the outgoing mail can be specified in
~/.elm/elmheaders
wolfgang
Also sprach Darrell Wright [EMAIL PROTECTED] on 25.08.2000:
Hello, I was just curious. I've browsed
i am content with courier-imap together with qmail.
for more details see
http://www.inter7.com/courierimap/
wolfgang
the correct syntax would be:
@indianatimes.com
no wildcard *
wolfgang
Also sprach Duane L. [EMAIL PROTECTED] on 18.08.2000:
I have '*@indiatimes.com' in badmailfrom
i have a few messages sitting in the qmail queue that will never get
delivered - for example because the recipients' addies are on
fully-unqualified hosts.
can i just delete those messages to save qmail the retries and to save me
the final "sorry wasn't able to deliver" mail to postmaster@ ? or
can't you filter on
To: [EMAIL PROTECTED]
?
wolfgang
Also sprach Chris, the Young One [EMAIL PROTECTED] on 09.08.2000:
Filter on Delivered-To, or Mailing-List. If hotmail can't do that, use
another email service.
Also sprach Bruce Guenter [EMAIL PROTECTED] on 07.08.2000:
- is it possible to include only like the first 50 KB of the
original
message?
I'll add that feature.
great (i achieved by using the head command)
- is it possible to exclude local users from the
Also sprach Olivier M. [EMAIL PROTECTED] on 07.08.2000:
i achieved by using the head command)
and what about attachments ? head could cut one in the middle...
it does cut them off, thus my autoreply says:
--- Below this line is a copy of the message.
(Note that this copy has been
i use qmail-autoresponder in .qmail-default to send a message back to
senders who send to invalid users on our server.
now i would like to know a few things:
- is it possible to include only like the first 50 KB of the original
message? so that for example bigger attachments would simply get
Also sprach Olivier M. [EMAIL PROTECTED] on 05.08.2000:
Isn't the subject (%S) enough ?
the subject sure is good to have in the response,
but i think of people who spend some time typing their mail,
mistype the address, send without keeping a copy ...
and have to retype it all in
Also sprach David Dyer-Bennet [EMAIL PROTECTED] on 05.08.2000:
So if you want to do your own bounce with your own
message, *please* take the trouble to do it in a common enough
bounce format that most tools that handle bounces will be able to
figure it
out.
what
well, i have decided to truncate the bounced message,
and i simply added
|head -c 50k /var/tmp/no-mailbox.txt
to that .qmail-default, where /var/tmp/no-mailbox.txt is a temporary file
that qmail-autoresponder finally uses for the message to the sender.
wolfgang
qmail seems to be doing ident lookups with each email a local user sends
via SMTP.
since the ident port has been disabled in our firewall,
these lookups slow sending mail down on the users' client side.
is there a way to run qmail without those lookups?
wolfgang
to contact spammers' mail server administrators i have found it very
useful to have signed up with
http://spamcop.net
via http://spamcop.net/anonsignup.shtml
they provide a form to paste the spam mail into and have all the necessary
DNS/whois lookups done
wolfgang
i am about to install qmail in a fresh linux installation ...
while looking at the qmail installation i currently have i noticed that
all the qmail* users have /bin/bash as their login shell, same with the
user alias ...
is that necessary for the programm to work properly?
i rather tend to have
see http://cr.yp.to/qmail/faq.html
and Life with qmail at http://Web.InfoAve.Net/~dsill/lwq.html
for answers to at least some of your questions.
Also sprach [EMAIL PROTECTED] [EMAIL PROTECTED] on 23.07.2000:
from the qmail-1.0.3/INSTALL file:
5. Read INSTALL.alias. Minimal survival command:
# (cd ~alias; touch .qmail-postmaster .qmail-mailer-daemon
qmail-root)
# chmod 644 ~alias/.qmail*
from qmail-1.0.3/INSTALL.alias:
*
i installed version 0.92.
it sends the reply and ignores the message when repeated immediately,
but it does not quote the original message.
can it do that?
and if so, can it shorten the original message to lets say 100 K or
something?
thanks,
wolfgang
Also sprach Bruce Guenter [EMAIL
in /etc/aliases i added
autortest: alias-autor
then i created the file
/var/qmail/alias/.qmail-autor
it contains:
|/var/qmail/alias/autorespond 1 100 /var/tmp/autor.txt
/var/tmp/autorespond/no-mailbox
(that is one line, no matter how your email client wrapped it here)
not sure if you
There is a courier-imap mailing list ...
Subscribe to the courier-users mailing list from
http://lists.sourceforge.net/mailman/listinfo/courier-users,
or send a message to [EMAIL PROTECTED] and put
"subscribe" in the subject line.
This mailing list does not accept mail from non-subscribers.
this is a bit off topic,
but i consider it useful anyway ...
http://spamcop.net offers handy online forms
that process spam mails (do whois / dns lookups) and prepare a
ready-to-send
complaint emails with choices which ISP/Mail Server to send them to ... i
use it a lot with spam arriving in our
in the file rcpthosts you need to list all the hosts/domains,
that you want to get mail FOR, not FROM.
that means the hosts that your qmail server is "responsible" for. so it
accepts mails from anyone for those domains and tries to deliver them
directly to the users, virtualusers or recipients
Also sprach Karl Voit [EMAIL PROTECTED] on 04.07.2000:
Ow. This is getting complicated now :(
No its not. its logical:
[EMAIL PROTECTED] connects to your qmail via SMTP
with a mail for [EMAIL PROTECTED]
now qmail checks rcpthosts to find out if whatever.com is a host it
accepts mail for - for
i wrote:
our redhat linux machine mira's sendmail is using our redhat linux qmail
server luzifer as smarthost
when users on that mira send mails, the mails contain a return-path
containing the full hostname mira.webseek.de which is not fully qualified
(just for internal LAN use) and thus causing
our redhat linux machine mira's sendmail is using our redhat linux qmail
server luzifer as smarthost
when users on that mira send mails, the mails contain a return-path
containing the full hostname mira.webseek.de which is not fully qualified
(just for internal LAN use) and thus causing
how would i set up an autoreply for incoming messages in qmail?
with a .qmail-* file? and if so, what should it contain exactly?
or is there a way to do it with the fastforward tool?
wolfgang
i found a rather easy way to do it at
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/04/msg00134.html
now i wonder if i could quote the original message?
is there a variable like $msg or something that can be used for that?
wolfgang
71 matches
Mail list logo