Re: How to queue messages with diffrent bounce time

2009-08-06 Thread Robert Socha
Thank you all for your reply:) /dev/rob0 pisze: On Wednesday 05 August 2009 13:25:32 Robert Socha wrote: My question: Is it possible to queue a message with diffrent time for the bounce? What is the real-world problem you're trying to solve? I smell backscatter here ... and this approach wou

subdomains matching in access file

2009-08-06 Thread J Channel
Trying to close access from one domain and it subdomains via access file. ~# echo ".karpatik.cn REJECT" >> /etc/mail/access ~# echo "karpatik.cn REJECT" >> /etc/mail/access ~# postmap /etc/mail/access ~# postconf -n | grep parent parent_domain_matches_subdomains = debug_peer_list, fast_flush_

Re: subdomains matching in access file

2009-08-06 Thread Magnus Bäck
On Thursday, August 06, 2009 at 11:09 CEST, J Channel wrote: > Trying to close access from one domain and it subdomains via access > file. > > ~# echo ".karpatik.cn REJECT" >> /etc/mail/access > ~# echo "karpatik.cn REJECT" >> /etc/mail/access > ~# postmap /etc/mail/access > > ~# postc

Re: subdomains matching in access file

2009-08-06 Thread J Channel
Thx! I try it with running postfix and it works ok. But another question: why with this configuration of parent_domain_matches_ subdomains "cn" matches any chinas domains, and ".cn" - does not? postmap(1) only does "raw" lookups. It won't do subdomain matches. It > doesn't even know that it's a h

Re: Question about address verification in MX2 when primary MX is down...

2009-08-06 Thread Santiago Romero
Yes, that's what the docs say. 450 = default, defer mail if the address can't be verified. 250 = if the address can't be verified, accept it anyway. Not recommended. So, summarizing. (And, please, correct me before doing a wrong change in my config file): My current server now is a backsc

Re: Question about address verification in MX2 when primary MX is down...

2009-08-06 Thread Charles Marcus
On 8/6/2009, Santiago Romero (srom...@servicom2000.com) wrote: > By adding the following to my main.cf, I'll check RCPT TO addresses > against primary MX, except when PRIMARY MX doesn't answer. In that case, > I'll accept any destination for my relay_domains list, just like I was > doing before add

fragile_destination_concurrency_limit

2009-08-06 Thread Simon Waters
Getting warnings below from our monthly mailshot. Last month I fiddled trying to slow hotmail delivery by adding: main.cf transport_maps = hash:/etc/postfix/transport fragile_destination_concurrency_failed_cohort_limit = 100 fragile_destination_concurrency_limit = 9 fragile_destination_rate_delay

ptr records set to localhost spammers

2009-08-06 Thread Robert Schetterer
Hi, some nets have set their ptr records to localhost this causes problems to several mailservers i see no problems at mine but just asked to clear dig -x 123.27.178.4 ; <<>> DiG 9.3.5-P1 <<>> -x 123.27.178.4 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERR

Re: ptr records set to localhost spammers

2009-08-06 Thread Noel Jones
Robert Schetterer wrote: Hi, some nets have set their ptr records to localhost this causes problems to several mailservers i see no problems at mine but just asked to clear dig -x 123.27.178.4 ; <<>> DiG 9.3.5-P1 <<>> -x 123.27.178.4 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- o

Re: smtp and smtps

2009-08-06 Thread Eduardo Júnior
Hi, On Wed, Aug 5, 2009 at 6:07 PM, /dev/rob0 wrote: > On Wednesday 05 August 2009 15:18:46 Eduardo Júnior wrote: >> what's the difference between smtp and smtps? >> According to what I read in [1], the difference is just the port where >> the daemon smtp listen > > In the context you are asking,

Re: ptr records set to localhost spammers

2009-08-06 Thread Robert Schetterer
Noel Jones schrieb: > Robert Schetterer wrote: >> Hi, >> some nets have >> set their ptr records to localhost >> this causes problems to several mailservers >> i see no problems at mine but >> just asked to clear >> >> dig -x 123.27.178.4 >> >> ; <<>> DiG 9.3.5-P1 <<>> -x 123.27.178.4 >> ;; global

Postfix won't start when adding additional daemon entries in main.cf

2009-08-06 Thread James Hankins
Greetings, I'm a new postfix user, I've got a working postfix implementation and trying to get integrate with Amavisd for Spamassassin and clamav. As soon as I try to add a daemon entry such as # = = # service

Re: Postfix won't start when adding additional daemon entries in main.cf

2009-08-06 Thread Wietse Venema
James Hankins: > > amavisfeed unix- - n- 2 lmtp > -o lmtp_data_done_timeout=1200 > -o lmtp_send_xforward_command=yes > -o disable_dns_lookups=yes > -o max_use=20 > > > and

Address Rewrite After Content Filter

