FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 05-03-2012, 11:29 PM
Roger Lynn
 
Default switching from exim to postfix

On 02/05/12 02:00, brian m. carlson wrote:
> On Tue, May 01, 2012 at 07:47:08PM +0100, Roger Lynn wrote:
>> I have enabled accept_8bitmime in every exim I've installed for the last
>> 10 years and no one has reported any problems. I think the risk of
>> encountering a truly 7 bit MTA in this decade is low enough to be
>> ignored for most purposes. Anyone still using one is likely to find that
>> a substantial fraction of their incoming mail is corrupted.
>
> I actually use Sendmail's strict 8BITMIME support to help catch spam. I
> agree that 7-bit MTAs are essentially gone, but with the volume of spam
> I receive, I set my mail software to be extremely strict with regard to
> protocols. Legitimate software (of any sort) generally generates
> protocol-compliant messages. Malicious and illicit software (and that
> created by Microsoft) generally does not. Legitimate software also
> generally has a userbase that will complain about rejected data if the
> software is not protocol-compliant, which often leads to fixes.
>
> I've complained to the listmasters that they send 8-bit data that is not
> MIME (virtually all of which is spam) under the auspices of the 8BITMIME
> extension; they refuse to fix this, and as a consequence they have to
> deal with the occasional piece of undeliverable mail. This is not a
> knock against the listmasters, just an observation that if you violate
> the protocols, some places will reject your data.

Many MUAs have options for sending 8 bit mail[0]. Do they take notice of
whether the MTA they're talking to is 8 bit capable? It will be a while
until I have a chance to experiment.

Roger

[0] For example, in Iceape: "For messages that contain 8-bit characters,
use 'quoted printable' MIME encoding. Leave unchecked to send the
messages as is.


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: dvgb79-46s.ln1@silverstone.rilynn.me.uk">http://lists.debian.org/dvgb79-46s.ln1@silverstone.rilynn.me.uk
 
Old 05-04-2012, 10:47 AM
Hĺkon Alstadheim
 
Default switching from exim to postfix

On 04. mai 2012 01:29, Roger Lynn wrote:

On 02/05/12 02:00, brian m. carlson wrote:

On Tue, May 01, 2012 at 07:47:08PM +0100, Roger Lynn wrote:

I have enabled accept_8bitmime in every exim I've installed for the last
10 years and no one has reported any problems. I think the risk of
encountering a truly 7 bit MTA in this decade is low enough to be
ignored for most purposes. Anyone still using one is likely to find that
a substantial fraction of their incoming mail is corrupted.

I actually use Sendmail's strict 8BITMIME support to help catch spam. I
agree that 7-bit MTAs are essentially gone, but with the volume of spam
I receive, I set my mail software to be extremely strict with regard to
protocols. Legitimate software (of any sort) generally generates
protocol-compliant messages. Malicious and illicit software (and that
created by Microsoft) generally does not. Legitimate software also
generally has a userbase that will complain about rejected data if the
software is not protocol-compliant, which often leads to fixes.

I've complained to the listmasters that they send 8-bit data that is not
MIME (virtually all of which is spam) under the auspices of the 8BITMIME
extension; they refuse to fix this, and as a consequence they have to
deal with the occasional piece of undeliverable mail. This is not a
knock against the listmasters, just an observation that if you violate
the protocols, some places will reject your data.

Many MUAs have options for sending 8 bit mail[0]. Do they take notice of
whether the MTA they're talking to is 8 bit capable? It will be a while
until I have a chance to experiment.

Roger

[0] For example, in Iceape: "For messages that contain 8-bit characters,
use 'quoted printable' MIME encoding. Leave unchecked to send the
messages as is.




I had a hell of a time getting gmail to accept my dkim signed messages.
SOME, not all, were being rejected. Google thought they had been
tampered with. Turns out my mail-client sends pure text mails with
Content-Transfer-Encoding: 7bit if I don't use any "8bit characters",
but it still puts in charset iso8859-1. Whenever my smarthost provider
(using qmail I believe) found a message with this impossible combination
it "helpfully" changed the headers. Don't remember which way they
shifted them.


I had to put the code below (perl) in the dkimproxy.out script at an
appropriate point:

----
if(defined($content_type) &&
defined($content_transfer_encoding) &&
($content_type =~ m(text/plain)i) &&
($content_type =~ m(charset=iso-8859-1)i) &&
($content_transfer_encoding =~ m(7bit)i)){
...
$content_transfer_encoding =~ s(7bit)(7BIT)i;
$content_type =~ s(charset=iso-8859-1)(CHARSET=US-ASCII)i;
...
}



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4FA3B3B6.2070705@alstadheim.priv.no">http://lists.debian.org/4FA3B3B6.2070705@alstadheim.priv.no
 
Old 05-05-2012, 12:29 PM
George Danchev
 
Default switching from exim to postfix

On Monday 30 April 2012 12:58:18 Carsten Hey wrote:

