Re: Relaying mail based on sender address

2008-08-12 Thread Wadeegh Hendricks
Maybe I should clarify what I mean as I dont think I have. If I need all mail coming from a particular address internally to bypass the default relayhost and be sent directly to the internet, how do I do that. For example: my internal domain and network: *foobar.com* all outgoing mail to be relay

Re: "Command died with signal 10" using pipe and a C script

2008-08-12 Thread Jordi Moles Blanco
hi, YOUR PROGRAM crashes, not Postfix. Do not blame the messenger who I know that. I don't want to undermine anyone's work. Actually, what i said was. is there any bad information at all that i'm sending from my script which makes postfix crash?

check_sender_access for mails via uucp

2008-08-12 Thread ram
I use in my main.cf smtpd_recipient_restrictions = check_sender_access regexp:/etc/postfix/sender_transport and in sender_transport I use FILTER to redirect mails as required If a mail is coming in via uucp then this will not work. Can something be done to get it working Thanks Ram

Re: check_sender_access for mails via uucp

2008-08-12 Thread Ralf Hildebrandt
* ram <[EMAIL PROTECTED]>: > I use in my main.cf > > smtpd_recipient_restrictions = > check_sender_access regexp:/etc/postfix/sender_transport > > and in sender_transport I use FILTER to redirect mails as required > > > If a mail is coming in via uucp then this will not work. Can something

How do I retrieve email?

2008-08-12 Thread Meyer, Bruce
I am setting up postfix on a server, that is behind an endian firewall running spamassasin, amavis-new and clamav. I can send email to an account on the mail server, and seeit being accepted in /var/log/maillog, so I presume inbound email is working fine. I have the nostarch book on postfix, r

Re: How do I retrieve email?

2008-08-12 Thread Ralf Hildebrandt
* Meyer, Bruce <[EMAIL PROTECTED]>: > > I am setting up postfix on a server, that is behind an endian firewall > running spamassasin, amavis-new and clamav. > > I can send email to an account on the mail server, and seeit being > accepted in /var/log/maillog, so I presume inbound email is workin

Re: How do I retrieve email?

2008-08-12 Thread Terry Allen
On 12/08/2008, at 8:24 PM, Meyer, Bruce wrote: I am setting up postfix on a server, that is behind an endian firewall running spamassasin, amavis-new and clamav. I can send email to an account on the mail server, and seeit being accepted in /var/log/maillog, so I presume inbound email is

How do I retrieve email?

2008-08-12 Thread Meyer, Bruce
Hopefully this isn't a duplicate post. After 30 minutes or so, I never saw it appear... I have postfix up and running. I can send email to the mail server, and when I tail /var/log/maillog I see it process. What I am at a lost on what to do next is, 'how to I retrieve email form the server?

Re: How do I retrieve email?

2008-08-12 Thread Ralf Hildebrandt
* Meyer, Bruce <[EMAIL PROTECTED]>: > > Hopefully this isn't a duplicate post. After 30 minutes or so, I never saw it > appear... It is :) -- Ralf Hildebrandt ([EMAIL PROTECTED]) [EMAIL PROTECTED] Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.a

postfix/smtpd[19254]: timeout after END-OF-MESSAGE from localhost.localdomain

2008-08-12 Thread Justin Piszcz
Regarding the timeout... Aug 11 19:02:23 p34 postfix/smtpd[19254]: timeout after END-OF-MESSAGE from localhost.localdomain[127.0.0.1] Aug 11 19:02:23 p34 postfix/smtpd[19254]: disconnect from localhost.localdomain[127.0.0.1] # See the following URL for cache_on_demand: # http://www.mail-archive

Re: postfix/smtpd[19254]: timeout after END-OF-MESSAGE from localhost.localdomain

2008-08-12 Thread Wietse Venema
Justin Piszcz: > Regarding the timeout... > Aug 11 19:02:23 p34 postfix/smtpd[19254]: timeout after END-OF-MESSAGE from > localhost.localdomain[127.0.0.1] > Aug 11 19:02:23 p34 postfix/smtpd[19254]: disconnect from > localhost.localdomain[127.0.0.1] That is the SMTP server, the program that RECE