2009-08-06 Thread Michael Katz
Is there a way to rewrite an address after content filtering? Thank You, -- Michael Katz Mailspect 271 North Ave Suite 1210 New Rochelle, NY 10801 http://www.mailspect.com http://www.raeinternet.com Main +1-914-712-9050 Direct +1-914-712- Mobile +1-914-525-2903 Fax +1-914-206-9609 Skype: mi

Re: Address Rewrite After Content Filter

2009-08-06 Thread Ralf Hildebrandt
* Michael Katz : > Is there a way to rewrite an address after content filtering? Yes. It's even documented in tha amavis install document -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203

Recipient address rewrite at delivery , after content filter

2009-08-06 Thread Ovidiu Bivolaru
Hello everyone, I've Postfix setup as a gateway machine (using content_filter, relay_domains and transport_maps). I would like to receive messages for "domain.com", process them with content filter using recipients @domain.com, then at delivery time convert recipient addresses to g.domain.com

Re: Address Rewrite After Content Filter

2009-08-06 Thread Michael Katz
Ralf Hildebrandt wrote: * Michael Katz : Is there a way to rewrite an address after content filtering? Yes. It's even documented in tha amavis install document Since we make a product that is an alternative to amavis we don't check this much, but we will. :-) Thank you, Mike

Re: Postfix won't start when adding additional daemon entries in main.cf

2009-08-06 Thread James Hankins
Here is error message complete Aug 6 10:31:35 host1 postfix[10420]: fatal: /etc/postfix/main.cf, line 31: missing '=' after attribute name: "amavisfeed unix- - n- 2 lmtp-o lmtp_data_done_timeout=1200-o lmtp_send_xforward_command=yes-o disable_

Re: Postfix won't start when adding additional daemon entries in main.cf

2009-08-06 Thread James Hankins
If I do your first line I get host1 postfix[14047]: fatal: /etc/postfix/main.cf, line 34: missing '=' after attribute name: "smtp-amavis unix - - n - 10 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes" It seems

Re: Postfix won't start when adding additional daemon entries in main.cf

2009-08-06 Thread d . hill
Quoting James Hankins : If I do your first line I get host1 postfix[14047]: fatal: /etc/postfix/main.cf, line 34: missing '=' after attribute name: "smtp-amavis unix - - n - 10 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dn

Re: Postfix won't start when adding additional daemon entries in main.cf

2009-08-06 Thread James Hankins
DOH! Thank you! On Aug 6, 2009, at 12:15 PM, d.h...@yournetplus.com wrote: Quoting James Hankins : If I do your first line I get host1 postfix[14047]: fatal: /etc/postfix/main.cf, line 34: missing '=' after attribute name: "smtp-amavis unix - - n - 10 smtp -

Re: Question about address verification in MX2 when primary MX is down...

2009-08-06 Thread Aaron Wolfe
On Thu, Aug 6, 2009 at 8:39 AM, Charles Marcus wrote: > On 8/6/2009, Santiago Romero (srom...@servicom2000.com) wrote: >> By adding the following to my main.cf, I'll check RCPT TO addresses >> against primary MX, except when PRIMARY MX doesn't answer. In that case, >> I'll accept any destination fo

Re: smtp and smtps

2009-08-06 Thread Noel Jones
Eduardo Júnior wrote: So, SMTPS (465/tcp) is deprecated and I can remove this line from my master.cf I actived submission (587/tcp) and I ask: For my experience, this would useful only to users to send messages (a dedicated daemon) and port 25 (other SMTP daemon) to receive mail from others serv

Re: Question about address verification in MX2 when primary MX is down...

2009-08-06 Thread Charles Marcus
On 8/6/2009 12:29 PM, Aaron Wolfe wrote: address_verify_map = btree:/var/lib/postfix/verify address_verify_positive_refresh_time = 14d unverified_recipient_defer_code = 250 >>> You are correct, but this is NOT the recommended way... >>> >>> Don't change the unverified_recipient_defe

Re: confused about authentication/SASL

2009-08-06 Thread /dev/rob0
On Thursday 06 August 2009 01:34:32 Mikael Bak wrote: > Jay G. Scott wrote: > [snip] > > > mynetworks_style = host > > [snip] > > > smtpd_recipient_restrictions = permit_mynetworks, > > permit_sasl_authenticated, reject_unauth_destination > > [snip] > > Hi, > Are you running mutt on the postfix ho

Re: confused about authentication/SASL--taking a backward step

2009-08-06 Thread Jay G. Scott
On Wed, Aug 05, 2009 at 04:28:22PM -0500, Noel Jones wrote: > Jay G. Scott wrote: >> Greetings, >> > > Instructions to test SASL: > http://www.postfix.org/SASL_README.html#server_test [snip] Sigh. Truly, I am a noob. I spent all morning getting the sasl2-sample-[server|client] to finally give

Re: smtp authenticating for outside domain