Hi,

> The rest of this mail is likely not interesting for most of you since it
> only tries to answer the natural follow up question "Why does it need
> a cronjob then?" and explains why I don't think anymore that a switch to
> incron should be considered.
>
>
> Two reasons for running dma -q via cronjob in my own words but stolen
> from README.Debian are:
> * If the queue is not empty after reboot, dma -q needs to be run at
> least once to start delivering these mails. A @reboot cronjob or an
> init script would also to this job.

This still holds.

> * Delivery processes might die for various reasons, but the mails still
> need to be delivered in a timely manner.

Then 'dma -q' will exit with non-zero status, and could be retried
chronologically (every 5 min.) until it succeeds.

> If dma would be the default MTA, then it should IMHO be as reliable as
> possible and even try to prevent user errors. If a user would
> unintentionally enables deferred mode (which is useful if you are behind
> a dial-up line) but would not set up dma -q to run periodically, then
> the mails would not be delivered without such a default cronjob.
> A comment that reminds users to adapt the cronjob if needed should be
> added to the config file. If dma -q is run every 5 minutes be default
> anyway, the option -bq does not make that much sense anymore; this can
> possibly be solved by implementing different ways of processing queued
> mails. All in all, enabling the cronjob by default, as it is already
> done in Debian, seems to be sane.
>
> > I think that was Carsten's point about switching to incron, which
> > would then do the right thing for new outgoing mail.
>
> This is a reasonable and logical assumption, but it is wrong
>
> Actually the reason to mention incron was that I thought that running
> dma -q if triggered by inotify could be a bit cheaper than running it
> every five minutes. For a default MTA, the amount of systems that run
> it could make considering even minimal differences in efficiency
> worthwhile.
>
> The idea was to use incron to restart failed delivery processes, if this
> would be possible at all depends on details of dma and incron/inotify
> I'm not aware off. An additional reason to the explanation above not to
> use incron is that in rare cases dma might fail for example with ENOMEM
> whilst reading its configuration file before it is able to open any file
> in the spool dir, which would render running it by incron to be not 100%
> bullet proof anyway.

Actually, I still think that your idea of utilizing incron to trigger mail
queue flushing actions (inotify event-based), makes sense. We just need to
complete the chronological part (for the failed attempts) of the whole task.

While it is true that incron will not restart a failed dma run (AFAICT looking
at its current code; the failure will only be registered in the syslog and not
re-tried), it is also true that this task could be offloaded to a wrapper which
is to be started by incron when a file creation event happens for the mail
spool directory. The fact is that 'dma -q' will only exit with zero status if
it successfully and fully has flushed the mail queue. Having this in mind, I
think that some idempotent wrapper script around dma -q, which is to be
started by incron, should take a decent care of the whole job of flushing new
and failed mail found in spool.

It is of course not at the stage of 'verified design' and probably racy.

#!/bin/sh

SELF=`basename ${0}`
DELAY=300
RUNNING=1

is_running() {
# check for any dma instances
pidof dma >/dev/null
case $? in
0)
echo -n "dma is already running..."
RUNNING=1
return
;;
esac

# check for any instances of $SELF, excluding ourselves
pidof -o %PPID -x ${SELF} >/dev/null
case $? in
0)
echo -n "$SELF is already running..."
RUNNING=1
return
;;
esac
RUNNING=0
}

while true; do
echo -n "Attempting to flush..."
is_running
if test $RUNNING = 1; then
echo "Retrying in $DELAY seconds."
sleep $DELAY
continue
fi
/usr/sbin/dma -D -q 2>/dev/null
if test $? = 0; then
echo "ok."
break;
fi
echo "FAIL. Retrying in $DELAY seconds."
sleep $DELAY
done


--
pub 4096R/0E4BD0AB <people.fccf.net/danchev/key pgp.mit.edu>


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201205051529.44816.danchev@spnet.net">http://lists.debian.org/201205051529.44816.danchev@spnet.net
 
Old 05-07-2012, 01:33 PM
"Adam D. Barratt"
 
Default switching from exim to postfix

On Mon, 2012-04-30 at 13:14 +0300, Riku Voipio wrote:
> On Sat, Apr 28, 2012 at 07:12:42PM -0700, Russ Allbery wrote:
> > There's nothing particularly wrong with Exim; it works just fine.
>
> Exim in 2012 not supporting 8BITMIME and thus being the last Major MTA
> forcing quoted-printable conversions to make emails "7bit clean" is quite
> horribly wrong.

fwiw, there's just (as in within the past couple of hours) been a change
committed upstream which defaults accept_8bitmime to true.

Regards,

Adam


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1336397634.14163.34.camel@jacala.jungle.funky-badger.org">http://lists.debian.org/1336397634.14163.34.camel@jacala.jungle.funky-badger.org
 
Old 05-08-2012, 10:38 AM
Neil McGovern
 
Default switching from exim to postfix