RE: How do I retrieve email?

2008-08-12 Thread Meyer, Bruce
Reading it now! Thanks. Sorry for the double post. Not sure what the delay was. --Bruce -Original Message- From: [EMAIL PROTECTED] on behalf of Ralf Hildebrandt Sent: Tue 8/12/2008 7:27 AM To: postfix-users@postfix.org Subject: Re: How do I retrieve email? * Meyer, Bruce <[EMAIL PROTEC

Re: How do I retrieve email?

2008-08-12 Thread Ralf Hildebrandt
* Meyer, Bruce <[EMAIL PROTECTED]>: > > Reading it now! > Thanks. Sorry for the double post. Not sure what the delay was. We COULD look at the headers, but we are lazy :) -- Ralf Hildebrandt ([EMAIL PROTECTED]) [EMAIL PROTECTED] Postfix - Einrichtung, Betrieb und Wartung Tel. +49

Re: postfix/smtpd[19254]: timeout after END-OF-MESSAGE from localhost.localdomain

2008-08-12 Thread Justin Piszcz
On Tue, 12 Aug 2008, Wietse Venema wrote: Justin Piszcz: Regarding the timeout... Aug 11 19:02:23 p34 postfix/smtpd[19254]: timeout after END-OF-MESSAGE from localhost.localdomain[127.0.0.1] Aug 11 19:02:23 p34 postfix/smtpd[19254]: disconnect from localhost.localdomain[127.0.0.1] That is

Re: postfix/smtpd[19254]: timeout after END-OF-MESSAGE from localhost.localdomain

2008-08-12 Thread Ralf Hildebrandt
* Justin Piszcz <[EMAIL PROTECTED]>: > > > On Tue, 12 Aug 2008, Wietse Venema wrote: > >> Justin Piszcz: >>> Regarding the timeout... >>> Aug 11 19:02:23 p34 postfix/smtpd[19254]: timeout after END-OF-MESSAGE from >>> localhost.localdomain[127.0.0.1] >>> Aug 11 19:02:23 p34 postfix/smtpd[19254]: d

Re: postfix/smtpd[19254]: timeout after END-OF-MESSAGE from localhost.localdomain

2008-08-12 Thread Justin Piszcz
On Tue, 12 Aug 2008, Ralf Hildebrandt wrote: * Justin Piszcz <[EMAIL PROTECTED]>: On Tue, 12 Aug 2008, Wietse Venema wrote: Thanks Wietse, Per http://www.postfix.org/smtpd.8.html Which parameter needs to be tweaked for the smtpd process so these timeouts no longer occur? I am using pos

header_checks FILTER dont work with pickup

2008-08-12 Thread ram
This is related to the previous post I want to send all mails from MAILER-DAEMON to a different server. So I put in the header_checks file /^From: MAILER-DAEMON/ FILTER smtp:host This works fine with mails deivered on smtpd. But for mails delivered via uucp ( pickup ) the FILTER option does no

sender_dependent_relayhost_maps

2008-08-12 Thread Wadeegh Hendricks
I thought I would resend this as it may be old and nobody looking at it, if not and I am just being ignored then my aplogies :-) My scenario is as follows: I have an SMTP server setup to relay all mail to a server on the internet that does virus and SPAM scanning as well as adding the relevant di

Re: postfix/smtpd[19254]: timeout after END-OF-MESSAGE from localhost.localdomain

2008-08-12 Thread Ralf Hildebrandt
* Justin Piszcz <[EMAIL PROTECTED]>: >> What is the program that feeds postfix? >> > > amavisd-new I'd think that amavisd-new may have problems. What does amavisd-new log at a hight log_level? -- Ralf Hildebrandt ([EMAIL PROTECTED]) [EMAIL PROTECTED] Postfix - Einrichtung, Betrieb und

Re: Recipient whitelist

2008-08-12 Thread mleal
Ok Noel. I'll carefully check the docs again. Thanks to your reply. __ Marcus Noel Jones <[EMAIL PROTECTED]> Enviado Por: [EMAIL PROTECTED] 11/08/2008 19:32 Favor responder a postfix users list Para: postfix-users@postfix.org cc: Assunto:Re: Recipient w

