Re: XFORWARD Vs PDP

2008-10-27 Thread Wietse Venema
Mark Martinec: WTF PDP? Policy delegation protocol, I suppose. Confirmed (I referred him to the mailing list, and have no more information than what has already been posted). Wietse

Re: XFORWARD Vs PDP

2008-10-27 Thread Wietse Venema
Victor Duchovni: On Mon, Oct 27, 2008 at 02:55:07PM -0400, Wietse Venema wrote: Mark Martinec: WTF PDP? Policy delegation protocol, I suppose. Confirmed (I referred him to the mailing list, and have no more information than what has already been posted). Then perhaps

Re: XFORWARD Vs PDP

2008-10-27 Thread Wietse Venema
Victor Duchovni: On Mon, Oct 27, 2008 at 03:47:08PM -0400, Wietse Venema wrote: This thread suggests that each xforward attribute also needs to be made available via Milter macros (in smtpd and cleanup), and via the policy delegation protocol. There seems to be some demand

Re: Big incoming queue, slow qmgr, idle system.

2008-10-28 Thread Wietse Venema
Francis SOUYRI: qshape incoming T5 10 20 40 80 160 320 640 1280 1280+ TOTAL 3201 2121 937 87 11 21 23 0 0 0 0 This is typical for what happens after the qmgr is restarted (with postfix reload or

Re: RE : Big incoming queue, slow qmgr, idle system.

2008-10-28 Thread Wietse Venema
Francis SOUYRI: Hello Wietse, For this day 15 times, all are postfix restarts, after parameters changes to see what appended (activate/deactivate qmgr verbose) or when there is too many mails in the incoming (to reduce the smtpd from 100 to 40 in the master.cf) TURN OFF ALL VERBOSE

Re: SMTP transaction interrupted

2008-10-29 Thread Wietse Venema
Rocco Scappatura: I can't identify the cause of impossibility to relay emails through my Postifix mail gateway, from a Outlook express client. Indeed, I get the problem while sending email with attachment with size above 5-6 MB.. From mail log, I saw: postfix/smtpd[16988]: connect

Re: postfix 2.5 vmail hosting - Resource temporarily unavailable + mail transport unavailable

2008-10-29 Thread Wietse Venema
?li?s Tam?s: Oct 24 22:09:24 ** postfix/master[27379]: warning: master_wakeup_timer_event: service tlsmgr(private/tlsmgr): Resource temporarily unavailable Oct 24 22:33:54 *** postfix/qmgr[741]: warning: connect to transport maildrop: Resource temporarily unavailable Oct 24 22:33:54 ***

Re: VRFY problem

2008-10-29 Thread Wietse Venema
Pete Fuggle: So it seems that smtpd_recipient_restrictions are somehow being invoked when VRFY is used? VRFY is pretty useless by now because many sites disable it. Postfix invokes smtpd_recipient_restrictions to make the reply similar to that of RCPT TO (no point to have VRFY reply with 2xx

Re: SMTP transaction interrupted

2008-10-29 Thread Wietse Venema
Rocco Scappatura: Oct 29 10:27:58 av3 postfix/smtpd[16988]: connect from unknown[xxx.yyy.www.zzz] Oct 29 10:27:58 av3 postfix/smtpd[16988]: 7B98D75008D: client=unknown[xxx.yyy.www.zzz] Oct 29 10:34:25 av3 postfix/smtpd[16988]: timeout after DATA from unknown[xxx.yyy.www.zzz] Oct 29 10:34:25

Re: How can I override previous FILTER action

2008-10-29 Thread Wietse Venema
Eddy Beliveau: Documentation said: /In the case that multiple *FILTER* actions fire, only the last one is executed. /I try without success to override previously defined FILTER /^some-special-header/ FILTER my-filter /^my-filter-been-there: Yes/ FILTER none As documented, the

Re: Return-Path and Errors-To not behaving as expected

2008-10-29 Thread Wietse Venema
Jeff: So I tried inserting Return-Path: [EMAIL PROTECTED] in the headers, but they still bounced to the script user. As documented, use the sendmail -f option. Return-Path: is created on OUTPUT, it is not used for INPUT. Same deal with inserting Errors-To: [EMAIL PROTECTED]. Errors-To: is

Re: Delivery for local users when using pam_mysql (PAM)

2008-10-29 Thread Wietse Venema
Postfix uses the standard getpwnam() system library routine to determine if a user exists. You should do your tests with getpwnam(), not with the getent command. Wietse

Re: Delivery for local users when using pam_mysql (PAM)

2008-10-29 Thread Wietse Venema
Ilo Lorusso: [EMAIL PROTECTED] ~]#perl -le 'for (@ARGV) { print join(:, getpwnam($_)) }' ipnoc DO NOT RUN THE TEST AS ROOT. Wietse

Re: SMTP transaction interrupted

2008-10-30 Thread Wietse Venema
Rocco Scappatura: 12:31:06.808714 O client.1395 server.25: . 1931191:1932551(1360) ack 358 win 65178 (DF) Can you show the TCP handshake (SYN/SYN+ACK/ACK) with TCP options. Wietse

Re: Which FileSystem do you use on your postfix server?

2008-10-30 Thread Wietse Venema
Bryan Irvine: How long ago was that? I had the precise problem and had been told that particular bug has been fixed. My problems were ~5 years ago. Except that I'm never going to use it anyway because I just can't force myself to trust it. I've used Postfix under ext3, ffs(openbsd),

Re: smtpd_client_recipient_rate_limit

2008-10-30 Thread Wietse Venema
Jordi Espasa Clofent: Hi all, My server has the next anvil(8) config: smtpd_client_connection_rate_limit = 100 smtpd_client_recipient_rate_limit = 20 It works fine, and when I test it from another SMTP (sending a mail to 30 recipients) the logs shows cleary: Oct 30 15:55:00 mail09

Re: qmgr crashes after upgrade to 2.5

2008-10-30 Thread Wietse Venema
Ofer Inbar: I recently upgraded a couple of servers from postfix 2.2 to 2.5. No configuration changes except those made by the upgrade scripts. Now, during large mailings, the two new servers have frequent qmgr crashes, while the ones running 2.2 do not. The problem is qmgr runs up against

Re: qmgr crashes after upgrade to 2.5

2008-10-30 Thread Wietse Venema
Ofer Inbar: What I'm trying to understand is *why* it's hitting the limit. If you wonder why 2.5 qmgr uses MORE file dscriptors than 2.2, that has to do with small improvements so that qmgr can keep more delivery agents busy. Each delivery agent corresponds with one qmgr socket. My

Re: Which FileSystem do you use on your postfix server?

2008-10-31 Thread Wietse Venema
Nikita Kipriyanov: DULMANDAKH Sukhbaatar ?: For me XFS seemed very fast. But usually I use ext3, which is proven to be stable enough for most situations. I feel also that xfs if much faster than ext3 and reiserfs, especially when it deals with metadata. In some bulk operation

Re: Spammers abusing my postfix box

2008-10-31 Thread Wietse Venema
Jaap Westerbeek: Hi All, Lately some spammer has been able to relay spam through my server. I think they use a valid (hacked) account and then rewrite the sender e-mail address. I suggest that you identify the broken application or the comprimised account (use weblogs and mail logs) and

Re: Which FileSystem do you use on your postfix server?

2008-10-31 Thread Wietse Venema
Justin Piszcz: On Fri, 31 Oct 2008, Wietse Venema wrote: Does XFS still overwrite existing files with zeros, when those files were open for write at the time of unclean shutdown? This I believe this was fixed in an early 2.6.2x release, cc'ing xfs mailing list to confirm. would

Re: Which FileSystem do you use on your postfix server?

2008-10-31 Thread Wietse Venema
Eric Sandeen: This would violate a basic requirement of Postfix (don't lose data after fsync). Postfix updates existing files all the time: it updates queue files as it marks recipients as done, and it updates mailbox files as it appends mail. As long as postfix is looking after data

Re: Re[2]: postfix 2.5 vmail hosting - Resource temporarily unavailable + mail transport unavailable

2008-10-31 Thread Wietse Venema
?li?s Tam?s: Udv / Greetings! it is already set to 30 with default_process_limit = 30 I constantly get the errors: Oct 31 16:25:20 *** postfix/qmgr[7260]: warning: connect to transport maildrop: Resource temporarily unavailable Oct 31 16:25:20 *** postfix/qmgr[7260]: warning:

Re: Which FileSystem do you use on your postfix server?

2008-10-31 Thread Wietse Venema
Dave Chinner: On Fri, Oct 31, 2008 at 11:37:58AM -0400, Wietse Venema wrote: Eric Sandeen: This would violate a basic requirement of Postfix (don't lose data after fsync). Postfix updates existing files all the time: it updates queue files as it marks recipients as done

Re: Avoiding cool-off retry delay for some domains'

2008-10-31 Thread Wietse Venema
Vintinner, M. Scott: One of our very important clients (a major bank), is having ongoing problems with denial-of-service style dictionary SPAM attacks. Their anti-spam/firewall teams are slow to respond to these outbreaks, so there may be periods of several hours where we will get frequent

Re: Re[5]: postfix 2.5 vmail hosting - Resource temporarily unavailable + mail transport unavailable

2008-11-02 Thread Wietse Venema
?li?s Tam?s: Udv / Greetings! About the limits: ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited Etc. I have news for you. Computers do not have unlimited supplies of memory, sockets, files, etc. Wietse

Re: [OT] with ezmlm

2008-11-02 Thread Wietse Venema
Byung-Hee HWANG: (first of all, sorry if it is already discussed and a known issue) Is that possible to set up Postfix with ezmlm? I'm considering to make a private mailing list with ezmlm. Yep, i think ezmlm is more fast than mailman. Can you please help me for that? Or some hint also

Re: Alternate SMTP port number in alias file

2008-11-02 Thread Wietse Venema
Jim Balo: I tried this, but did not get it to work. Here is what I added to /etc/postfix/transport: [EMAIL PROTECTED] smtp:[EMAIL PROTECTED]:2525 My test mail wound up locally - not recirected. Maybe I have something backwards. If something does not work as expected, this mailing

Re: Check MX entry before virtual domains maps

2008-11-03 Thread Wietse Venema
M.: On Mon, 2008-11-03 at 19:32 +0100, mouss wrote: and the problem is? If they control the domain, then you have no problem! OK, I will try to explain that by example: 0. user buys domain mydomain.com 1. user adds mx record mailserver.com to his domain 2. user adds (by perl script)

Re: Check MX entry before virtual domains maps

2008-11-03 Thread Wietse Venema
M.: On Mon, 2008-11-03 at 15:26 -0500, Jorey Bump wrote: Although checking the MX record before provisioning would provide the ultimate verification, it would expose the domain to the possibility of lost mail, since it requires the customer to change the MX before the destination is ready

SOLVED: SMTP transaction interrupted

2008-11-04 Thread Wietse Venema
I think I have solved the mystery. But I can offer you only a workaround, to turn off selective ACK support. Here is one event in a tcpdump file that I received a few hours ago (full context is below the signature): 10:49:57.930285 80.74.176.142.25 217.11.85.59.2528: . ack 1998901

Re: SOLVED: SMTP transaction interrupted

2008-11-04 Thread Wietse Venema
Rocco Scappatura: I think I have solved the mystery. But I can offer you only a workaround, to turn off selective ACK support. Here is one event in a tcpdump file that I received a few hours ago (full context is below the signature): 10:49:57.930285 80.74.176.142.25

Re: SOLVED: SMTP transaction interrupted

2008-11-04 Thread Wietse Venema
Rocco Scappatura: I think I have solved the mystery. But I can offer you only a workaround, to turn off selective ACK support. Here is one event in a tcpdump file that I received a few hours ago (full context is below the signature): 10:49:57.930285 80.74.176.142.25

Re: DKIM-Signature not being added when sending from remote Outlook client

2008-11-04 Thread Wietse Venema
Bailo, John: I set up postfix with the dkim-milter. It works great when I am logged into the linux server and send mail with the mail command. However, if I try to connect to postfix from a remote computer, and send mail using a client such as outlook, the DKIM-Signature is not being

Re: Re[7]: postfix 2.5 vmail hosting - Resource temporarily unavailable + mail transport unavailable - SOLVED

2008-11-04 Thread Wietse Venema
?li?s Tam?s: Udv / Greetings! I did not have sysctl compiled in the kernel. that one caused the problem. (the old .config become incmpatible with the new one and I havent chacked is all options are in place) I don't know what the affect of sysctl to postfix, but definately has. The effect

Re: SMTP transaction interrupted

2008-11-04 Thread Wietse Venema
Reinaldo de Carvalho: Which tcpdump version is this? Where are the time stamps and the packets with data (Len0)? tcpdump show only initial packet data by default and -s0 show all data. Is usefull when decode HEX (-xX) or ASCII (-A) I repeat, there is no need to look at the data itself.

Re: SMTP transaction interrupted

2008-11-04 Thread Wietse Venema
Rocco Scappatura: Rocco Scappatura: 12:31:06.808714 O client.1395 server.25: . 1931191:1932551(1360) ack 358 win 65178 (DF) Can you show the TCP handshake (SYN/SYN+ACK/ACK) with TCP options. You are right, there is no TCP option. I will try to dump another SMTP session.

Re: SOLVED: SMTP transaction interrupted

2008-11-04 Thread Wietse Venema
Wietse Venema: I don't know if this is a problem with Windows TCP/IP, or if this is a problem with a firewall on the client side. Reportedly, some firewalls randomize TCP sequence numbers but don't update the sequence numbers in SACK fields. That would be a sure way to mess up TCP. Quoting

Re: Mails without filtered + Sending rate

2008-11-05 Thread Wietse Venema
2. I (my guests) am sending many newsletters with my postfix. Can I set the sending rate? ( Like: 10 mail/second ) This will limit the rate when you send all your mail through the same ISP mailhost. It is available in Postfix 2.5 and later. /etc/postfix/main.cf: smtp_destination_rate_delay

Re: GMAIL said: 451 4.5.0 SMTP protocol violation

2008-11-05 Thread Wietse Venema
Matheus Lima: Recently, withou any changing in my configurations, the e-mail send to any gmail accounts are getting deferred: Nov 5 18:00:38 tampa postfix/smtp[5687]: 88D6A48F2: to=[EMAIL PROTECTED], relay=gmail-smtp-in.l.google.com[72.14.205.27]:25, delay=2189, delays=2186/0.01/2.6/0.54,

Re: Questions about dedicated transport

2008-11-06 Thread Wietse Venema
Ralf Hildebrandt: Exemple : smtp unix- - n - 100 smtp -o myhostname=server1 way1 unix- - n - 100 smtp -o myhostname=server2 way2 unix- - n - 100 smtp

Re: Questions about dedicated transport

2008-11-06 Thread Wietse Venema
Wietse Venema: Ralf Hildebrandt: Exemple : smtp unix- - n - 100 smtp -o myhostname=server1 way1 unix- - n - 100 smtp -o myhostname=server2 way2 unix- - n

Re: Split MX and user name lookup

2008-11-06 Thread Wietse Venema
Nikita Kipriyanov: Michael Moritz ?: On Wednesday 05 November 2008 14:41:42 mouss wrote: Thanks. Any idea how to populate /etc/postfix/relay_recipients with all valid usernames? rsync, mysql, postgres, ldap, ... etc. Thanks but I have quite a number of

Re: Split MX and user name lookup

2008-11-06 Thread Wietse Venema
Michael Moritz ?: since I use a recipients cache file that will grow and need maintaining. (The third problem would be having to delete (?) the cache every time users, aliases, sql, etc are altered on the mail/smtp machine). Could postfix offer some sort of verify this address service /

Re: Message-id logging (include rfc822-comments?)

2008-11-06 Thread Wietse Venema
Victor Duchovni: When a message-id is followed by rfc822 comment text: Message-Id: [EMAIL PROTECTED] (test) 2008-11-06T13:13:35-0500 amnesiac postfix/cleanup[10832]: AF24675A3D: message-id=[EMAIL PROTECTED] (test) postfix logs both the id and the comment. This is

Re: Address verification

2008-11-06 Thread Wietse Venema
Robert Fitzpatrick: I have double-bounce messages in the queue, not sure what that is all about. For instance, to Yahoo addresses. Is this related to the fact that I am doing AV to those addresses? If the message has status=deliverable or status=undeliverable, then the message is an address

Re: OT: Sender Header

2008-11-06 Thread Wietse Venema
Byung-Hee HWANG: Brian Evans - Postfix List wrote: [...] It is added by the mail client, not the server. Can you please show me some example? RFC2822 section 3.6.2 has one example. http://tools.ietf.org/html/rfc2822#section-3.6.2 Mailing lists (including this one) also provide a Sender:

Re: Split MX and user name lookup part II

2008-11-06 Thread Wietse Venema
Michael Moritz: This is a problem we came upon while setting up the split MX (described earlier on this list). On the the smtp gateway I have this in master.cf smtp inet n - - - 20 smtpd -o cleanup_service_name=pre-cleanup -o

Re: Get IP on check_client_acces

2008-11-07 Thread Wietse Venema
Noel Jones: Wietse Venema wrote: Iker Perez de Albeniz: In my main.cf for example i have added: smtps_data_restrictions = check_client_acces pcre:/etc/postfix/access.pcre It is not called smtps_data_restrictions. and in that example access file i have putted

Re: telling queue files from subdirectories

2008-11-07 Thread Wietse Venema
Postfix hash_queue_names uses one-character (letter or digit) directory names. This is sufficient to implement a tree. Current queue file names are longer than 1, because they have two parts (inode number and time). A future queue implementation may use a different organization: one tree that

Re: Message-id logging (include rfc822-comments?)

2008-11-07 Thread Wietse Venema
Victor Duchovni: On the other hand, for well-formed headers, the comment is not part of the message-id: for example: 2008-11-06T01:11:19-0500 amnesiac postfix/cleanup[13756]: AE620EF8001: message-id=[EMAIL PROTECTED] (added by [EMAIL PROTECTED]) Should Postfix

Re: telling queue files from subdirectories

2008-11-07 Thread Wietse Venema
Ofer Inbar: Postfix hash_queue_names uses one-character (letter or digit) directory names. This is sufficient to implement a tree. Current queue file names are longer than 1, because they have two parts (inode number and time). Thanks! A future queue implementation may use a

Re: Message-id logging (include rfc822-comments?)

2008-11-07 Thread Wietse Venema
Victor Duchovni: How would one decide that a (message-id) header is not mangled? This would require parsing the string, counting the address tokens, and if there is only one address token, use that as the logged message ID, otherwise log the entire original string. Real-life

Re: Limiting an interface to a specific domains and client IPs

2008-11-08 Thread Wietse Venema
Ville Walveranta: Many thanks! That should get me going. If I disable the default in master.cf, does the first interface-specific smtpd become smtpd without a suffix or does it remain enumerated since it's not generic? I'll find that out Postfix uses the names that YOU specify. It does not

Re: Limiting an interface to a specific domains and client IPs

2008-11-09 Thread Wietse Venema
Ville Walveranta: [ Charset ISO-8859-1 unsupported, converting... ] On Sat, Nov 8, 2008 at 6:19 PM, Wietse Venema [EMAIL PROTECTED] wrote: Postfix uses the names that YOU specify. It does not magically rename things. From the MASTER(5): The service name is specified as host:port

Re: Forcing relay_domains check before local user check

2008-11-09 Thread Wietse Venema
Test: All, I have a problem with my setup of postfix/web-cyradm... I am running 3 domains locally and 3 domains i only relay to another location. When an incoming mail contains a name before the @ sign which i have as a local user but also a user in the relayed domain exists, the mail

Re: Transport and relaying

2008-11-09 Thread Wietse Venema
Test: Strange thing: I have a defined a few domains in /etc/postfix/transport: relaydomain.com smtp:[relaydomain.com]:65525 .relaydomain.com smtp:[relaydomain.com]:65525 Mail to relaydomain.com is relayed OK... But if have not specified anything in the /etc/postfix/relay_domains

Re: exception for smtpd_hard_error_limit ?

2008-11-10 Thread Wietse Venema
Alexander Gr?ner: Hi, is there a possibilty for an exception for the parameter smtpd_hard_error_limit like there is one for smtpd_client_event_limit_exceptions ? We have a quite funny Lotus server running here which seems to have problems when running into this limit. I did not

Re: virtual aliasing to command

2008-11-10 Thread Wietse Venema
Nikita Kipriyanov: Hello. For a local aliasing, it is possible to specify the command as a destination for mail, using 'pipe' character. We're using this possibility to bind spam-learning facility, like this: (main.cf) alias_maps = /etc/aliases (/etc/aliases) spam:

Re: Handle messages where From (Envelope Sender) matches To:

2008-11-10 Thread Wietse Venema
Roderick A. Anderson: I'm starting to get a lot of SPAM where the Sender matches the To:. You mean, the From: and To: headers, or the MAIL FROM and the RCPT TO address in SMTP commands? Note that From: and To: headers can be completely different from the MAIL FROM and the RCPT TO address in

Re: Courier (Authdaemon + imap + pop3 + maildrop) Memory usage

2008-11-11 Thread Wietse Venema
Watashi: Hello all, I have a trouble with my two mail servers where the users's maildir are. I use Courier Authdaemon with PAM_LDAP authenticating against a M$ Active Directory to serve imap, pop3 and maildrop. More than 8.000 accounts. The MTA is Postfix looking up for users in M$ AD

Re: Problems with running postfix

2008-11-11 Thread Wietse Venema
Lars Ebeling: warning: process /usr/libexec/postfix/smtp pid 17858 killed by signal 11 Wietse: To debug by hand, try: # gdb /usr/libexec/postfix/smtp -S # gdb /usr/libexec/postfix/smtp -u -S Lars Ebeling: # /opt/csw/bin/gdb /usr/libexec/postfix/smtp -S /opt/csw/bin/gdb:

Re: Re: Re: Courier (Authdaemon + imap + pop3 + maildrop) Memory usage

2008-11-11 Thread Wietse Venema
Watashi: What is the error message? The error is those messages on console about no memory from kernel ( a lot of process dumps on screen). All applications stops to work and I have to ctrl + atl + prt src + s + b to reboot the servers. I will not ask the same question again.

Re: Spammers abusing my postfix box

2008-11-11 Thread Wietse Venema
Jaap Westerbeek: Received: from User (unknown [64.129.70.219]) by mail01.cq-link.sr (Postfix) with ESMTP id D8AFD5F4526; Fri, 7 Nov 2008 18:55:47 -0300 (SRT) There's your spammer. Wietse

Re: Restriction Classes

2008-11-11 Thread Wietse Venema
Kevin P. Knox: My Postfix server is running 2.2.10, so I don't think I can use CIDRs, but can possibly list the internal servers as 32 bit addresses? CDIR table lookups were introduced with Postfix 2.1. Wietse

Re: Spammers abusing my postfix box

2008-11-11 Thread Wietse Venema
What is the output of: grep 6F38E5F4595 /the/maillog/file grep D8AFD5F4526 /the/maillog/file One is before Amavis, one is after Amavis. Wietse

Re: Spammers abusing my postfix box

2008-11-11 Thread Wietse Venema
Jaap Westerbeek: smtpd_recipient_restrictions = permit_sasl_authenticated, check_recipient_access hash:/etc/postfix/access_recipient, There is your open relay. Put it below reject_unauth_destination, Wietse

Re: using ip alias

2008-11-11 Thread Wietse Venema
Octavio: [ Charset UTF-8 unsupported, converting... ] Hi my server have some public IPs and I want to use one that is not the primary (eth0:0) but when I send email always use the one in eth0 despite the postfix is have as interface just the one in eth0:0 and lo See:

Re: per-user recipient_restrictions?

2008-11-12 Thread Wietse Venema
Stefan Palme: Hi all, I have something like this in my main.cf: smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, permit_mynetworks,

Re: [Q] when to call greylisting?

2008-11-12 Thread Wietse Venema
Roderick A. Anderson: I'm implementing greylisting on CentOS 5 systems. These are spools for the actual mailserver/mailbox systems. Currently we have: smtpd_recipient_restrictions = reject_unauth_pipelining,cheap reject_non_fqdn_sender, cheap

Re: recipient_bcc_maps and sender_bcc_maps

2008-11-12 Thread Wietse Venema
M?rcio Luciano Donada: Hi list, I am successfully using the parameters, but the e-mails arriving at their destination duplicates, is that correct? I'm using postfix 2.3.8-2 See: http://www.postfix.org/FILTER_README.html and look for receive_override_options. Wietse

Re: smtpd banner

2008-11-13 Thread Wietse Venema
Res: Hi All, Is there a way to insert line breaks in the banner? On Sendmail we use \n, which does not work on Postfix. Postfix smtpd_banner behaves as documented. http://www.postfix.org/postconf.5.html#smtpd_banner Wietse

Re: smtpd banner

2008-11-13 Thread Wietse Venema
Res: On Thu, 13 Nov 2008, Wietse Venema wrote: Is there a way to insert line breaks in the banner? On Sendmail we use \n, which does not work on Postfix. Postfix smtpd_banner behaves as documented. http://www.postfix.org/postconf.5.html#smtpd_banner Already read and an hour'd

Re: postdrop: fatal: uid=0: unexpected record type: 68

2008-11-13 Thread Wietse Venema
Rajkumar S: Hi, I get this error when I tried to send a mail via postdrop. vhs3:~# cat signedmail.txt | postdrop queue_id4BAE870402Fpostdrop: fatal: uid=0: unexpected record type: 68 The postdrop command behaves as documented. http://www.postfix.org/postdrop.1.html In particular, see

Re: postdrop: fatal: uid=0: unexpected record type: 68

2008-11-13 Thread Wietse Venema
Rajkumar S: On Thu, Nov 13, 2008 at 5:16 PM, Wietse Venema [EMAIL PROTECTED] wrote: Rajkumar S: Hi, I get this error when I tried to send a mail via postdrop. vhs3:~# cat signedmail.txt | postdrop queue_id4BAE870402Fpostdrop: fatal: uid=0: unexpected record type: 68

Re: Queue ID gets reused? Not unique?

2008-11-13 Thread Wietse Venema
Durk Strooisma: Hi all, I was examining my Postfix logs and saw two sequential sessions using the same queue ID. I was a bit surprised as I had the assumption that queue IDs were generated randomly, which means they should be practically unique. Postfix behaves as documented. Please point

Re: How can setup a dedicated transport to slow down output-rate to yahoo in Postfix 2.3?

2008-11-13 Thread Wietse Venema
Jacky Chan: Victor Duchovni wrote: If your prorblem is output-rate or destination concurrency, you are using the wrong tool. As subject, yeap, I actually want to setup such kind of transport to avoid getting greylist from yahoo. As I know, Postfix 2.5 has

Re: Queue ID gets reused? Not unique?

2008-11-14 Thread Wietse Venema
Durk Strooisma: I was examining my Postfix logs and saw two sequential sessions using the same queue ID. I was a bit surprised as I had the assumption that queue IDs were generated randomly, which means they should be practically unique. Postfix behaves as documented. Please point out

Re: Queue ID gets reused? Not unique?

2008-11-14 Thread Wietse Venema
of an email its authoritative tracking. Just curious. Thanks, Olivier - Original Message - From: Wietse Venema [EMAIL PROTECTED] To: Postfix users postfix-users@postfix.org Sent: Friday, November 14, 2008 12:40 PM Subject: Re: Queue ID gets reused? Not unique? Durk

Re: courier authlib with smtp auth

2008-11-14 Thread Wietse Venema
James Grant: Is the smtp service chroot'ed? Doing so is a real exorcise in getting it to work. gah that was exactly it! a chroot wont follow symlinks out of the chroot will it? I disabled the chroot in master.cf and it works fine. I think for now im just going to run smtpd without

Re: courier authlib with smtp auth

2008-11-14 Thread Wietse Venema
Charles Marcus: On 11/14/2008, Wietse Venema ([EMAIL PROTECTED]) wrote: Postfix as released by me does not chroot anything. Some Linux distributors insist on setting up things this way, which only can give Postfix a bad reputation. Perhaps if enough people complain it will be changed

Re: Timeout after DATA

2008-11-14 Thread Wietse Venema
Victor Duchovni: On Sat, Nov 15, 2008 at 09:14:07AM +1100, Petr Janda wrote: Hi all, I have got reports about lost mail(not received, im the receiver not the sender) recently and trying to find out whats going on seems to be beyond me. Basically a lot of email is lost with timeout

Re: Timeout after DATA

2008-11-15 Thread Wietse Venema
Petr Janda: Something is badly screwing up TCP, perhaps by throwing away packets with flags that it does not like. A misconfigured firewall? Seems unlikely as this timeout problem really happens a lot. Im also going to have a look at the Cisco ADSL router, maybe try replacing it with

Re: Address Verification Header

2008-11-15 Thread Wietse Venema
Jason Wohlford: Is there any way to perform an address verification on a message and then add a header to the message? I'd like to let postfix do address verification and then report the result to spamassassin. Suggestions? By design, address verification messages are never delivered.

Re: Customize NDR for large messages?

2008-11-15 Thread Wietse Venema
Paul Hutchings: Is it possible (for a novice who knows nothing about source code mods) to customize the bounce generated by a message that is larger than the size accepted under message_size_limit please? No. In fact, if the message is rejected during the inbound SMTP session, the NDR is sent

Re: Specifying bounce messages from pipe exit codes

2008-11-15 Thread Wietse Venema
Listas: Hello, I wonder if it is possible to specify the informative text for bounce messages, depending on the exit code from pipe(8). Something like having this in master.cf: mycmdunix - n n - 10 pipe bounce_message_map=/path/to/pipemap flags=... user=...

Re: Timeout after DATA

2008-11-15 Thread Wietse Venema
Petr Janda: If there is a traffic shaper at your end, it may replace your TCP stack's MSS=1460 announcement by something smaller, like 890. Could this also be caused by the ISP? Something is throwing away the first 7300 bytes of the email message. Depending on how pervasive this behavior

Re: Timeout after DATA

2008-11-15 Thread Wietse Venema
Wietse Venema: Petr Janda: If there is a traffic shaper at your end, it may replace your TCP stack's MSS=1460 announcement by something smaller, like 890. Could this also be caused by the ISP? Something is throwing away the first 7300 bytes of the email message. Depending on how

Re: Timeout after DATA

2008-11-15 Thread Wietse Venema
Petr Janda: Can you verify that your machine really announces a MSS of 1460? Actually you caught me while tempering with the MTU, Ive had it set to 800 for testing and some of the lost mail started getting through, but with a setting this low IMAP authentication stopped working altogether.

Re: Timeout after DATA

2008-11-16 Thread Wietse Venema
Barney Desmond: * Noone's pointed out the your first packet capture also exhibits the same missing data problem. After the client sends RCPT TO and you respond with an Ok, the next thing it drops on the wire is Received: from srv1.shoppingsquare.com.au in frame 12. I'm not that confident in

Re: Timeout after DATA

2008-11-16 Thread Wietse Venema
Petr Janda: by the way postmaster@ wont work. we dont set them up as the email addresses are stored in ldap and its just a hassle to create an extra postmaster@ address for each domain we host. if you want maybe try [EMAIL PROTECTED] You must provide a postmaster address,as required by

Re: Milter problem

2008-11-17 Thread Wietse Venema
I have made a test adding the following code in mimedefang-filter: sub filter_sender { my ($sender, $ip, $hostname, $helo) = @_; if ($sender =~ /sosogh.cn/i) { return (FILTER smtp:[202.96.15.55]:25,); } return ('CONTINUE', ok); } But the log said 554 5.7.1

Re: Force SMTP server disconnect

2008-11-17 Thread Wietse Venema
Diego Castillo: Hi all, I would like to force my Postfix SMTP server to disconnect from time to time, in order to prevent its clients from reusing the same connection for too long or for too many transactions. After reading through the documentation and searching the archives of this

Re: Force SMTP server disconnect

2008-11-17 Thread Wietse Venema
: Force SMTP server disconnect On Mon, Nov 17, 2008 at 11:07:44AM -0500, Wietse Venema wrote: I don't want to force a retry at the client side, I want to force the client to stop reusing the connection and open a new one from time to time. Ideally after a max number of messages

Re: Force SMTP server disconnect

2008-11-17 Thread Wietse Venema
Diego Castillo: I think anvil is a poor fit for the problem description. Anvil monitors plant-wide rates, and may trigger client backoff, while the OP wants a single connection re-use limit, which does not require an external counting process, each SMTP server alrwady has all the data it

Re: Postfix's SMTP outbound mail filtering of header content

2008-11-17 Thread Wietse Venema
As documented, smtp_header_checks etc. cannot change the destination. Destination changes would not make sense, because the checks happen while mail is being delivered. Wietse

Re: Postfix's SMTP outbound mail filtering of header content

2008-11-17 Thread Wietse Venema
Wietse: As documented, smtp_header_checks etc. cannot change the destination. Destination changes would not make sense, because the checks happen while mail is being delivered. Charles Account: If I create a second relay-smtp queue that is configured to be a relay to deliver mail to my

Re: Forward one user with address rewriting

2008-11-18 Thread Wietse Venema
To redirect one without changing the recipient address: /etc/postfix main.cf: transport_maps = hash:/etc/postfix/transport /etc/postfix/transport: [EMAIL PROTECTED] smtp:mx.b.example.com Many years ago I tried to unify virtual aliasing and transport mapping into one table, but I gave

Re: sender_bcc, recipient_bcc, double messages: Need some help

2008-11-18 Thread Wietse Venema
Please see FILTER_README and search for receive_override_options. Wieste

Re: always_bcc problem

2008-11-18 Thread Wietse Venema
Xueron Nee: Hi, I'm using `always_bcc` to backup all my messages to a monitor user, and it works fine. My problems is: if a message was sent to more than one recipients, the message will bcc to the monitor user several copies. I just hope to backup every messages only once, is

<    13   14   15   16   17   18   19   20   21   22   >