qmail Digest 9 Sep 2000 10:00:01 -0000 Issue 1118
Topics (messages 48331 through 48358):
Re: qmail -relay
48331 by: Vince Vielhaber
48332 by: Vince Vielhaber
Re: bounce mail w/ an attachment how to delete
48333 by: Dave Sill
Re: A strange problem delivering local mail (long and hard)
48334 by: Peter Samuel
48354 by: Javier Ribelles
48355 by: Adam McKenna
Re: multiple messages after header rewriting
48335 by: Chris K. Young
48336 by: Sean C Truman
qmail-popup fd weirdness
48337 by: Peter van Dijk
48338 by: Chris K. Young
48343 by: Peter van Dijk
Spam
48339 by: Mike Jimenez
48341 by: Ben Beuchler
? -> Delivery Status Notification (Failure)
48340 by: Brian Ghidinelli
48344 by: Aaron L. Meehan
Re: Configure qmail using two ethernet card.
48342 by: Ihnen, David
DNS MX Records
48345 by: tigre21.gamma.qnet.com.pe
Re: Open relay test.
48346 by: John R. Levine
48349 by: John Gonzalez/netMDC admin
Re: QMTP
48347 by: Claus F�rber
Re: Mail marked as read??
48348 by: Claus F�rber
qmail-start: cannot start: unable to read controls
48350 by: Steve Lewis
48352 by: Ben Beuchler
IGNORE Re: qmail-start: cannot start: unable to read controls
48351 by: Steve Lewis
please help me with Courier-imap!
48353 by: Wilson Henriquez
Double Bcc messages received
48356 by: Christopher Taranto
users/assign needs to be same on multiple servers (NIS?)
48357 by: Brett Randall
Environment Variables represent original recipient address
48358 by: Muhamad A. Martoprawiro
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]
----------------------------------------------------------------------
On Fri, 8 Sep 2000, orca wrote:
> Hi
> Please help.
> I have problem.
> My qmail-server works correctly.
> I set to mode stand-up from
> http://www.palomine.net/qmail/selectiverelay.html.
> Create a file in /etc called tcp.smtp. I read :
>
> 192.168.0.3:allow,RELAYCLIENT=""
> 127.:allow,RELAYCLIENT=""
> :allow
> this is OK
>
> # tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.temp < /etc/tcp.smtp
> This is OK
>
> I don't finalize stand-up because if I write my symbol string after a
> pattern from http://www.palomine.net/qmail/selectiverelay.html.>
> tcpserver -x/etc/tcp.smtp.cdb -u 503 -g 504 0 smtp /QMAIL/bin/qmail-smtpd
> &
> My server answer > tcpserver: fatal : unable to bind: address already used
> I am afraid but I don't know about what address think my server.
This means that something is already listening on port smtp. You may have
another tcpserver already running on that port or perhaps sendmail is
still running.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] http://www.pop4.net
128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
Sure hope he's on this list 'cuze his mail bounced due to rcpthosts.
On Fri, 8 Sep 2000, Vince Vielhaber wrote:
> On Fri, 8 Sep 2000, orca wrote:
>
> > Hi
> > Please help.
> > I have problem.
> > My qmail-server works correctly.
> > I set to mode stand-up from
> > http://www.palomine.net/qmail/selectiverelay.html.
> > Create a file in /etc called tcp.smtp. I read :
> >
> > 192.168.0.3:allow,RELAYCLIENT=""
> > 127.:allow,RELAYCLIENT=""
> > :allow
> > this is OK
> >
> > # tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.temp < /etc/tcp.smtp
> > This is OK
> >
> > I don't finalize stand-up because if I write my symbol string after a
> > pattern from http://www.palomine.net/qmail/selectiverelay.html.>
> > tcpserver -x/etc/tcp.smtp.cdb -u 503 -g 504 0 smtp /QMAIL/bin/qmail-smtpd
> > &
> > My server answer > tcpserver: fatal : unable to bind: address already used
> > I am afraid but I don't know about what address think my server.
>
> This means that something is already listening on port smtp. You may have
> another tcpserver already running on that port or perhaps sendmail is
> still running.
>
> Vince.
>
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] http://www.pop4.net
128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
Kimberly Vher <[EMAIL PROTECTED]> wrote:
>>please help me with this problem. if qmail failed to deliver the emails to
>the destination then automatically it will be bounce to the sender right?
>if the bounces email have an attachment then how can i remove the
>attachment so that only the text file or only the header not the body
>will be bounce to the sender.
There's no easy way to do that. There's a patch pointed to by
www.qmail.org that truncates bounce messages, but it doesn't remove
attachments.
-Dave
On Fri, 8 Sep 2000, Javier Ribelles wrote:
>
> Hi all, first of all, sorry for some of my poor english expresions
> you'll find in my mail, but it's been long since I last used it ;)
De nada.
> ...
>
> When I started qmail, all seemed to work fine... Mail was correctly
> delivered inside an outside the server. But I like to send mail through
> telneting port 25, so I did this:
>
> telnet localhost 25
> HELO aimplas.es
> MAIL FROM: jribelles
> RCPT TO: jribelles
> DATA
> hola
> .
> quit
>
> ...
>
> So, everything seems to be right... Now let's take a look at users' inbox
> (/var/spool/mail/jribelles) ...
>
> From jribelles Fri Sep 08 07:57:54 2000
> Return-Path: <jribelles>
> Delivered-To: [EMAIL PROTECTED]
> Received: (qmail 11831 invoked from network); 8 Sep 2000 07:57:53 -0000
> Received: from localhost (HELO aimplas.es) ([EMAIL PROTECTED])
> by localhost with SMTP; 8 Sep 2000 07:57:53 -0000
> hola
>
> Well, all I can see here is that the header is missing, fields "From", "To",
> and "Date" should appear after second "Received:" line, but they do not... Of
> course this only happens when delivering to a local user... And I have
> discovered why...
>
> Mail clients do send the header after the DATA tag, like this...
>
> ...
> DATA
> Date: Fri Sep 08 07:57:54 2000
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
>
> hola
> ...
>
> This would be the DATA they would send... doing that makes it work
> fine... If you put only a "Subject" or "From" field, and you do not specify
> all the fields (or maybe only the date), it will ignore the rest of the
> message, and will show you only the fields you've entered...
The SMTP daemon (qmail's or anyone elses for that matter) is not
responsible for adding RFC822 headers such as From: or To: etc. All
the SMTP daemon does is accept the incoming data and possibly add a
Received: header.
The sending system is responsible for 'doing the right thing' with
respect to From: headers etc.
By telnetting into port 25, you were acting as the SMTP client, so you
were resonsible for adding the From: header etc.
Here's a sample from my system:
telnet allspice 25
Trying 192.168.16.20...
Connected to allspice.e-smith.net.
Escape character is '^]'.
220 e-smith.net ESMTP
helo risotto
250 e-smith.net
mail from: <[EMAIL PROTECTED]>
250 ok
rcpt to: <[EMAIL PROTECTED]>
250 ok
data
354 go ahead
From: Peter Samuel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: testing from telnet
g'day
.
250 ok 968422217 qp 27634
quit
221 e-smith.net
Connection closed by foreign host.
I gave the system the appropriate RFC822 headers, and here is what
ended up in my Maildir/
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 27634 invoked from network); 8 Sep 2000 14:09:43 -0000
Received: from unknown (HELO risotto) (192.168.16.154)
by 192.168.16.20 with SMTP; 8 Sep 2000 14:09:43 -0000
From: Peter Samuel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: testing from telnet
g'day
The bottom line is that your system is working properly. You just
assumed it was going to do more than it actually does.
>
> I tried making it work by removing completely /var/qmail (rm -Rf
> /var/qmail/*) and reinstalling qmail and fastforward and ucspi, but that
> doesn't solve the problem.. maybe it's not a qmail problem, but procmail's? But
There was no need to reinstall. It was working fine.
> I don't understand why it's happened after rebooting the system...
>
> Maybe the problem is in qmail-local or qmail-smtpd->qmail-queue, as
> doing
> echo "To: jribelles" | /var/qmail/bin/qmail-inject
> works fine...
That works fine because qmail-inject creates From: and To: headers etc
if they don't already exist. That is part of its job.
qmail-smtpd's job is not to add headers that aren't there.
--
Regards
Peter
----------
Peter Samuel [EMAIL PROTECTED]
http://www.e-smith.org (development) http://www.e-smith.com (corporate)
Phone: +1 613 368 4398 Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada
"If you kill all your unhappy customers, you'll only have happy ones left"
El Fri, 08 Sep 2000, escribiste:
> On Fri, 8 Sep 2000, Javier Ribelles wrote:
>
> >
> > Hi all, first of all, sorry for some of my poor english expresions
> > you'll find in my mail, but it's been long since I last used it ;)
>
> De nada.
;)
>
> That works fine because qmail-inject creates From: and To: headers etc
> if they don't already exist. That is part of its job.
>
> qmail-smtpd's job is not to add headers that aren't there.
Ok, it's understud, but... why did it work before restarting the
machine? Why does it work with sendmail? (uh! don't hit me!! ;) ).
That's why I'm worried, I've worked for long time with MTAs and every
smtpd I installed worked fine by telneting to port 25 without adding extra
header in "DATA" field... even qmail before restarting the system....
:(((
--
Javier Ribelles - [EMAIL PROTECTED]
<This is NOT the Real Signature>
<Maybe I'm at HoMe>
On Sat, Sep 09, 2000 at 02:12:10AM +0200, Javier Ribelles wrote:
> Ok, it's understud, but... why did it work before restarting the
> machine? Why does it work with sendmail? (uh! don't hit me!! ;) ).
Qmail Doesn't Do That. It's that simple.
> That's why I'm worried, I've worked for long time with MTAs and every
> smtpd I installed worked fine by telneting to port 25 without adding extra
> header in "DATA" field... even qmail before restarting the system....
Uh, no. If your MTA did that before you restarted, then it wasn't qmail. I
suggest you look at the message headers and confirm this for yourself.
--Adam
Quoted from Stefan Witzel:
> ~alias/.qmail-fixme-default:
> | /var/qmail/bin/qmail-inject
*cough, cough* Please, read FAQ 5.5.
---Chris K.
--
Chris, the Young One |_ If you can't afford a backup system, you can't
Auckland, New Zealand |_ afford to have important data on your computer.
http://cloud9.hedgee.com/ |_ ---Tracy R. Reed
Hey Chris,
You might as well just add the "*cough, cough* Please, read FAQ " to
you signature file.
Cheers
Sean Truman
www.prodigysolutions.com
[EMAIL PROTECTED]
----- Original Message -----
From: Chris K. Young <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 08, 2000 10:27 AM
Subject: Re: multiple messages after header rewriting
> Quoted from Stefan Witzel:
> > ~alias/.qmail-fixme-default:
> > | /var/qmail/bin/qmail-inject
>
> *cough, cough* Please, read FAQ 5.5.
>
> ---Chris K.
> --
> Chris, the Young One |_ If you can't afford a backup system, you can't
> Auckland, New Zealand |_ afford to have important data on your computer.
> http://cloud9.hedgee.com/ |_ ---Tracy R. Reed
Why does qmail-popup change fd2 from stderr (which nicely goes into the
logger, usually) to a copy of fd1?
This fdcopy prevents checkpassword replacements from logging anything.
Greetz, Peter.
--
[ircoper] [EMAIL PROTECTED] - Peter van Dijk / Hardbeat
[student] Undernet:#groningen/wallops | IRCnet:/#alliance
[developer] _____________
[disbeliever - the world is backwards] (__VuurWerk__(--*-
Quoted from Peter van Dijk:
> Why does qmail-popup change fd2 from stderr (which nicely goes into the
> logger, usually) to a copy of fd1?
What's your setup? I thought, if you use the usual svscan setup,
_stdout_ gets logged.
---Chris K.
--
Chris, the Young One |_ but what's a dropped message between friends?
Auckland, New Zealand |_ this is UDP, not TCP after all ;) ---John H.
http://cloud9.hedgee.com/ |_ Robinson, IV
On Sat, Sep 09, 2000 at 03:26:28AM +1200, Chris K. Young wrote:
> Quoted from Peter van Dijk:
> > Why does qmail-popup change fd2 from stderr (which nicely goes into the
> > logger, usually) to a copy of fd1?
>
> What's your setup? I thought, if you use the usual svscan setup,
> _stdout_ gets logged.
Yes it does, but, fd's 0 and 1 are attached to the network socket under
tcpserver anyway, which is why I have a 2>&1 which means fd 2 goes into
the 'high-level' (tcpserver output) fd 1.
Greetz, Peter.
--
[ircoper] [EMAIL PROTECTED] - Peter van Dijk / Hardbeat
[student] Undernet:#groningen/wallops | IRCnet:/#alliance
[developer] _____________
[disbeliever - the world is backwards] (__VuurWerk__(--*-
How do I setup my mail server to help reduce the amount of spam it
receives.Or better what are the steps taken to do this.Also How do I
properly block out certain Ip's from sending mail to my server.
Thanks
Mike
On Fri, Sep 08, 2000 at 08:37:55AM -0700, Mike Jimenez wrote:
> How do I setup my mail server to help reduce the amount of spam it
> receives.Or better what are the steps taken to do this.Also How do I
> properly block out certain Ip's from sending mail to my server.
http://www.summersault.com/chris/techno/qmail/qmail-antispam.html
--
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612) 321-9290 x101
Bitstream Underground www.bitstream.net
I'm not sure yet if this is Qmail specific, but I thought that someone
here might have experienced this before and thus would have an idea since
we're all email Admins.
Users who are sending our mail servers mail from large sites such as
prontomail or hotmail occasionally get the following error:
>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Delivery Status Notification (Failure)
>Date: Thu, 7 Sep 2000 13:31:04 -0700
>
>This is an automatically generated Delivery Status Notification.
>
>Unable to deliver message to the following recipients, due to being unable
>to connect successfully to the destination mail server.
>
> Reporting-MTA: dns;mail.hotmail.com
> Received-From-MTA: dns;mail.hotmail.com
> Arrival-Date: Tue, 5 Sep 2000 13:24:01 -0700
>
> Final-Recipient: rfc822;[EMAIL PROTECTED]
> Action: failed
> Status: 4.4.2
The odd thing about this is that we have two mail servers - one in New
Jersey on an occasionally unstable link and one in California at Above.net
which is always online and both trigger this error (randomly).
Both of these mail servers run Qmail 1.03 and Ezmlm which is really the
only similarity between them. We have clients who send and retrieve mail
from both mail servers all day long so I "know" that these are not offline
- and while it's possible for short periods of inaccessibility, shouldn't
these messages queue for at least a few hours before bouncing?
Or is this error message indicative of something else?
Brian
Quoting Brian Ghidinelli ([EMAIL PROTECTED]):
>
> I'm not sure yet if this is Qmail specific, but I thought that someone
> here might have experienced this before and thus would have an idea since
> we're all email Admins.
>
> Users who are sending our mail servers mail from large sites such as
> prontomail or hotmail occasionally get the following error:
> > Final-Recipient: rfc822;[EMAIL PROTECTED]
> > Action: failed
> > Status: 4.4.2
Huh, once again someone mails the list with a hotmail-generated
mail error report and it doesn't say damn thing at all!
Why even send error reports to users when they don't mention _what_
the blasted problem is? (note, I'm ranting at hotmail, not you).
Users don't know to look up in RFC 1893 for extended status codes!
Anyway, the status code 4.4.2 is telling us it should have been
deferred. It seems like hotmail doesn't like to have any messages in
its queue :) Are you sure this isn't a deferral notice? I guess since
it says "Failure" in the Subject we have to assume it's not.
X.4.2 Bad connection
The outbound connection was established, but was otherwise
unable to complete the message transaction, either because
of time-out, or inadequate connection quality. This is
useful only as a persistent transient error.
> The odd thing about this is that we have two mail servers - one in New
> Jersey on an occasionally unstable link and one in California at Above.net
> which is always online and both trigger this error (randomly).
Interesting, but I can only find one MX record in the DNS for vfive.com.
$ host -t mx vfive.com
vfive.com MX 10 bmw.vfive.com
Therefore, if that is the machine in New Jersey, that could be the
source of your delivery failures. Reasonable MTAs will defer the
message until it can be delivered (when the link comes back up,
presumably).
Aaron
|
You
cannot configure an application to only use a particular physical interface -
physical interfaces are isolated from applications by the layers of the IP
stack.
You
CAN have it listen on a particular IP address only, so that it doesn't respond
to the IP address that is assigned to another port though. But that
doesn't guarantee anything.
Outbound routing is handled by the kernel routing
table.
Once a
packet arrives on an interface, it enters the IP stack and gets responded to
appropriately - regardless of which physical interface it came in
on.
David
Hi,
I have some technical issue to
ask. Okay..I have a web server and mail server located side by
side. The web server is used to send all of the
on-line inquires to the mail server. So I would like to
ask how to configure qmail to accept incoming messages by using specific
etherent card. From web server's ethernet care directly to mail server's
ethernet card. Assume I have two ethernet card for both web and mail
server. one ethernet card is to listen from the outside
world.
Thank you
Mark
|
I need setup a mail server with registry MX
I don't have a DNS Server
I use DNS server of other company.
The registry MX in my DNS is ready.
But in my configuration Qmail and Vpopmail isn't
Where and How will change for have all done?
Please ... I'm new in vpopmail....
and too have a problem of authentification.
I can logged with user in /etc/passwd but no user virtuals
I use vpopmail
Please ... I need help ... I can't go back...
I have 50,000 users with service pop3... and they are bitters
I don't have virtualdomain.
I only have a only domain..
Thanks
Juan
>*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).
You're welcome to use my experimental tester at
http://www.abuse.net/relay.html. It's more or less the same tests
that the MAPS RSS uses, and is pretty similar to but less aggressive
than ORBS.
It also does the user%dom1@dom2 test, because that's a famous relay
hole in a lot of sendmail systems. If you have qmail, the tester will
note that it accepted the message, then say in large ugly blinking
letters that your system is only an open relay if it actually forwards
the message back. If you're a registered abuse.net user, it can
assign you a temporary abuse.net forwarding address so you can test
your own server using an address not in your own domain.
(Friendly hint: if you ignore the ugly blinking message and send me
mail anyway saying that the tester claimed that your system is an open
relay because it accepted the test message, I'll write back and call
you a moron.)
--
John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869
[EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl,
Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
On 8 Sep 2000, John R. Levine wrote:
| (Friendly hint: if you ignore the ugly blinking message and send me
| mail anyway saying that the tester claimed that your system is an open
| relay because it accepted the test message, I'll write back and call
| you a moron.)
|
Hrmm.. i just ran the test through my servers john, and for some reason,
i dont see any blinking text... only in pure black text:
>>> RSET
<<< 250 flushed
>>> MAIL FROM:<[EMAIL PROTECTED]>
<<< 250 ok
>>> RCPT TO:<"relaytest%abuse.net">
<<< 250 ok
Relay test result
Hmmn, at first glance, host appeared to accept a message for relay.
THIS MAY OR MAY NOT MEAN THAT IT'S AN OPEN RELAY.
--
_ __ _____ __ _________
______________ /_______ ___ ____ /______ John Gonzalez/Net.Tech
__ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC!
_ / / / `__/ /_ / / / / / / /_/ / / /__ (505)439-0200/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
1:10pm up 1 day, 18:39, 3 users, load average: 0.22, 0.12, 0.10
Peter van Dijk <[EMAIL PROTECTED]> schrieb/wrote:
> I like that explanation but I still can't make it out of qmtp.txt.
Noone claimed that the spec was very clear about this. You can only
figure it out if you know about the problem it's trying to solve there.
Claus
--
http://www.faerber.muc.de
Jerry Lynde <[EMAIL PROTECTED]> schrieb/wrote:
> I have a quick feature question. Our old mail server (an NT based, web
> administered thinger) had the capability to mark mail as read if it
> had been accessed via POP, but not deleted. Does anyone know if qmail
> can do this? If so, where in TFM can I find docs to R? :o)
It's up to the mail client whether it deletes messages through POP3.
Claus
--
http://www.faerber.muc.de
-installing on FreeBSD 4.1 RELEASE
-installing qmail 1.03 from FreeBSD Ports collection
-installed to /usr/local/qmail rather than to /var/qmail
-copied /usr/local/qmail/boot/home to /usr/local/qmail/rc
-in step 9 of PORT_NOTES (aka step 9 of INSTALL) it says to run
# csh -cf '/var/qmail/rc &'
so instead I run
# csh -cf '/usr/local/qmail/rc &'
looking at TEST.deliver I stop at step one...
from /var/log/messages:
Sep 8 11:47:49 mybox qmail: 968438869.011886 alert: cannot start: unable
to read controls
Searched the list archives, the FAQ and other docs and didn't find a good
explanation of what it is looking for and not finding.
FWIW hostname+domain for this machine does not resolve by DNS at this time
because I am building the machine on my home LAN (behind NAT and a
firewall) to secure it and test it before we put it out for the world to
see. I don't know if that will cause a problem or not.
This isn't alot of informaiton to go on, but I don't know what else to
offer at this point. Can someone point me in the right direction here?
please reply directly to my address, as I am not subscribed to the list
anymore.
--Steve
On Fri, Sep 08, 2000 at 12:47:16PM -0700, Steve Lewis wrote:
> from /var/log/messages:
> Sep 8 11:47:49 mybox qmail: 968438869.011886 alert: cannot start: unable
> to read controls
It means it is unable to read its control files. That means you have an
ownership or perms problem somewhere in the /var/qmail/control tree or
on the actual files in the control directory.
Ben
--
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612) 321-9290 x101
Bitstream Underground www.bitstream.net
On Fri, 8 Sep 2000, Steve Lewis wrote:
> from /var/log/messages:
> Sep 8 11:47:49 mybox qmail: 968438869.011886 alert: cannot start: unable
> to read controls
please disregard, I recompiled on a hunch, and discovered an error that
slipped by me last time:
hard error
Sorry, I couldn't find your host's canonical name in DNS.
You will have to set up control/me yourself.
which explains why the proper files were not created or found.
I should be able to figure it out from here.
--Steve
Hello all,
I am puzzled by what is happening when retrieving mail through
courier-imap. I connect to my Maildir remotely and I know that there is
no mail in my Maildir, but yet I am getting 24 duplicate messages back.
Where are these messages coming from? I tried to connect to another
user's Maildir and I got back 8 duplicate messages (not the same as my
messages). I don't have any messages in /var/spool/mail/ and I am
certain that when I send mail to the Maildirs, that they are going into
there proper mail directories. Any ideas anyone?
Thank you all!
Hi,
We just installed qmail 1.03 on a RedHat Linux 6.1 machine. We were
previously using our ISP's mail server to send out a batch of about 200
emails at the end each day with a Perl script that uses the Net::SMTP to
send then out.
The migration to qmail went great except for one minor issue:
Our Bcc: recipients are getting double copies of our messages while the To:
recipients are correctly receiving one message. This is happening only
when sending out our emails through the Perl script.
If I write the emails using the Cc: field instead of the Bcc:
field, everyone correctly receives only one message.
The same code has been used for over a year and this has only shown up
after the migration to qmail.
I have looked through the documentation, Life With Qmail, and searched
through the mailing lists. I found a lot on double bounces other bcc
issues but didnt find much on my type of problem.
Any help or suggestions is greatly appreciated!
Sincerely,
Christopher Taranto
My script is as follows:
<snip>
my $file_contents =
$string->file_to_string($filepath);
my $header = '';
($header) =
split(/\r?\n\r?\n/,$file_contents);
my $to = '';
my $from = '';
my @cc = ();
my @bcc = ();
$to = $1 if
($header =~ /to:\s*([^\r\n]+)/is);
$from = $1 if ($header
=~ /from:\s*([^\r\n]+)/is);
@cc =
split(/\s*,\s*/,$1) if ($header =~ /cc:\s+([^\r\n]+)/is);
# remove bcc lines :)
if ($header =~ /bcc:\s+([^\r\n]+)/is) {
@bcc = split(/\s*,\s*/,$1);
$header =~
s/bcc:\s+[^\r\n]+\r?\n//is;
}
$smtp->mail($from);
$smtp->to($to);
# now send to the b?cc's
foreach (@cc,@bcc) {
$smtp->recipient($_);
}
$smtp->data();
$smtp->datasend("$file_contents\r\n");
$smtp->dataend();
Hi guys
I need to be able to have the assign file (or at least the cdb) updated
across my servers each time the main server updates. The main server is
currently serving /etc/passwd across NIS, and each other server is acting as
a slave server, in case our main one goes down. Mail is delivered form the
main server via NFS to each of the subsidiaries, which are mounted using
automount. When the server (particularly NFS) is not available, the master
server will defer (since it has users/assign), but the slave servers won't
because they don't have a users/assign file.
Now, I know some of you are thinking NIS & NFS..."look in the FAQ". That is
fine, I have created the assign and cdb files with no problems. But I need
these files to be distributed (note: different from simply accessible)
across the network as soon as qmail-newu is run. Now, I can hack qmail-newu
a bit to call some other command to do the updating, but if possible I want
to be able to distribute via NIS. I'd prefer to not have to implement LDAP
since I don't really have the time at the moment... On that note, does
anyone know how I can modify the NIS Makefile to distribute assign and/or
cdb, or any other way of allowing other servers to 'share' these files so
that mail is deferred when the connection is not available. Between all the
servers, all users on our domain look local, even if their Maildir is stored
on another server. The NFS link from the main server delivers mail to the
correct location, and on each of the subsidiaries which don't have shares
for each machine, ~alias/.qmail-default simply forwards undeliverable local
mail to the main relay. If the link is down, SMTP will be deferred - no
problems there.
Any help would be greatly appreciated! Thanks!
/BR
Manager
InterPlanetary Solutions
http://ipsware.com/
Hi,
I host a domain name, say, "myfirstdomain" at
a webhosting company that has "catch-all"
e-mail feature. So, any email send to
"anyname@myfirstdomain" will be forwarded to
"othername@myotherdomain" (a qmail alias
at myotherdomain).
I have full access to myotherdomain.
I would like to forward the incoming emails from
myfirstdomain to "othername-anyname@myotherdomain"
( In ~alias/.qmail-othername file, I wish I can put:
|forward othername-$ENVVAR )
Is there an environment variable that contains
original recipient username ("anyname"), so that
I can forward the emails to
"othername-anyname@myotherdomain"?
Thanks.
Regards,
Muhamad