srpm mysql devel dependencies Q

2008-08-12 Thread Voytek Eymont
I'm trying to build an RPM from Simon Mudd's postfix-2.5.2-1.src.rpm on Centos 5 with: $ export POSTFIX_MYSQL=1 $ export POSTFIX_PCRE=1 $ export POSTFIX_RBL_MAPS=1 $ export POSTFIX_SASL=2 $ export POSTFIX_TLS=1 it stops with: $ rpmbuild -ba postfix.spec error: Failed build dependencies:

Re: srpm mysql devel dependencies Q

2008-08-12 Thread Pintér Tibor
Voytek Eymont írta: I'm trying to build an RPM from Simon Mudd's postfix-2.5.2-1.src.rpm on Centos 5 with: $ export POSTFIX_MYSQL=1 $ export POSTFIX_PCRE=1 $ export POSTFIX_RBL_MAPS=1 $ export POSTFIX_SASL=2 $ export POSTFIX_TLS=1 it stops with: $ rpmbuild -ba postfix.spec error: Failed bui

Re: srpm mysql devel dependencies Q

2008-08-12 Thread Voytek Eymont
On Tue, August 12, 2008 11:49 pm, Pintér Tibor wrote: >> what am I doing wrong, do I need to 'export POSTFIX_MYSQL_REDHAT=1' >> instead ? > > mysql != MySQL (centos/redhat/fedora version vs mysql.com version) > try with --nodeps thanks, I've tried again with: export POSTFIX_MYSQL=0 export POSTF

migrating main.cf to a new server Q

2008-08-12 Thread Voytek Eymont
I currently have Postfix 2.4.5 running; I'm setting up a new machine that is meant to eventually replace the current system on Centos 5 with Postfix 2.5.2 what the best way to 'migrate' current server settings main.cf and possibly master.cf from the working 2.4.5 server to the new 2.5.2 server ?

Re: migrating main.cf to a new server Q

2008-08-12 Thread Noel Jones
Voytek Eymont wrote: I currently have Postfix 2.4.5 running; I'm setting up a new machine that is meant to eventually replace the current system on Centos 5 with Postfix 2.5.2 what the best way to 'migrate' current server settings main.cf and possibly master.cf from the working 2.4.5 server to

Re: sender_dependent_relayhost_maps

2008-08-12 Thread Noel Jones
Wadeegh Hendricks wrote: I thought I would resend this as it may be old and nobody looking at it, if not and I am just being ignored then my aplogies :-) My scenario is as follows: I have an SMTP server setup to relay all mail to a server on the internet that does virus and SPAM scanning as w

Re: postfix/smtpd[19254]: timeout after END-OF-MESSAGE from localhost.localdomain

2008-08-12 Thread Justin Piszcz
On Tue, 12 Aug 2008, Ralf Hildebrandt wrote: * Justin Piszcz <[EMAIL PROTECTED]>: What is the program that feeds postfix? amavisd-new I'd think that amavisd-new may have problems. What does amavisd-new log at a hight log_level? Of course, it has not recurred since I enabled log_level

Getting a mailing loop on mailman delivery host

2008-08-12 Thread Rob Tanner
Hi, I am hosting the mailman mailing list manager on a machine named socrates.linfield.edu. Any mail addressed to name>@mailman.linfield.edu is forwarded to this box by the two edge servers. But, instead of accepting the mail, postfix is forwarding it of to my primary internal smtp server wh

Re: postfix/smtpd[19254]: timeout after END-OF-MESSAGE from localhost.localdomain

2008-08-12 Thread Ralf Hildebrandt
* Justin Piszcz <[EMAIL PROTECTED]>: >> I'd think that amavisd-new may have problems. What does amavisd-new >> log at a hight log_level? > > Of course, it has not recurred since I enabled log_level 5, I will wait > and then follow-up once it happens again, thanks. The mail causing the problem usu

Mixing Postfix lookup table types (mysql+ db)

