Re: preventing backscatter with virtual_alias_maps

2008-11-20 Thread mouss
D G Teed a écrit : > On Thu, Nov 13, 2008 at 2:14 PM, mouss <[EMAIL PROTECTED] > > wrote: > > > sure, losing mail is bad. but you should reject mail during the smtp > transaction. if your postfix is a lreay server and you can't get the > relay_recipient_maps,

Re: something about maillog

2008-11-20 Thread Victor Duchovni
On Thu, Nov 20, 2008 at 09:32:03PM -0500, Jorge E. Rojas wrote: > hi > > somebody can tell me how (if possible) have a full date (i.e. with the > year) in the maillog ? Use syslog-ng. On Linux systems: destination mail { file("/var/log/mail/$YEAR/$MONTH/$DAY/$HOUR"

Re: Mail stuck in queue

2008-11-20 Thread Sahil Tandon
Joseph L. Casale <[EMAIL PROTECTED]> wrote: > >To clarify, destination MTA != relay, right? According to your logs, > >the problem (lost connection) occurs with the relay on port 24. > > The relay is not being used as I push out to the primary via port 24 which > is not blocked by the ISP. As a

RE: Mail stuck in queue

2008-11-20 Thread Joseph L. Casale
>To clarify, destination MTA != relay, right? According to your logs, >the problem (lost connection) occurs with the relay on port 24. The relay is not being used as I push out to the primary via port 24 which is not blocked by the ISP. As a result, the backup mx communicates directly with the pr

something about maillog

2008-11-20 Thread Jorge E. Rojas
hi somebody can tell me how (if possible) have a full date (i.e. with the year) in the maillog ? thanks in advance jorge e.

Re: Postfix listening on 25, unable to telnet to 25 - my first config

2008-11-20 Thread D G Teed
> Paul Cocker schrieb: > >> > Definitely nothing in between, of that I'm certain. Are there any tools which will give me more information >>> about attempts >>> to connect to a port on a remote host? >>> use tcpdump for that purpose >>> >>> please try >>> >>> $ telnet

RE: emails not arriving "timeout after CONNECT", END-O F-MESSAGE, DATA, EHLO‏

2008-11-20 Thread Martin Vila
> smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destina tion Could it be this line, which as "reject_unauth_destina tion" or is this my email viewer of your cut/paste process? Thanks Olivier, I just tried only: smtpd_recipient_restrictions = permit_mynetworks and got t

preventing backscatter with virtual_alias_maps

2008-11-20 Thread D G Teed
On Thu, Nov 13, 2008 at 2:14 PM, mouss <[EMAIL PROTECTED]> wrote: > > sure, losing mail is bad. but you should reject mail during the smtp > transaction. if your postfix is a lreay server and you can't get the > relay_recipient_maps, then you can use reject_unverified_recipient (only for > selecte

Re: Connection timeout

2008-11-20 Thread Wietse Venema
Wietse Venema: > Rob Kelledy: > > Hi, > > I'm getting timeouts to a particular domain. When testing the > > receiving server manually (telnet) I noticed?there is a long delay > > between the connection starting and the 220 Ready message and if > > anything is transmitted during that time the connec

RE: Connection timeout

2008-11-20 Thread Rob Kelledy
smtp_connect_timeout = 15s Thanks Wietse -Original Message- From: Wietse Venema [mailto:[EMAIL PROTECTED] Sent: Friday, 21 November 2008 10:28 AM To: Rob Kelledy Cc: postfix-users@postfix.org Subject: Re: Connection timeout Rob Kelledy: > Hi, > I'm getting timeouts to a particular domai

Re: Connection timeout

2008-11-20 Thread Wietse Venema
Rob Kelledy: > Hi, > I'm getting timeouts to a particular domain. When testing the > receiving server manually (telnet) I noticed?there is a long delay > between the connection starting and the 220 Ready message and if > anything is transmitted during that time the connection is > terminated. I'm g

RE: Connection timeout

2008-11-20 Thread Rob Kelledy
host -t mx abcm.com.au abcm.com.au mail is handled by 10 mail.voipstra.com.au. telnet mail.voipstra.com.au 25 Trying 203.143.228.24... Connected to s1C18.static.pacific.net.au. Escape character is '^]'. <<<30 second delay>>> 220 mail.voipstra.com.au ESMTP ready -Original Message- From: Da

Re: Connection timeout

2008-11-20 Thread Daniel V. Reinhardt
Here is what I got for that domain: C:\Documents and Settings\dustbunny>tracert abcm.com.au Unable to resolve target system name abcm.com.au. C:\Documents and Settings\dustbunny>ping abcm.com.au Ping request could not find host abcm.com.au. Please check the name and try agai n. C:\Documents and

RE: Connection timeout

2008-11-20 Thread Rob Kelledy
Domain is abcm.com.au Nov 19 09:50:56 dell postfix/qmgr[32698]: 5F318E10097: from=<[EMAIL PROTECTED]>, size=8197, nrcpt=1 (queue active) Nov 19 09:51:17 dell postfix/qmgr[32698]: 5F318E10097: to=<[EMAIL PROTECTED]>, relay=none, delay=153909, status=deferred (delivery temporarily suspended: conn

emails not arriving "timeout after CONNECT", END-OF-ME SSAGE, DATA, EHLO‏

2008-11-20 Thread Martin Vila
Hello guys,I've been strugling with this for more than a week now. The server has 3 postfix instances. 1 for receiving everything (eth0:1), and the other 2 for outgoing emails from 2 different companies (eth0, eth0:2).# cat /var/log/maillog | grep -i "timeout after "[ ... snip ...]Nov 20 14:

Re: Connection timeout

2008-11-20 Thread Daniel V. Reinhardt
- Original Message > From: Rob Kelledy <[EMAIL PROTECTED]> > To: "postfix-users@postfix.org" > Sent: Friday, November 21, 2008 12:36:42 AM > Subject: Connection timeout > > Hi, > I'm getting timeouts to a particular domain. When testing the receiving > server > manually (telnet) I not

Connection timeout

2008-11-20 Thread Rob Kelledy
Hi, I'm getting timeouts to a particular domain. When testing the receiving server manually (telnet) I noticed there is a long delay between the connection starting and the 220 Ready message and if anything is transmitted during that time the connection is terminated. I'm guessing this is some k

Re: Address Verification Header

2008-11-20 Thread Jason Wohlford
On Nov 15, 2008, at 1:36 PM, Noel Jones wrote: Jason Wohlford wrote: 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? Cheers, Jas

Re: Mail stuck in queue

2008-11-20 Thread Sahil Tandon
Joseph L. Casale <[EMAIL PROTECTED]> wrote: > >Does the mail you successfully send via telnet contain the exact same > >text/body as the one stuck in your queue? > > Yea, and upon further investigation, smaller sized mail gets through fine. > The destination MTA is Postfix as well with ASSP in fr

Re: Postfix transports in master.cf

2008-11-20 Thread Wietse Venema
Matt Galloway: > But even if I just make the script write out what it recieves on > stdin, then it doesn't work, so clearly it's not my script... You can easily convince yourself with argv=logger that Postfix properly passes the email message on standard input. This is my last word. Wi

Re: stop accepting mail and clear mailq

2008-11-20 Thread J.P. Trosclair
J.P. Trosclair wrote: J.P. Trosclair wrote: Is there a way to put postfix in state so that it stops accepting mail so that I can clear the queue of all undelivered mail? Rundown of what and why: We are a small company, we have two mail servers (mail1, mail2). Mail1 is our primary server, mai

Re: Can Postfix rewrite envelope sender on relay?

2008-11-20 Thread Magnus Bäck
On Thursday, November 20, 2008 at 23:10 CET, Gary Oberbrunner <[EMAIL PROTECTED]> wrote: > On 11/20/2008 3:18 PM, Magnus Bäck wrote: > > > Do it with a content filter, possibly pipe(8)-based. > > This sounds interesting. What is a pipe-based filter? A filter invoked via pipe(8). > Do you

Re: Can Postfix rewrite envelope sender on relay?

2008-11-20 Thread Gary Oberbrunner
On 11/20/2008 3:18 PM, Magnus Bäck wrote: Do it with a content filter, possibly pipe(8)-based. This sounds interesting. What is a pipe-based filter? Do you mean I run my filter as a normal "simple after-queue content filter" except in my filter I reinject to postfix pipe somehow, rather th

Re: Postfix transports in master.cf

2008-11-20 Thread Matt Galloway
But even if I just make the script write out what it recieves on stdin, then it doesn't work, so clearly it's not my script... I am fairly sure there must be some sort of bug or misconfiguration here somewhere... Matt Sent from my iPod On 20 Nov 2008, at 18:50, [EMAIL PROTECTED] (Wietse V

Re: stop accepting mail and clear mailq

2008-11-20 Thread J.P. Trosclair
J.P. Trosclair wrote: Is there a way to put postfix in state so that it stops accepting mail so that I can clear the queue of all undelivered mail? Rundown of what and why: We are a small company, we have two mail servers (mail1, mail2). Mail1 is our primary server, mail2 pretty much just sit

Re: Can Postfix rewrite envelope sender on relay?

2008-11-20 Thread Magnus Bäck
On Thursday, November 20, 2008 at 21:12 CET, Gary Oberbrunner <[EMAIL PROTECTED]> wrote: > I know this is not Postfix's job, the MUA should do it, but because of > various weird restrictions, I *need* postfix (or something!) to do it. > I need the my mail server (not under my control) will re

Can Postfix rewrite envelope sender on relay?

2008-11-20 Thread Gary Oberbrunner
I know this is not Postfix's job, the MUA should do it, but because of various weird restrictions, I *need* postfix (or something!) to do it. I need the my mail server (not under my control) will reject it. Postfix is my last hope. Is there any way, hackish or not, for me to rewrite the envelo

Re: Postfix transports in master.cf

2008-11-20 Thread Wietse Venema
Matt Galloway: > Hmmm, it just doesn't work for me. So i am using "argv=/usr/bin/script > test" so that it works. I'm sorry to hear that, but this demonstrates that your script has a bug. You can easily convince yourself that the example with argv=logger properly passes the message via standard i

Re: size limitation for id in postfix smtp-client/sasl?

2008-11-20 Thread Brian Evans - Postfix List
Stefan Nehlsen wrote: > Is there a size limitation for id in postfix smtp-client/sasl? > > I am trying to set up sender_dependent_relayhost_maps for > different users on a machine at home. It works fine for one > user (a) but fails for the other (b). > > Nov 20 00:07:03 hub postfix/pickup[25952]: 4

size limitation for id in postfix smtp-client/sasl?

2008-11-20 Thread Stefan Nehlsen
Is there a size limitation for id in postfix smtp-client/sasl? I am trying to set up sender_dependent_relayhost_maps for different users on a machine at home. It works fine for one user (a) but fails for the other (b). Nov 20 00:07:03 hub postfix/pickup[25952]: 4E9686FB47: uid=1003 from= Nov 20 0

Re: Postfix transports in master.cf

2008-11-20 Thread Victor Duchovni
On Thu, Nov 20, 2008 at 04:11:02PM +, Matt Galloway wrote: > Hmmm, it just doesn't work for me. So i am using "argv=/usr/bin/script > test" so that it works. > > The thing to note is that I don't need the envelope sender or recipient > - maybe in the future, but for now, I really don't need i

Re: Postfix transports in master.cf

2008-11-20 Thread Matt Galloway
Hmmm, it just doesn't work for me. So i am using "argv=/usr/bin/script test" so that it works. The thing to note is that I don't need the envelope sender or recipient - maybe in the future, but for now, I really don't need it. Imagine a transport which literally dumped the incoming email to a file

Re: TLS Logging

2008-11-20 Thread Mark Watts
On Thursday 20 November 2008 15:52:56 Victor Duchovni wrote: > On Thu, Nov 20, 2008 at 03:48:32PM +, Mark Watts wrote: > > > The first cipher has no authentication mechanism in the SSL handshake, > > > so you get encryption only, no authentication. The second cipher makes > > > authentication

Re: TLS Logging

2008-11-20 Thread Victor Duchovni
On Thu, Nov 20, 2008 at 03:48:32PM +, Mark Watts wrote: > > The first cipher has no authentication mechanism in the SSL handshake, > > so you get encryption only, no authentication. The second cipher makes > > authentication "possible", but you can still (and typically do) ignore the > > peer

Re: TLS Logging

2008-11-20 Thread Mark Watts
On Thursday 20 November 2008 15:05:50 Victor Duchovni wrote: > On Thu, Nov 20, 2008 at 08:56:04AM +, Mark Watts wrote: > > I did wonder what the difference between ADH-AES256-SHA and AES256-SHA > > was. Both still result in an encrypted connection though, right? > > $ openssl ciphers -v AD

RE: Mail stuck in queue

2008-11-20 Thread Joseph L. Casale
>Does the mail you successfully send via telnet contain the exact same >text/body as the one stuck in your queue? Yea, and upon further investigation, smaller sized mail gets through fine. The destination MTA is Postfix as well with ASSP in front. In order to rule out ASSP I stopped it and reconfi

Re: TLS Logging

2008-11-20 Thread Victor Duchovni
On Thu, Nov 20, 2008 at 08:56:04AM +, Mark Watts wrote: > I did wonder what the difference between ADH-AES256-SHA and AES256-SHA was. > Both still result in an encrypted connection though, right? $ openssl ciphers -v ADH-AES256-SHA:AES256-SHA ADH-AES256-SHA SSLv3 Kx=DH

Re: Postfix transports in master.cf

2008-11-20 Thread Wietse Venema
Matt Galloway: > Hi, > > I've been playing with my own transport in Postfix and I have > successfully managed to get it working using pipe to pipe the mail to my > script. However, I notice it only works when I have something after the > command in the argv line. > > i.e.: > argv=/usr/bin/script

Postfix transports in master.cf

2008-11-20 Thread Matt Galloway
Hi, I've been playing with my own transport in Postfix and I have successfully managed to get it working using pipe to pipe the mail to my script. However, I notice it only works when I have something after the command in the argv line. i.e.: argv=/usr/bin/script This doesn't work, but: argv=/us

Re: Mails Problem (Duplicate mail, missing group mails)

2008-11-20 Thread Wietse Venema
Sripati prasad padhy: > Hi Team, > > I have created an alias account; any mails send to the alias account is > forwarded to the user accounts added in the alias account. > > Since few days duplicate mails are coming from that account created in > hash :/etc/aliases; whenever a mail is sent to tha

Mails Problem (Duplicate mail, missing group mails)

2008-11-20 Thread Sripati prasad padhy
Hi Team, I have created an alias account; any mails send to the alias account is forwarded to the user accounts added in the alias account. Since few days duplicate mails are coming from that account created in hash :/etc/aliases; whenever a mail is sent to that account for mass communi

Fwd: stop accepting mail and clear mailq

2008-11-20 Thread J . P . Trosclair
Begin forwarded message: From: "J.P. Trosclair" <[EMAIL PROTECTED]> Date: November 20, 2008 6:23:06 AM CST To: Jorey Bump <[EMAIL PROTECTED]> Subject: Re: stop accepting mail and clear mailq On Nov 19, 2008, at 10:48 PM, Jorey Bump wrote: J.P. Trosclair wrote, at 11/19/2008 08:14 PM: On N

Re: TLS Logging

2008-11-20 Thread Mark Watts
On Wednesday 19 November 2008 16:29:09 Victor Duchovni wrote: > On Wed, Nov 19, 2008 at 07:23:39AM -0600, Noel Jones wrote: > > Mark Watts wrote: > > >I'm in the process of setting up TLS on a number of servers. > > >I have two servers, both running Postfix, one an smtp client and the > > > other