Server

conten filter and always_bcc parameter

Hi folks

I've been trying postfix version 2.3.3 + amavisd-new + clamav for a while
and it's working pretty cool.

I sent an email with a .EXE attached just for testing purposes, so I
received a message from content-filter ...... saying that's not allowed, but
I can see in the body of the message the address of the always_bcc address I
use in main.cf. So any regular use that receive such email will know about
that. How can I hide the always_bcc address from the conten-filter body
messages?

Thanks in advance

David

SASL with two seperate auth sources?

Hi There,

Currently we are using postfix (2.5.5-1.1) on debian lenny sasl support
thus:

# cat smtpd.conf
auxprop_plugin: sql
mech_list: plain login cram-md5 digest-md5
sql_engine: mysql
sql_hostnames: xxx.xxx.xxx.xxx
sql_user: xxxx
sql_passwd: xxxx
sql_database: xxxx
sql_select: select passwd from xxxx_users where userid ='%u

Which works well! I was wondering if there is a way we can add another
source to the mix so that postfix would check 2 seperate
servers/databases/tables with a different table structure on the second
mysql server?

Thanks!

Simon

deleting particular msgs

hi,

i'm trying to convert from sendmail to postfix.

i have a utility (let's call it) that looks through
files in the sendmail mail queue and determines whether the
msg is a bounce message that i don't really want to send out.
i stop sendmail, then delete the q and d files, and restart sendmail.

what i need is a way to delete a particular msg in
postfix's queue. on my test boxes i don't have any files in the
queues -- the queue is empty. i expect i'll have some once i go
to production. but, just so i can be somewhat prepared, how do i
do this?

Warning message

FreeBSD 7.3-PRERELEASE
Postfix (2.7-20100117)

From time to time, when mail is being sent internally from one user to
another on the same network, I see this warning message in the mail-log:

warning: network_biopair_interop: error reading 5 bytes from the network: Connection reset by peer

I don't understand what it means. The mail is delivered successfully,
so I guess it is harmless. I just wanted to know why it is appearing to
begin with.

problem with relay, please help me...

I have a problem, I'm configuring a mail server with postfix, to handle local
mail, I have a mail server, in which I going to relay all the mails that my
users send, I enter to my server via telnet, and I use the command "ehlo" to
know all the option he have, this option are:

PIPELINING
AUTH PLAIN LOGIN

to send mail through telnet from the inside of my real server I have to
authenticate, authentication have to be encoded in base 64, I put my name and
password encrypted, and the authentication is successful, when i send e-mails
out of my domain they arrive to everyone, if i use a mail client,

hi

hi i'm new.

Spam to a "submail" via recipient_delimiter

Hello,
i used to create on-the-fly mail-addresses with "recipient_delimiter"
set to "."

Now, one of those mail-addresses is heavily receiving spam.

As this mail-address is of the form "user.sub@...", cannot just remove
the user "user.sub" from my list of users.

I would like to reject any mail to "user.sub@..." as early as possible
while still allowing mail to any other "user.sub2@..." or "user@...".

So far, i could only find "check_recipient_access" that points to a file
contains addresses to be rejected.
But as far as i can tell, this is already quite late in processing the
mails!

I

Weird problem with virtual aliases. Error user has moved to...

Hi,

I've just noticed that the one alias I've had suddenly stopped working
from unknown reason. I'm using MySQL to keep all domains, users and
configuration for them and when I send an email to an alias it bounces
back with error:
<<...> at meil dot me>: User has moved to <...> at meil dot me
It's been working for ages and suddenly stopped. Any ideas ?

Thank you for your help in advance.

Regards,
Jarek

Transport table gone ?

Hello, I make rather heavy use of transport_maps as explained in
and in the
transport(5) section of the man pages.

Today I upgraded my dozen of servers to Postix 2.7 under FreeBSD 7.3,
and got the waring below :

Nevertheless, I carefully read the 2.7 Release announcment, there's no
mention of such a suppression.

Does it mean that I *must* use another routing mechanism ?

Thanks,

reverse dns fails with multiple domains

Hi

I host 6 mail domains. When I validate my mx configuration online with mxtoolbox.com, I got a fail with reverse dns lookup, my localhostname of the server is bsd5.homedom.local, and that is the domain reverse dns tested, ofcourse it fails hense it is not a public domain, but a local domain.
How do I config postfix to reply with correct banner acording to the public domain tested, 1 of 6 public domain names, and not the localhost name

Rgds John

Malling Ayurveda Produkter
www.soapnut.dk

virtual domains

Hello,

I'm having issues with postfix delivering mail to /var/mail/$USER it says
permission denied, althougth I gave 755 permission to that dir
/var/mail/$USER,

Here is my logs

Mar 5 21:20:18 dagan postfix/postfix-script[4336]: refreshing the Postfix
mail system

Mar 5 21:20:18 dagan postfix/master[3467]: reload -- version 2.6.5,
configuration /usr/local/etc/postfix

Mar 5 21:20:18 dagan postfix/pickup[4341]: 53BE378C37: uid=125
from=<<...> at lugostowing dot net> orig_id=6FE5478C5A

Mar 5 21:20:18 dagan postfix/cleanup[4342]: 53BE378C37:
message-id=<20100306034930.<...> at dagan dot lugostow

allowing a fix ip dsl user access to smtp ?

I have a user on fixed IP adsl,
is that a bad idea to add his IP to my Postfix server to allow him smtp use ?

if it's OK, where do I add his IP ? do I add it in mynetworks ?

I currently have
mynetworks = mail.host.ip 127.0.0.1

retry with ssmtp if smtp delivery fails

Hi list,

Does anyone know if it is possible to configure postfix in such a way that
it tries to deliver mail via ssmtp if delivery via smtp fails?

Background: We're operating a backup relayhost for a number of customers.
Their primary mail server is usually connected via adsl or cable. We're
seeing that some providers block incoming smtp, but not (yet) ssmtp. I would
like our relayhost to first try delivery via smtp, and if that fails
(because it could not connect) to retry via ssmtp.

Is such a configuration possible with postfix?

Postfix Configuration to Allow Other Network Systems to relay through It

Hi.

System A has postfix, and can relay successfully email through Gmail.
System A is 192.168.1.56
System B is 192.168.1.59

System B has Postfix, and has the line
relayhost [192.196.1.56]:25

I'd like to be able to have System B, relay it's mail through the
configured Postfix on System A.

When I simply try on System B, to send an email, I get a "Connection
Refused:" err in the log file of System B.

The docs imply that the Postfix on System A should be "open" to
connections from other systems in the same 192.168.1.x subnet.

postfix using the name of the user who's sending the emaill

hi.

in testing mail/postfix, i'm finding that the mail that i get on the
destination/target email is sent from the "user" who's sent the email.

is there an attribute that i can set within the postfix main.cf file
to force that name to be "foo"...

I've been looking but I can't find it... so i must have missed it!

thanks

SMTP AUTH not subjected to unnecessary check?

I have Postfix with SMTP AUTH with self issued certificate, it all works
well (as long as I don't touch it..)

I have now "allowed" some users to use SMTP AUTH, but, some of their mail
then gets evaluated as 'spam' by amavisd/spamassasin scores, amongst
these, 'dynamic ip' type scores

am I correctly exempting SMTP AUTH users from unnecessary anti-spam evals
such as 'dynamic ip' 'direct access to smpt host' type of evals ?

or is this something I need to in amavisd/spamassasin ?

in other words, is my postfix setup correct ?

getting loops on multi-instance configuration

Hi all. Im getting a loop in my postfix-multi configuration, and cant
see what is wrong.

PATCH reject_rhsbl_reverse_client

This patch adds a "reject_rhsbl_reverse_client" function that
uses the unverified client hostname for the RBL lookup.

The idea is that this might increase rhsbl hit rates if the
hostname is more frequently available. On the other hand,
spam-only domains seem to usually have verifiable hostnames,
so I'm not sure how much this will really help.

This "seems to work", but the usual disclaimers apply.

Comments welcome.

-- Noel Jones

postfix gmail.smtp.com -port 587

hey

new to configuring postfix, got a few questions about how to configure postfix.

I'm running Centos/Fedora, with Postfix, from the basic yum install.
The Sendmail process has been stopped.

I can easily send a basic test mail from the cmdline. Ie:

mail <...> at gmail dot com
subject: blah
test
.
Cc:

works with no issue.

Dual Transports

I have been looking through archives and through the man pages and
thought I'd go ahead and post my question.

My situation is this:

I need to deliver mail coming in addressed to a specific domain to two
separate transports. There are no mailboxes local to the server at all.
However, I did not think it was possible to configure two separate
transports in this manner. Our server is acting as a scanning gateway
and passes the message on after performing this task.

I then began to look at possibly using recipient_bcc_maps.

postfix gmail.smtp.com -port 587

hey

new to configuring postfix, got a few questions

Postfix Book

What happened to the Ralf and Patrick Book of Postfix book that seems to be
out of print? Is there another edition scheduled or was the market just not
large enough to keep the book in print?

Is there another Postfix book recommended by the group?

Thanks.

Postfix doesn't fall back on other IP addresses

Hi,

I noticed that Postfix doesn't fall back on other IP addresses
associated with a certain MX-server when it fails to accept mail, but
only uses the firs IP address it finds.

Re: outbound sender

That's precisely what I don't want to do.

1. all mail from inside goes to this (edge - 1 ) postfix box.

2. if from trusted/don't-scan-it <...> at domain dot tld, then don't go to edge/out-MX relayhost, resolve/send directly to Internet.

3. if not from <...> at domain dot tld, then send to relayhost.

Len

outbound sender

We have two postfix machines, one is a (weak) MX in/out gateway with amavisd+sa+clam that falls way behind during a huge (trusted) outbound send-only distribution list.

The other, powerful postfix machine is not-yet-fully configged next-up to replace the current weak MX, but we can't do that, yet (waiting for sa 3.3.1).

We can route all outbound mail through the powerful postfix box.

How to set up the powerful outbound box with this sender-based routing:

If <...> at domain dot tld, send to Internet

Else, send to MX gateway

thanks
Len

Logging whitelisted mail

Part of my configuration:

smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_recipient_restrictions =
permit_mynetworks
reject_unauth_destination
---> check_sender_access cidr:/etc/postfix/accept_by_ip
reject_invalid_helo_hostname
reject_non_fqdn_helo_hostname
reject_unknown_sender_domain
check_helo_access pcre:/etc/postfix/helo_check
reject_unauth_pipelining
---> check_sender_access hash:/etc/postfix/accept_by_domain
reject_rbl_client zen.spamhaus.org
check_sender_access cidr:/etc/postfix/reject_by_ip
check_sender_ac

SMTP AUTH not subjected to unnecessary check?

I have Postfix with SMTP AUTH with self issued certificate, it all works
well (as long as I don't touch it..)

I have now "allowed" some users to use SMTP AUTH, but, some of their mail
then gets evaluated as 'spam' by amavisd/spamassasin scores, amongst
these, 'dynamic ip' type scores

am I correctly exempting SMTP AUTH users from unnecessary anti-spam evals
such as 'dynamic ip' 'direct access to smpt host' type of evals ?

or is this something I need to in amavisd/spamassasin ?

in other words, is my postfix setup correct ?

ot: providing a copy of private certificate to mail clients ?

I have Postfix with SMTP AUTH with self issued certificate, all works well

when a remote Outlook or Thunderbird attempts to use it, it get's a
dialogue like;

'security certificate can not be verified'

what file(s) do I need to provide to remote mail clients to suppress the
warning ?

do I simply provide 'raw' file(s) from /etc/postfix/tls ?

do the Outlook/Thunderbird users then import this file ?

spamhaus dbl implementation

What's the best way to integrate the Spamhaus DBL for folks not already
using SA et al?

Will the following work, or does it check only the entire hostname, and not
the domain portion in isolation as well?

smtpd_recipient_restrictions =
reject_rhsbl_client dbl.spamhaus.org

order in cidr_table

Man for CIDR_TABLE(5) says:

" /etc/postfix/client.cidr:
# Rule order matters.

Anatomy of this simple spam.

Hello all! I have recently come across a few spams that I am trying to
block. The anatomy of the message probably isn't new to most of you,
but when I try to recreate the spoofed sections that I wish to filter by
hand over telnet, its clear that I am not understanding how the messages
are being built. Example to follow below:

note the from line is spoofed to be <...> at mydomain dot com,
<...> at spamdomain dot com, <...> at spamdomain dot com. Which appears to my users
as coming from a user in my domain.

postfix as "dispatcher"

Hi all,
I don't know if dispatcher is the exact word to express this concept but I
need that a postfix server doen't send the mail directly but it can pass
this mail to send to one of a series of postfix series that are the actual
senders of the mail..this server are parts of my network, I have just
installed them...

Other mail server can do this, only they need to receive the list of
addresses of the mail servers but I use postfix so I'd like to do this using
it....

Is there some keyword to configure this behaviour in postfix?

thanks everybody!

Saving to Sent folder

Hi Folks,

I'm not sure if there is a solution to this, but maybe one of you folks will know a "workaround".

After thunderbird has sent the email, it then has to save the email to the sent items folders. This can take a long time if there is an attachment and the server is remote.

Apart from only saving the sent items locally, is there any other way to speed things up? I know that is one feature of MS Exchange, that it only has to send the message once.

I'm using Postfix with Dovecot auth and virtual mailboxes with mysql.

Thanks

Jonny

quota with mysql

Hello,

i want to do a exact calculating quota with postfix<->mysql to reject incoming mails if user is over quota.
Complete storage-statistics+quota is done by dovecot in background.
Currently i use check_recipient_access mysql:/path/mysql.conf to get return value.
But for an exact calculation i misses value of current mailsize to calculate expected storageconsumption.
Is there a way to get size of mail into my sql-query?
My 2nd option would be a policy-service which gets mailsize delivered as attribut by postfixserver.
Whats the better way?

Thanks,
Andre

250 Backend Replied

When a user emailed one of our customers, this line came up in the logs:

Mar 2 15:43:22 mailgate postfix/smtp[4830]: 89423170093: to=<<...> at domain dot Com>, relay=domain.com.inbound15.mxlogicmx.net[208.65.144.13]:25, delay=1.4, delays=0/0/0.27/1.2, dsn=2.0.0, status=sent (250 Backend Replied [dc87d8b4.0.970491.00-043.1797288.p02c11m002.mxlogic.net]: 2.6.0

virtual_mailbox_limit_maps

Manao ahoana, Hello, Bonjour,

I took the administration of an old (Debian Etch + some Backports)
Postfix server and in its main.cf file, there is an important parameter:
virtual_mailbox_limit_maps.

It is used that way:
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/sql/vmailsize

/etc/postfix/sql/vmailsize contains database information (dbname,
username, quota field,...)

I move that configuration to a newer server (Debian Lenny with
the Official Postfix Debian package) and the per-mailbox (Maildir)
quota (limit) is not working.

I suspect virtual_mailbox_limit_maps not to be in

Error main.cf path, is it just me or is it a bug ?

Hi !

I downloaded postfix-2.7.0 and I need to manually build it.
The goal is to place everything in a different folder than usual :
/opt/postfix

To do that at the make install, I set the root_folder at /opt/postfix
and then at the next questions, the default choice is good for me.

However, if I run /opt/postfix/usr/sbin/postfix, I get the following error :
postfix: fatal: open /etc/postfix/main.cf: No such file or directory

Even though I said everything should be in /opt/postfix, it looks for at
the wrong place.
Ok then, no problem, I'll just build in a different way and at the make
ma

Bad Header: Non-encoded 8-bit data

Hi!

I'm getting a couple of this "bad header" messages:

250 2.6.0 Ok, message with invalid header discarded, id=18740-03 -
Non-encoded 8-bit data (char F6 hex) in message header 'Subject':
Subject: Tar kraftorder i F\\366renade arabemir...)

I think its because there is an "ö" -letter in the subject but I tried
sending a mail to myself with "å ä ö" in the subject and it didn't get
bad header. Can it be his mail-client thats the problem?
I'm not really sure what Non-encoded 8-bit means.

Why do I get that message?

tls vs ssl

OK - I'm an idiot. I'll just admit that up front and get it out of the way.

Now that that's settled, what is the difference between "SSL" and "TLS"
in a MUA - particularly Thunderbird - in a Postfix context?

I would have sworn I used to use Thunderbird with "SSL" specified and
connected to my Postfix servers fine. Now, I can only connect in "TLS"
mode. What did I break?

Maildir ownership/permission flags

Hi all,

I have a Postfix virtual users setup based on mysql tables. Messages are
stored in Maildir format. Maildirs are owned by "vmail:vmail" .
I want another user to be able to read those Maildir files so I added him
to the "vmail" group.
Unfortunately Postfix seems to create the directory structure with
permissions 700 when I actually need 740 (group readable)

dsrv:~# ls -alh /var/mail/virtual/domain.com/
drwx--S--- 5 vmail vmail 120 2010-03-02 07:52 kvf2igxx

Thanks.
-JK

Postfix TLS requirements

Hi,

I have an existing old postfix TLS server set up and working
successfully. It was created several years ago and has been working
fine ever since.I'm wondering what the benefits would be with
upgrading?

Re: Maildir creation

matching Maildir once the first message has been received.

maildirs for users whose name starts with "../../", shell special
characters, and so on. For these reasons Postfix will not allow

Hi Wietse,

Thank you for the response. I am working on a disposable e-mail addressing
service thus need to accept mail for any username. The message files will
be read by the WWW daemon on a drive that shadow copies the primary
Postifx Maildirs.

Milter invocation when sending to local mail

Dear,

Does Postfix invoke milter when sending a DSN for local mail?

Thanks,
Yves

Maildir creation

Hi all.
I have a Postfix virtual users setup based on mysql tables. Messages are
stored in Maildir format.
I am aware that creating a virtual alias @domain1.com -> <...> at domain2 dot com
will make Postfix accept emails for any username and deliver them to
<...> at domain2 dot com.

Is it possible to do the same thing with users?

looking for solution

Hello @ll

I have a little problem with postfix 2.5, trendmicro viruswall and an old
exchange 2k behind it.

Out: 452 Insufficient system storage

Greetings

I had several of these on my primary MX this weekend and one just
popped up.

postmulti: inet_interfaces for each instance ?

Dear

I would like to implement multiple instances on my 2.7 postfix.

After read the documentation (perhaps my english is very poor) i need to
have a confirmation.

did i need to disable master_service_disable and specify an IP address
for each instance in inet_interfaces token ?

Or

Is there a kind of "hub" that listen a single IP and is in charge of
routing mails to the right instance ?
If yes how to specify this hub ? Is the main postfix
process /etc/postfix is able to be the hub ?

Best regards.

Listing relay_domains in a file

The relay_domains documentation says:
Specify a list of host or domain names, "/file/name" patterns ...

Would "/file/name" contain one domain per line?

And would changes require "postfix reload"?

Best regards,

wolfgang

RBL problem?

Recently, I've noticed a lot more spam. In checking the logs I find
that zen.spamhaus.org has really lost ground in terms of rejections.

I use zen and bl.spamcop.net.

VS: Recipient limit..but where?

All right. I try to pinpoint the problem from somewhere else.

Thank you

hannu

Niemi Hannu:

That pop-up has an error message of:

4.5.3 Too many recipients

That is not a Postfix error message, and of course this message
does not show up in SMTP logging.

sender name from /etc/passwd

Hello,

I've tried to migrate some 90 servers from Sendmail to Postfix, trying
to keep the behavior as similar as possible. They were all simple null
clients, sending mail via relayhost only. After some time I've noticed
that some servers are sending their daily logwatch outputs with

From: "<...> at n2rhps88 dot localdomain" <<...> at n2rhps88 dot localdomain>

, while others have

From: Root n2rhps23 PGRLF <<...> at o2bs dot com>

. I prefer the second variant; the problem is that configurations are
the same...

bogus HELO name used

Hi all

I runnig a postfix server but now i notice Emails from my server is being
blocked by some ISPs because they claim it has a bogus helo,
I just checked the list and my IP is not listed as a spammer,

this only happens to certain email addresses, 97% of mail still goes through
fine, just the odd one.

my dns is working good

not sure what is causing this ?

thanks in advanced

Milter for processing bounces?

Is there a filter or a mod that can be made to Postfix that would have the
process that handles bounced emails within Postfix send the email to a
different email address (i.e. email identified in specific header variable)
rather than the envelope-sender?

thanks,
Kim

Planning An Upgrade

I am getting ready to step up my Postfix version from
postfix-2.3.3-2.1.el5_2 (Package maintainers version) to Simon's
binary RPM 2.7.0 package. Currently I checked out the 'Release Notes":

http://de.postfix.org/ftpmirror/official/postfix-2.7.0.RELEASE_NOTES

From what I read, no functionalist has been removed but I am stepping
up from such an old version granted it's the latest version available
from Red Hat Enterprise Linux, there could be problems with my
particular configuration.

VS: Recipient limit..but where?

Yeah, it SHOULD be. Now, the question is, why it cuts on 500 recipients... I made this 1002 setting to be sure the default (which SHOULD be 1000) was for some reason off. But it didn't change anything.

And yes, I remembered to reload :)

hannu

timeout after CONNECT

Hi List,

I have an old postfix install where I am getting "timeout after
CONNECT from" error messages upon e-mails being send from one
particular host. The user is complaining that he is not able to send
out any e-mail. Other users from the same system are sending mail
happily without errors. User claims to use MS Outlook client. He was
trying to send an e-mail with about 500 recipients in one mail (no
comment) but he says before it was processed without problems.

confused about MULTI_INSTANCE readme

Hi all, im reading the docs about setting postifx with multiples
instances [1].

Recipient limit..but where?

Hello

I have been fighting with a problem with Postfix. There are some users that insist on sending mail to large groups of recipients (yes I know that mailman or similar is made for that) and there is a limit of number of recipients, which I have after extensive testing managed to pinpoint to 500 recipients. Less or equal amount goes, 501 not.

No mail delivery for regular linux user, mail-only users seems fine

Recently I did some updates and a reboot for my debian etch server. Now it
feds out that one mail account doesn't recieve mail anymore. I suspect there
is a relation.

If I send a mail to a mail-only user on this server I see that it appears in
its folder.

/var/spool/mailusers//Maildir

When I send a message to a user that is a regular user on this system
(/home//Maildir), I can't find the message. I have no idea what
is going wrong.

Could someone give me directions to locate the problem?

host suddenly not found ...

Hello

I get this error since few hours :

(Host or domain name not found. Name service error for
name=bart.esiee.fr type=A: Host not found, try again)

the machine bart.esiee.fr has a FQDN and is
on my LAN , any idea of what happen ?

mail# nslookup bart
Server: 147.215.1.4
Address: 147.215.1.4#53

Name: bart.esiee.fr
Address: 147.215.1.20

Thanks a lot

client certificate handling with TLS + sasl

Dear List

I am using dovecot sasl with postfix smtp-auth. I also use tls with
both dovecot imap/pop server to retrieve mails and
also tls with postfix for submission to the relay server.

With dovecot I can have my mail client send a certificate and make
dovecote use CN field of the cert as username
to authenticate. If I enable that feature in dovecot, postfix
authentication does not work despite the fact that I am also
sending the same cert to postfix.

migration question

After becoming frustrated with our current (non-postfix/dovecot) mailserver's IMAP performance, I setup postfix+dovecot+mysql on a MacPro running Snow Leopard (10.6.2) using MacPorts and an unused domain. After getting it working and playing with it a bit I now have what is likely a very-wet-behind-the-ears newbie question:

When it's time to swap servers, is there a preferred recipe to move to new hardware while using the same domain?

"Display-name" rewriting

Hello,

I would like to overwrite the "display-name" (i.e. the sender
description string in the the From: field. - cf. RFC 5322 sec 3.4) set
by the MUA. Is it possible to rewrite the "display-name" (1) in the
"From:" header on a postfix server ?

Thanks in advance,

Sylvain Ferrand

Blocklist with multiple SELECT-fields

Hi everybody!

I'm trying to implement a blocklist based on a MySQL lookuptable. It works
for returning single values like REJECT or OK, but I want it to return 4XX
"some text" the same way as can be done using a standard accessmap.

restricting acceptence of mail users except from local network

How do I get postfix to reject mails "From" my own domains coming from
outside the local network?

Ruben

SORBS or Black holes

What is the most straight method of hooking up a milter for blackhole
services. I've had more than a fewest suggestions and read a few
different methods, but I'm left puzzled as to the best means of doing
this.

Ruben

postfix-users memes (was: A problem related to smtpd_recipient_restrictions)

* Noel Jones <<...> at megan dot vbhcs.org>:

Someone should actually start collecting all those frequently used
sayings - and perhaps translate them.

I remember having asked a not-so-clever question here once, and I got
the "Perhaps surprisingly, ..." answer right in my face (not from
you). So, "Perhaps surprisingly, ..." would clearly translate into
"Since you missed the obvious, ...".

S/NR--;
Stefan

A problem related to smtpd_recipient_restrictions

Hi,

I installed postfix on a machine, which has been configured as a mail relay server.
I want it to do 2 things:
A. accept requests from only trusted SMTP clients
B.

amavisd-new+postfix with SSL/TLS

I want to deploy my actualy postfix+amavisd-new sistem with SSL/TLS with certificates.Is necessary to modify in amavisd-new config file for SSL?

Mail Transport Unavailable

Hello
If I use the command
# mail -v <...> at domain dot com I get the folloing
Mail delivery status report will be mailed to
But then I get MAILER-DAEMON (mail transport unavailable)

Using FreeBSD 7.2
Postfix 2.6.5
And second instance running

Thanks in advance
_ Motty

How to tell which instance is which

Hello,

just a suggestion. Below is an example how freshly started 3 Postfix
instances looks in process list (I'm not posting ps from working system to
not bloat this message):

18374 ? Ss 0:00 /usr/lib/postfix/master
18377 ? S 0:00 \_ pickup -l -t fifo -u -c -o content_filter= -o
receive_override_options=
18378 ? S 0:00 \_ qmgr -l -t fifo -u -c
18455 ? Ss 0:00 /usr/lib/postfix/master
18458 ? S 0:00 \_ pickup -l -t fifo -u -c -o content_filter= -o
receive_override_options=
18460 ? S 0:00 \_ qmgr -l -t fifo -u -c
18535 ?

Some questions about logging

Hello,

I'm enhancing a program I use to follow Postfix logs in sort of real-time. It does a couple of things, and the most important is to record a single-line summaries for each message, storing source IP address, from, to, timestamp, size, final delivery destination (mail relay or mailbox) and status.

copy all e-mails to a new domain

Hello,
While moving the IMAP services to a new host, I'd need to copy all messages
addressed to <...> at example dot com to the old inbox, and to the new at
<...> at tempsubdomain dot example.com
Virtual maps allows this, but needs the full list in the form
<...> at example dot com: user1 <...> at tempdomain dot example.com
<...> at example dot com: user2 <...> at tempdomain dot example.com
...
Is there some shortcut to write "replace the domain part for any user of
example.com and copy to the new address?"

Thank you.

prepend headers logging

is there away to stop prepend: header from being added to the logs?

problem getting reject_sender_login_mismatch to work

I'm trying to set up my mail server so it blocks emails that appears to
come from the same address that they are going to.

faked return e-mail address discard

Forgive me if this has been asked (or point me thusly):

My postfix box is getting e-mails where <...> at whatever dot com
sends to <...> at whereverelse dot com and uses a valid e-mail
address on my server for the return, so I get a non-delivery e-mail from
the <...> at whateverelse dot com mail server to the client
(virtual hosted) on my server. How can I block clients on my box from
getting these e-mails or discard these automatically, will postfix do
this?

Add extra headers when forwarding

Hi All,

I have one postfix mail server, and a forward server. The mail server accepts all the mails, and forwards mails to the forward server if the mail is a forward.

Currently, when the postfix forwards the mails to the forward server it is not adding any headers for the e-mail for which it forwards.

I want to add extra headers to mail header when there is a mail forward. Precisely, I want to add the e-mail id for which the forward happens.

Is there any way to add those details to the e-mail headers.

Regards,
Shameem

2.7 RPM

Does anyone happen to know if anyone is kindly dedicating their time
to creating a Postfix 2.7 RPM for download? I know this is extremely
time consuming but I am really interested to try out Postfix 2.7 on my
CentOS x64 server. I realize Simon was responsible for creating the
previous RPM's available on a mirror but I don't know if he is still
doing so.

header_checks question

Can anybody comment on this ugly "fix" for Umlauts in realnames?

# Already with Quotes ("=22") thus do nothing
/^From: =\?iso-8859-1\?Q\?=22(.*)=22\?= <(.*)>$/ REPLACE From: =?iso-8859-1?Q?=22$1=22?= <$2>
# No quotes
/^From: =\?iso-8859-1\?Q\?(.*)\?= <(.*)>$/ REPLACE From: =?iso-8859-1?Q?=22$1=22?= <$2>

#becaus:
#wrong =?iso-8859-1?Q?Kr=FCger=2C_Stephanie?=
#correct =?iso-8859-1?Q?=22Dr._med._Stefan_R=F6pke=22?=

Yes, this fails if the encoding is NOT iso-8859-1

smtpd_banner question

Hi all

This is probably a rank newbie question, but I've been unable to find
an answer via Google or the archives, so hopefully someone here can
point me in the right direction.

As I understand it, smtpd_banner is used for both the banner line when
someone connects to my server, and also when Postfix connects to
another server to send mail.

Implementing SPF

Hi Folks,

With regards to SPF breaking email fordwarding:

If i implemented SPF on my server, is the above only an issue if someone
were to use an external forwarding service, and forward mail to an
account on my server?

I'm just talking about receiving mail for now..

Thanks

Banned spoofed address from my domain

Hi Folks,

To prevent spammers sending email from spoofed addressed that appear
from my domain, I currently use SPF. I'm having second thoughts about
using SPF, so is there any other way to make sure that only
authenticated users can send email from my domain?

Thanks

Filtering mail from inside users only

Hello all,

I try a solution to insert a counter number into the Subject line for any message leaving the email server(sent by a local client through local interface).
I used the example shown at http://www.postfix.org/FILTER_README.html
but the counter appears in every message hitting the email server.

/etc/postfix.master.cf:
# ==================================================================
# service type private unpriv chroot wakeup maxproc command
# (yes) (yes) (yes) (never) (100)
# =====================================================

SPF SRS sender re-writing

Hi Folks,

As many of you will probably know, SPF breaks forwarding using aliases.
The solution is to re-write the from-evenlope when forwarding email.

Does anyone know how to do this with postfix?

Thanks

Jonny

localhost in Message Headers

Hi,
In regards to having honest headers, is it bad to have localhost.localdomain in the an email header?

Received: from localhost (localhost.localdomain [127.0.0.1])
by relay1.edhance.com (Postfix) with ESMTP id 18D231A7517
for <<...> at gmail dot com>; Sat, 20 Feb 2010 23:08:19 -0500 (EST)

James

tumgreyspf issues

Hi Everyone,

I'm using tumgreyspf. I need to add the following line to my main.cf to
make it work:

check_policy_service unix:private/tumgreyspf

Some servers arn't being greylisted.

allow mail delivery during sasl server downtime?

Dear List

Last time I have configured postfix was many years ago with version
2.3. Now I wish to upgrade to 2.7 and also change
configuration by adding dovecot sasl authentication. It is working
as expected. Public can deliver mail to my domain
without authentication. authenticated users can use the server as a
relay to anywhere.

My concern is that with my config if dovecot server were to go down
for any reason at all postfix cannot accept mail delivery.

postfix explicit logging all failures in maillog

One of our clients sends contract notes to their customers and they
require to store all logs of deliveries/bounces by some law.

They have requirements like

* The log should contain the full date including year
* The log line should indicate full info -->
sender,rcpt,datetime,size,status

I have managed to add custom logs in postfix source in bounce.c and
sent.c. (Thanks to the neatly structured code it wasnt much of an
effort)

Only problem is when a message expires there is no log line that says
$queue-id: "$sender" to "$rcpt" status=expired

How can I log this ?

Thanks
Ram

How do I get spam through my pre-queue spam filter?

I want to collect all spam delivered to my server to an invalid user /
domain. luser_relay seems to be doing part of the job, but how do I get it
around or through spamassassin which is set up as a pre-queue content
filter? It looks like skipping the smtpd_proxy_filter isn't an option, so
can I set a header or something for spamassassin to whitelist on?

I love running spamassassin as a pre-queue filter, knowing that any false
positives will get an error message, without causing any backscatter.

(Honey pot, for maintenance of whitelist / blacklist type things.)

my postfix are banned ALERTE VIRii

1 messages rejected with banned file names.

Banned File Names:
.exe,.exe-unix,scellius_600_PLUGIN_linux-2.6.9/bin/request: 1 Times(s)
From:
209.85.220.217 1 Time(s)

ALERTE ALERTE Virii

Postfix 2.7.0 delivery problem

Hi,
I just installed postfix 2.7.0.
WIthout changes to the existing configuration of 2.6.5 I get this error
using procmail as my mailbox_command:
Feb 19 18:34:29 adrianvb postfix/local[14290]: BD85F7006D: to=<<...> at adrianvb dot xs4all.nl>, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.3.0, status=bounced (Command died with status 126: "/usr/bin/procmail". Command output: /usr/bin/procmail: /usr/bin/procmail: cannot execute binary file )
Anyone any ideas???

Adrian

Postfix Virtual Users with maildrop

Hello,

I am trying to build a flexible mail system using different combinations
of mailing softwares (eg. Postfix & maildrop & Dovecot, Exim & Dovecot,
qmail & maildrop & Courier IMAP ...), at any time system administrator
may decide to interchange between combinations without making a design
change.

postmap -q return code not very clear when using 'catch all' with smtp_generic_maps

Hi,

I have to use a relayhost (not managed by me) that only accepts 1 address
from me.

So I configured smtp_generic_maps:

glorang:~# postconf -n |grep -e relayhost -e generic
relayhost = relayhost.be
smtp_generic_maps = hash:/etc/postfix/generic

glorang:~# cat /etc/postfix/generic
@mydomain.be <...> at relayhost dot other.domain

Now try to lookup <...> at mydomain dot be:

glorang:~# postmap -q <...> at mydomain dot be /etc/postfix/generic
glorang:~# echo $?
1

So no output (no match found) and return value > 0, so you would expect
this can't work, but in fact it just works.

How to manage local blacklist on my postfix relay?

Hi,

I have a Postfix 2.6 relaying tons of emails to millions email addresses
and domains.

I have listed tens of thousands of email addresses and domains to which
I don't want to relay any more.

Is there a way to manage a local blacklist without spamassassin?
However, up to now I think spamassassin is for local delivery, not relay.

So I have a file of more than 100,000 email addresses and another made
of bad domains.

I can write scripts in shell, php, perl,....

Your help will be welcomed.

Patrick

rbl sites

Is there a preferred list of rbl sites one can use in postfix. I keep
getting the following on the following:

warning: 21.27.134.89.zen.spamhaus.org: RBL lookup error: Host or domain
name not found.

Spam mail coming in

I'm getting a variety of spam mail form certain places that seems to be
repeating itself and would like to know what is the best way to blacklist
these or block them.

mmtlnx:~ # postconf -n

alias_maps = hash:/etc/aliases

biff = no

canonical_maps = hash:/etc/postfix/canonical

command_directory = /usr/sbin

config_directory = /etc/postfix

daemon_directory = /usr/lib/postfix

debug_peer_level = 2

default_rbl_reply = $rbl_code SPAM; $rbl_class [$rbl_what] blocked using
$rbl_domain${rbl_reason?; $rbl_reason} - Phone +61 412 126 166 if you
believe this to be in error.

defer_transports =

Re: smtpd_reject_unlisted_sender

---------- Original Message ----------------------------------
From: Wietse Venema <<...> at porcupine dot org>
Reply-To: Postfix users
Date: Thu, 18 Feb 2010 17:21:53 -0500 (EST)

Here's the logic we want:

smtpd_recipient_restrictions =
.
.
check_sender_access mysql:/path/3rd_level_sender_domain_class.cf,
smtpd_reject_unlisted_sender = yes,
reject_unlisted_recipient,
.
.
permit

3rd_level_sender_domain_class =
.
smtpd_reject_unlisted_sender = no,
reject_unlisted_recipient,
.
permit

thanks
Len

smtpd_reject_unlisted_sender

is this param server-wide, or can it be present in smtpd_*_restrictions ?

Len

Re: Max Recipients in Postfix stripped to first 8?

That solved my problem!

Syndicate content