On Sun, Apr 29, 2012 at 03:13:48AM +0200, Marco d'Itri wrote:
> Is this the right time to do it?
>

No, we're about to freeze. I would try and dig out the discussion from
last time, when we were about to freeze, but I'm not sure it's worth it.
If you want to do this, then please look at it during the *start* of a
development cycle, not the end.

Neil (Release Manager du jour)
--
How to tell you're about to freeze #67: Someone will suggest switching
the default MTA
 
Old 05-09-2012, 06:48 AM
Riku Voipio
 
Default switching from exim to postfix

On Mon, May 07, 2012 at 02:33:54PM +0100, Adam D. Barratt wrote:
> fwiw, there's just (as in within the past couple of hours) been a change
> committed upstream which defaults accept_8bitmime to true.

Good news.

As mentioned on bug #445013:

-snip-
> accept_8bitmime = true

> I would actually recommend setting this to true by default, since it
> no longer breaks anything nowadays, but since technically it is
> a violation of RFC 2821, it may prove controversial.

We are not going to do this unless upstream changes the default.
-snip-

Would it now be acceptable to change the default in exim of debian
as well? Or will we wait till the upstream commit becomes part of a
release?

Riku


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120509064847.GA22428@kos.to">http://lists.debian.org/20120509064847.GA22428@kos.to
 
Old 05-17-2012, 06:06 AM
Thomas Goirand
 
Default switching from exim to postfix

On 05/03/2012 07:23 AM, Henrique de Moraes Holschuh wrote:
> Well, FWIW postfix allows you to override all MTA notifications, not just
> bounce messages, but the full set. We do that at work.
>
Interesting. Can you post an example here?

Thomas


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4FB4954D.8050105@debian.org">http://lists.debian.org/4FB4954D.8050105@debian.org
 
Old 05-18-2012, 01:48 PM
Henrique de Moraes Holschuh
 
Default switching from exim to postfix

On Thu, 17 May 2012, Thomas Goirand wrote:
> On 05/03/2012 07:23 AM, Henrique de Moraes Holschuh wrote:
> > Well, FWIW postfix allows you to override all MTA notifications, not just
> > bounce messages, but the full set. We do that at work.
> >
> Interesting. Can you post an example here?

man bounce(8postfix). You need recent postfix, so that means backports,
testing or unstable.

We keep the original text in english at the bottom, but add text in
portuguese on top.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120518134839.GD425@khazad-dum.debian.net">http://lists.debian.org/20120518134839.GD425@khazad-dum.debian.net
 
Old 05-22-2012, 01:30 PM
Thorsten Glaser
 
Default switching from exim to postfix

Philipp Kern dixit:

>I also assume that Exim does send 8bit mails to non-8bit compliant MTAs (i.e.
>not advertising 8BITMIME). I don't know if that's some sort of violation.

It does, and it’s a violation, yes. I’ve cursed often enough
about that (deliberately running an MTA stripping bit7, for
several curiosity reasons, but fully RFC compliant).

The correct solution here is that the MTA that supports 8BITMIME
itself and wants to send an 8-bit message to another MTA that
doesn’t offer it in the EHLO dialogue (or doesn’t support EHLO)
*must* convert the message to QP and/or base64. And no, this
does not invalidate PGP signatures, because these apply to the
decoded content. (Though some exotic PGP/MIME constellations
may exist, however I don’t use PGP/MIME and as such am not
very knowledgeable about it.)

bye,
//mirabilos
--
16:47⎜«mika:#grml» .oO(mira ist einfach gut....) 23:22⎜«mikap:#grml»
mirabilos: und dein bootloader ist geil 23:29⎜«mikap:#grml» und ich
finds saugeil dass ich ein bsd zum booten mit grml hab, das muss ich dann
gleich mal auf usb-stick installieren -- Michael Prokop ĂĽber MirOS bsd4grml


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: Pine.BSM.4.64L.1205221328020.23033@herc.mirbsd.org ">http://lists.debian.org/Pine.BSM.4.64L.1205221328020.23033@herc.mirbsd.org
 
Old 05-22-2012, 09:39 PM
Jon Dowland
 
Default switching from exim to postfix

On Tue, May 22, 2012 at 01:30:30PM +0000, Thorsten Glaser wrote:
> The correct solution here is that the MTA that supports 8BITMIME
> itself and wants to send an 8-bit message to another MTA that
> doesn’t offer it in the EHLO dialogue (or doesn’t support EHLO)
> *must* convert the message to QP and/or base64. And no, this
> does not invalidate PGP signatures, because these apply to the
> decoded content. (Though some exotic PGP/MIME constellations
> may exist, however I don’t use PGP/MIME and as such am not
> very knowledgeable about it.)

PGP/MIME signatures are against the encoded content, not the
decoded content. However, the encoding process moves the mail
down to 7bit.


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120522213924.GD22383@debian">http://lists.debian.org/20120522213924.GD22383@debian
 

Thread Tools




All times are GMT. The time now is 03:47 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org