2008-08-12 Thread Arnaud JAYET
Hello, I have a question about "mixing" Postfix lookup table types : For a transport lookup table i wish to set up an MySQL lookup table (as primary lookup) and a standard .db lookup table (the text and .db file are periodically generated by a shell script querying the database) as a rescue tabl

Re: Mixing Postfix lookup table types (mysql+ db)

2008-08-12 Thread Noel Jones
Arnaud JAYET wrote: Hello, I have a question about "mixing" Postfix lookup table types : For a transport lookup table i wish to set up an MySQL lookup table (as primary lookup) and a standard .db lookup table (the text and .db file are periodically generated by a shell script querying the datab

recipient restriction on known address?

2008-08-12 Thread carconni
I need to set up a "blacklist" of sorts on our mail server. One of our client servers handles approximately a million emails a day and we've been experiencing some delivery delays. In addition, we occasionally get blocked for SPAM and while getting unlisted is easy, I'd like to find mor

Re: recipient restriction on known address?

2008-08-12 Thread Noel Jones
carconni wrote: I need to set up a "blacklist" of sorts on our mail server. One of our client servers handles approximately a million emails a day and we've been experiencing some delivery delays. In addition, we occasionally get blocked for SPAM and while getting unlisted is easy, I'd like

Re: recipient restriction on known address?

2008-08-12 Thread Wesley
carconni wrote: I need to set up a "blacklist" of sorts on our mail server. One of our client servers handles approximately a million emails a day and we've been experiencing some delivery delays. In addition, we occasionally get blocked for SPAM and while getting unlisted is easy, I'd lik

recipient verification depending on relay (internal vs. external source)

2008-08-12 Thread Jeff
We have an email gateway appliance at the network edge for spam/virus filtering. It relays mail to multiple postfix+imap servers behind the firewall. The back-end servers communicate directly with each other for internal mail accoss our VPN. The appliance will do smtp level recipient verification p

Recipient Address Verification Not Happening

2008-08-12 Thread Michael Katz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Any idea why recipient verifications do not happen with these checks? I am assuming it something with the order of checks but I am not certain. Thank You smtpd_data_restrictions = check_policy_service inet:127.0.0.1:9998 smtpd_recipient_restriction

Re: recipient restriction on known address?

2008-08-12 Thread carconni
Actually Wesley, it does. You see, if you continue to send undeliverable mail to an ISP like Yahoo, you can get flagged. See here: http://help.yahoo.com/l/us/yahoo/mail/postmaster/ postmaster-01.html & http://help.yahoo.com/l/us/yahoo/mail/postmaster/ postmaster-31.html. If you send to to

Re: recipient verification depending on relay (internal vs. external source)

2008-08-12 Thread Noel Jones
Jeff wrote: We have an email gateway appliance at the network edge for spam/virus filtering. It relays mail to multiple postfix+imap servers behind the firewall. The back-end servers communicate directly with each other for internal mail accoss our VPN. The appliance will do smtp level recipient

Re: Recipient Address Verification Not Happening

2008-08-12 Thread Noel Jones
Michael Katz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Any idea why recipient verifications do not happen with these checks? I am assuming it something with the order of checks but I am not certain. Thank You smtpd_data_restrictions = check_policy_service inet:127.0.0.1:9998 smtpd

Re: postfix/smtpd[19254]: timeout after END-OF-MESSAGE from localhost.localdomain

2008-08-12 Thread Justin Piszcz
On Tue, 12 Aug 2008, Ralf Hildebrandt wrote: I'd think that amavisd-new may have problems. What does amavisd-new log at a hight log_level? Of course, it has not recurred since I enabled log_level 5, I will wait and then follow-up once it happens again, thanks. The mail causing the problem

Re: recipient restriction on known address?

2008-08-12 Thread Wesley
carconni wrote: Actually Wesley, it does. You see, if you continue to send undeliverable mail to an ISP like Yahoo, you can get flagged. See here: http://help.yahoo.com/l/us/yahoo/mail/postmaster/postmaster-01.html & http://help.yahoo.com/l/us/yahoo/mail/postmaster/postmaster-31.html. If y

Re: Getting a mailing loop on mailman delivery host

2008-08-12 Thread Rob Tanner
Problem partially solved. The transport map was "* smtp:smtp.linfield.edu" and so everything was immediately relayed to that server and it, in turn,sent it right back. If I remove the transport entry in main.cf, the mail gets delivered to mailman but when mailman responds, postfix doesn't see

Re: Getting a mailing loop on mailman delivery host

2008-08-12 Thread Noel Jones
Rob Tanner wrote: Problem partially solved. The transport map was "* smtp:smtp.linfield.edu" and so everything was immediately relayed to that server and it, in turn,sent it right back. If I remove the transport entry in main.cf, the mail gets delivered to mailman but when mailman responds,

Re: mail stuck in mailq q

2008-08-12 Thread Voytek Eymont
On Mon, August 11, 2008 11:50 am, Sahil Tandon wrote: >> # mailq >> -Queue ID- --Size-- Arrival Time -Sender/Recipient--- >> 119B8B44871 2035 Tue Aug 5 12:56:53 [EMAIL PROTECTED] >> (Host or domain name not found. Name service error for >> name=meriden.nsw.edu.au type=MX: Host n

Re: Getting a mailing loop on mailman delivery host

2008-08-12 Thread Rob Tanner
On 8/12/08 2:50 PM, Noel Jones wrote: Rob Tanner wrote: Problem partially solved. The transport map was "* smtp:smtp.linfield.edu" and so everything was immediately relayed to that server and it, in turn,sent it right back. If I remove the transport entry in main.cf, the mail gets delivere

Re: postfix/smtpd[19254]: timeout after END-OF-MESSAGE from localhost.localdomain

2008-08-12 Thread Mark Martinec
Justin, > Aug 11 19:02:23 p34 postfix/smtpd[19254]: timeout after END-OF-MESSAGE from > localhost.localdomain[127.0.0.1] > > # See the following URL for cache_on_demand: > # > http://www.mail-archive.com/[EMAIL PROTECTED]/msg11500.html > smtp_connection_cache_on_demand = no You were on the right

Re: Auto blacklist for repeat offenders

2008-08-12 Thread DJ Lucas
DJ Lucas wrote: Good idea or bad? Thanks for the responses. General consensus sounds not such a good idea...I'll leave it behind. Thanks again. -- DJ Lucas -- This message has been scanned for viruses and dangerous content, and is believed to be clean.

postfix via cyberoam

2008-08-12 Thread Vikas Rawal
I use postfix on my laptop to send mail using gmail's smtp servers. The laptop runs ubuntu 8.04. I shall be grateful if I could get help in resolving the following two problems. 1. The setup works well when used from home where I do not have a proxy server. However, in my office, I have to work t

Re: postfix via cyberoam

2008-08-12 Thread Noel Jones
Vikas Rawal wrote: I use postfix on my laptop to send mail using gmail's smtp servers. The laptop runs ubuntu 8.04. I shall be grateful if I could get help in resolving the following two problems. 1. The setup works well when used from home where I do not have a proxy server. However, in my

Tarpit on

2008-08-12 Thread Adrian Overbury
I know that tarpitting in Postfix is looked down upon in some circles, but I've got a security measure I want t implement on my Postfix servers that I've been authorised to do *only* if I can make Postfix tarpit that session, not simply terminate it. I want to do sender_login_mismastch checkin

Outbound rate throttling

2008-08-12 Thread MacShane, Tracy
I realise this has been covered before, but I'm having a problem with getting outbound mail to a destination domain. The ISP in question has an interesting policy of refusing messages sent to a single email address in excess of 30/min. Their servers also go on and offline at random intervals, due t

About maildir

2008-08-12 Thread Ismail OZATAY
Hello all, I am using maildir with postfix. I have to copy lots of e-mail from a user's inbox to another. I am trying to copy all mails in cur and new folder to another but after this action inbox does not work. How can i transfrer these mails. Thanks ismail

Apparent buffer overflow from huge headers

2008-08-12 Thread Robert Cohen
Ive recently hit what appears to be a bug in postfix. But theres no obvious bug reporting mechanism on the web page. So I'll start by describing it here. If theres a better bug reporting mechanism, please let me know. I would have sent it to postfix-devel but the web page specificly says its not f