DevHeads.net

Postings by The Doctor

TEst stalling

Hello,

Just compiled ruby 2.3 on BSD/OS 4.3.1 and
the tests stalls on test_Attr .

IS their a way to check verbosely where the test is stalling?

Weird throttling since midnight

All right, I have been getting a lot of irregular throttling=20
since Saturday midnight.

Script started on Sat May 25 17:54:34 2013
doctor.nl2k.ab.ca/~$egrep '(warning|error|fatal|panic)' :' /var/log/maillog
May 25 08:05:53 doctor postfix/postscreen[29851]: fatal: set DB cache size 131072: Invalid argument
May 25 08:05:53 doctor postfix/smtpd[29849]: fatal: set DB cache size 131072: Invalid argument
May 25 08:05:54 doctor postfix/cleanup[29850]: fatal: set DB cache size 131072: Invalid argument
May 25 08:05:55 doctor postfix/master[1447]: warning: process /usr/libexec/postfix/postscreen

Spam milters

I want to avoid perl-ware like amavisd and MailScanner

Any recommendations for a milter that would drop high spam?

NJABL is dead

Please stop using NJABL

TNEF

Direct Question:

How can postfix used TNEF without an external agent
such as Amavis or MailSCanner?

SSL Certificates

I was wondering who is the best CA Cert for Postfix?

Removing Amavis as a filter

All right.

Amavis is beginning to anny me as a plugin:

Big reason many a legit PDF is getting rejected and customers are yelling
loud in stereo!!

What must I do to remove Amavis from the postfix sequence without disrupting
Postfix itself?

Virtual Domain except for virus and spam scanning

Using the most current version of Amavis and Postfix.'

I would like to know how to exclude a virtual domain say dom.tld ?

Postfix 2.8 + and Berkerley DB > 4.7

Any issues with Berkeley DB > 4.7 with current Postfix ?

Always check for irregular mail usage of your mail server

<a href="http://www.nk.ca/blog/index.php?/archives/1275-Phishing-spam-mail-script-intercepted.html" title="http://www.nk.ca/blog/index.php?/archives/1275-Phishing-spam-mail-script-intercepted.html">http://www.nk.ca/blog/index.php?/archives/1275-Phishing-spam-mail-script...</a>

optimising for 100000 entries

How can you optimise MySQL for 100000 entires?

Just running OSCemmerce and it is slow to pull up a who catalogue.

Checking on a system user

I suspect my web user is sending spam out.

Only Postfix is stopping this.

How can I check to see
1) who is using the web user to send mail

and
2) by what script

?

----- Forwarded message from User < ... at dom dot ain> -----

X-Original-To: <a href="mailto: ... at doctor dot nl2k.ab.ca"> ... at doctor dot nl2k.ab.ca</a>
Delivered-To: <a href="mailto: ... at doctor dot nl2k.ab.ca"> ... at doctor dot nl2k.ab.ca</a>
X-Virus-Scanned: amavisd-new at doctor.nl2k.ab.ca
Authentication-Results: doctor.nl2k.ab.ca (amavisd-new); dkim=pass
header.i=@gmail.com
Authentication-Results: doctor.nl2k.ab.ca (amavisd-new); domainkeys=pass
header.from= ... at gmail dot com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type;
bh=0CzPpPHymzuAUP404uyZk1

(unknown mail transport error)

I am trying to send via majordomo but yet
I do see

Dec 1 10:35:28 doctor doctor[31]: postfix/error[22238]: 371E112CFAB3: to=<list>, relay=none, delay=157827, delays=157783/43/0/0.21, dsn=4.3.0, status=deferred (unknown mail transport error)

This is the first time I have seen this.

What can done to rectify?

virtual_alias_domains

REcently I have noted that virtual_alias_domains is growing.

Is their some way for main.cf to look a file up instead of
having to read a whole line?

Up and coming

What are the improvements for postfix 2.7.2 and postfix 2.8 ?

554 errors

In my log I am seeing

Oct 16 16:06:30 doctor doctor[31]: postfix/smtpd[23000]: NOQUEUE: filter: RCPT from snt0-omc1-s39.snt0.hotmail.com[65.54.61.76]: <sender>: Sender address triggers FILTER amavisfeed:[127.0.0.1]:10026; from=<sender> to=<group-recipient> proto=SMTP helo=<snt0-omc1-s39.snt0.hotmail.com>
Oct 16 16:06:30 doctor doctor[31]: postfix/smtpd[23000]: NOQUEUE: filter: RCPT from snt0-omc1-s39.snt0.hotmail.com[65.54.61.76]: <sender>: Sender address triggers FILTER amavisfeed:[127.0.0.1]:10024; from=<sender> to=<group-recipient> proto=SMTP helo=<snt0-omc1-s39.snt0.hotmail.com>
Oct 16 16

reverse the polarity of the neutron flow

Doctor Who saying in the 1970s.

What do I need to reverse.

Tried another MTA and got reports that people were not getting e-mail.

All right switch back.

Forgot that the 'sendmail' was not the correct one.

No problem, just use the postfix sendmail.