2009-08-06 Thread /dev/rob0
On Thursday 06 August 2009 08:34:14 Carl Jeptha wrote: > Where is a good place to read up on SASL and Postfix? Please don't top-post. Anyway, your answer was in the quoted part: > On Wed, Aug 5, 2009 at 11:02 AM, Noel Jones > wrote: [snip] > > Get started here: > > http://www.postfix.org/S

Re: confused about authentication/SASL--taking a backward step

2009-08-06 Thread /dev/rob0
On Thursday 06 August 2009 12:55:02 Jay G. Scott wrote: > Sigh. Truly, I am a noob. Try troubleshooting with a regular MUA such as Thunderbird. [snip] > However, this does not work: > > [r...@smail ~]# telnet smail 25 [snip] > I used saslpasswd2 to set up the user, I reset the unix password > to

Re: confused about authentication/SASL--taking a backward step

2009-08-06 Thread Noel Jones
Jay G. Scott wrote: I used this to generate the AUTH PLAIN string: perl -MMIME::Base64 -e 'print encode_base64("\\0test\\0testpass");' too many '\'s use perl -MMIME::Base64 -e \ 'print encode_base64("\0test\0testpass");' AHRlc3QAdGVzdHBhc3M= http://www.postfix.org/SASL_README.html#serve

thanks--RE: confused about sasl; taking a step back

2009-08-06 Thread Jay G. Scott
Yes, I had too many backslashes. Thanks. Now I will get back to the other instructions. Thanks again. j. - Forwarded message from Noel Jones - Date: Thu, 06 Aug 2009 13:30:32 -0500 From: Noel Jones To: "Jay G. Scott" CC: postfix users list Subject: Re: confused about authenticati

Re: smtp and smtps

2009-08-06 Thread Eduardo Júnior
Hi, 2009/8/6 Noel Jones : > Eduardo Júnior wrote: >> >> So, SMTPS (465/tcp) is deprecated and I can remove this line from my >> master.cf >> I actived submission (587/tcp) and I ask: >> >> For my experience, this would useful only to users to send messages (a >> dedicated daemon) and port 25 (oth

Enforcing CRLF line endings

2009-08-06 Thread Michal Ludvig
Hi all, is there any way for postfix to enforce CRLF line endings as required by RFC2822? At the moment it happily accepts Unix-style LF-only lines and I'd like to prevent that. It's only for testing my little project: http://smtp-cli.logix.cz (a command line smtp debugging tool and smtp client).

Re: Enforcing CRLF line endings

2009-08-06 Thread Wietse Venema
Michal Ludvig: > Hi all, > > is there any way for postfix to enforce CRLF line endings as required by > RFC2822? At the moment it happily accepts Unix-style LF-only lines and > I'd like to prevent that. CRLF are required by RFC 2821 (the same is true for its successor and predecessor). That is, e

postfix and amavisd-new on CentOS

2009-08-06 Thread Dave
Hello, I'm trying to get amavisd-new and postfix working on CentOS5. I've got postfix installed and working fine. I've got amavisd installed and working fine, or so i think, no warnings in the logs no syntax errors. When i uncomment the content_filter option in main.cf the system stops deli

Re: postfix and amavisd-new on CentOS

2009-08-06 Thread Noel Jones
Dave wrote: Hello, I'm trying to get amavisd-new and postfix working on CentOS5. I've got postfix installed and working fine. I've got amavisd installed and working fine, or so i think, no warnings in the logs no syntax errors. When i uncomment the content_filter option in main.cf the sys

RE: postfix and amavisd-new on CentOS

2009-08-06 Thread Dave
Hi, Thanks for your reply. I have solved the problem. I commented out receive_override_options in main.cf and that did it. Thanks. Dave. -Original Message- From: Noel Jones [mailto:njo...@megan.vbhcs.org] Sent: Thursday, August 06, 2009 9:36 PM To: dave.meh...@gmail.com; postfix

RE: postfix and amavisd-new on CentOS

2009-08-06 Thread d . hill
Quoting Dave : Hi, Thanks for your reply. I have solved the problem. I commented out receive_override_options in main.cf and that did it. By default, that option is set to an empty value: %postconf -d | grep receive_override_options receive_override_options = Postfix documen

Postfix receives mail for virtual domain on loopback address, but relay access denied on remote connections

2009-08-06 Thread jluros
I'm making good progress getting postfix up and running, but having a persistent issue with a domain configured through ISPConfig. My virtual domain Luros.eu has a catchall address, jlu...@luros.eu which forwards to my gmail account. When I test through telnet to port 25 locally (on the server), t

Re: Postfix receives mail for virtual domain on loopback address, but relay access denied on remote connections

2009-08-06 Thread Magnus Bäck
On Friday, August 07, 2009 at 08:07 CEST, jluros wrote: > I'm making good progress getting postfix up and running, but having > a persistent issue with a domain configured through ISPConfig. My > virtual domain Luros.eu has a catchall address, jlu...@luros.eu which > forwards to my gmail acc