Hmm!! No mail is getting delievered.

What did I forget?

Postfix, Amavisd and DKIM

Just reading from amavisd docs on the how set up
DKIM and I was wondering if this section of their documentation
is correct:

Configuring multiple mail paths in Postfix

Here is one way of configuring Postfix for providing two paths through a content filter. Locally submitted or authenticated mail will go to a content filter to its port 10026 and will be signed on its way out (either by amavisd or by a signing milter).

----- Forwarded message from <RCPT> -----

X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on doctor.nl2k.ab.ca
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Virus-Scanned: amavisd-new at doctor.nl2k.ab.ca
User-Agent: Alpine 2.00 (NEB 1167 2008-08-23)
X-Mailer: Alpine.BSD.0.999

I am the current holder of the email address TARGET

I believe that a prior owner of this address had services with you.
I receive hundreds of emails per month like the one forward

Binary attachment looping messages

to end up looping.

Anyone here wants a sample from the logs?

Tracing down a spammer

Tracing and tracking.

Question is:

If you suspect your web (whether www,http,httpd user )
how can you do a header check and pin where the source of
spam is coming from?

All I need is a check that will send to local users - go ahead
and if to a massive amount of users WITHOUT a local
user REJECT as spam.

Where can I put this?

Repeating e-mails

Question has anyone in postfix and / or amavis ever seen
repeating e-amils with binary attachments to them?

]

You were saying about complete life cycle and non-verbose logs

----- Forwarded message from Mail Delivery System <MAILER- ... at doctor dot nl2k.ab.ca> -----

Return-Path: <a href="mailto:double- ... at doctor dot nl2k.ab.ca">double- ... at doctor dot nl2k.ab.ca</a>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on doctor.nl2k.ab.ca
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: postmaster
Delivered-To: <a href="mailto: ... at doctor dot nl2k.ab.ca"> ... at doctor dot nl2k.ab.ca</a>
Received: by doctor.nl2k.ab.ca (Postfix)
id 28DAB12CFA9C; Sat, 24 Apr 2010 13:22:00 -0600 (MDT)

]

Just continuing

----- Forwarded message from Mail Delivery System <MAILER- ... at doctor dot nl2k.ab.ca> -----

X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on doctor.nl2k.ab.ca
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: postmaster
Delivered-To: <a href="mailto: ... at doctor dot nl2k.ab.ca"> ... at doctor dot nl2k.ab.ca</a>

Transcript of sessio

]

First off apologies for the rather sharp tone:

A case of too many agngry customers breathing down the neck.

Anyhow I have been since recover been getting many of these:

----- Forwarded message from Mail Delivery System <MAILER- ... at doctor dot nl2k.ab.ca> -----

X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on doctor.nl2k.ab.ca
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: postmaster
Delivered-To: <a href="mailto: ... at doctor dot nl2k.ab.ca"> ... at doctor dot nl2k.ab.ca</a>

Major Bug!!

Dear Wietse,

There is a bug in Postfix that should looked at immediately.

FRom

<a href="http://groups.google.com/group/alt.comp.mail.postfix/browse_thread/thread/fa83dc31cec1194e#" title="http://groups.google.com/group/alt.comp.mail.postfix/browse_thread/thread/fa83dc31cec1194e#">http://groups.google.com/group/alt.comp.mail.postfix/browse_thread/threa...</a>

In case you think I am being pompous, I am not.

Found the problem, a filter was set to 120.0.0.1 instead of 127.0.0.1 .

I thought it was fixed.

Even after 'fixing' this problem, postfix still insisted the filter
was at 120.0.0.1 .

All right I do not mind the smtp_fallback_relay , but this indicates a bug
somewhere in postfix.

Wanting incoming and outgoing e-mail montiroed for spam and virii

Right I am tyring to get postfix with amavisd-ng to probe and stop virus and spam mail.

However it seems that localhost is going through without scrutiny and
some incoming e-mail is not being stopped.

postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = amavisfeed:[127.0.0.1]:10024
cyrus_sasl_config_path = /usr/contrib/lib/sasl2/
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_

Migrating large virtual domains Re: Migrating from postfix to Exim

Actually all I did was to mv Postfix's sendmail over and then link
/path/to/sendmail to /path/to/exim

Great stuff. Maybe I will right the Postfix to Exim migration articles : -)

Next I have a rather large virtual e-mail to migrate

IF I could parse after the postfix's main.cf virtual_alias_domains = one
space at the time,
I could then set up in /path/to/virtual a directory with each unique name
and then from its virtual file transfer over the rest
that would be grand.

any tools to do this?

and then there is majordomo, but that is spoken for nicely.

Migrating from postfix to Exim

Hello, I am trying to migrate first my outgoing mail server from
postfix 2.7.0 to exim 4.71 .

I got most of it except that when I send mail locally it is ending up in
postfix's maildrop queue and not in exim.

huh?

All right the configure file looks like:

# It is usually a good idea to test a new configuration for syntactic #
# correctness before installing it (for example, by running the command #
# "exim -C /config/file.new -bV").