Can I talk to gmail?

2009-10-21 Thread zch.open
Hi everybody! I'm a new user of postfix. Now I have a problem about talking to gmail. I work in a small company, and my computer's os is debian on which i installed postfix. My ip address is an inner ip address and It's seems there is only one outer ip address for my whole company. And I get

Re: run external command when new mail arrives

2009-10-21 Thread rihad
Geert Hendrickx wrote: On Wed, Oct 21, 2009 at 10:20:50AM +0500, rihad wrote: One more thing, please: after myprog has done its job, how can I pass the original message back to postfix so it does whatever should be done after myprog is finished (like delivering the message with virtual(8))?

Re: Can I talk to gmail?

2009-10-21 Thread Stan Hoeppner
zch.open put forth on 10/21/2009 1:01 AM: Hi everybody! I'm a new user of postfix. Now I have a problem about talking to gmail. Maybe you should start by telling us exactly what it is you want to do/accomplish with Postfix, on Debian, inside your small company, from a dynamic IP address.

Re: Can I talk to gmail?

2009-10-21 Thread Eero Volotinen
zch.open kirjoitti: Hi everybody! I'm a new user of postfix. Now I have a problem about talking to gmail. I work in a small company, and my computer's os is debian on which i installed postfix. My ip address is an inner ip address and It's seems there is only one outer ip address for my

Re: Re: Can I talk to gmail?

2009-10-21 Thread zch.open
Thank you for your quick reply, stan! I think I failed to express my thought -_-! What I'm going to accomplish is to build a mail server in my Intranet using postfix. And I hope this mail server can talk to gmail or other e-mail server on the Internet. So my co-workers can use my mail server.

Re: run external command when new mail arrives

2009-10-21 Thread Geert Hendrickx
On Wed, Oct 21, 2009 at 11:04:44AM +0500, rihad wrote: in the myprog shell script, after it has done its job, how to pass control to virtual(8)? Something like echo OK virtual? You're talking to a postfix newbie facing too close a deadline, please bear with me ;-) You can't. Postfix has a

Can I talk to gmail?

2009-10-21 Thread Stan Hoeppner
zch.open put forth on 10/21/2009 1:45 AM: Thank you for your quick reply, stan! I think I failed to express my thought -_-! What I'm going to accomplish is to build a mail server in my Intranet using postfix. And I hope this mail server can talk to gmail or other e-mail server on the

Postfix Sender Verify

2009-10-21 Thread Postflick
Hi We're recently enabled Postfix Sender Verify on our mail filtering gateway. This has worked quite well, however Postfix keeps calling back to mailservers using a non-fully qualified address, e.g. from=postmaster. This then sets off spam checks on that mailserver it's calling back to,

Re: Postfix Sender Verify

2009-10-21 Thread Ralf Hildebrandt
* Postflick chris.im...@abeta.co.uk: Hi We're recently enabled Postfix Sender Verify on our mail filtering gateway. This has worked quite well, however Postfix keeps calling back to mailservers using a non-fully qualified address, e.g. from=postmaster. Because you configured it that

Re: Postfix Sender Verify

2009-10-21 Thread Postflick
Hi Ralf Where would these parameters be configured. I have not told it to use postmaster, however, using postconf, it does return that as the address; u...@spam {uk} [11:56:26] /etc/postfix: postconf -d address_verify_sender address_verify_sender = postmaster I can't see any entries within

Re: Postfix Sender Verify

2009-10-21 Thread Ralf Hildebrandt
* Postflick chris.im...@abeta.co.uk: Hi Ralf Where would these parameters be configured. It'Äs hard to tell, it depends on other settings! I have not told it to use postmaster, however, using postconf, it does return that as the address; u...@spam {uk} [11:56:26] /etc/postfix:

RE: Postfix Sender Verify

2009-10-21 Thread Chris Imrie
Hi Ralf Here's the output from 'postconf -n', we have the Sender Verify disabled currently while we get the address_verify_sender configured. address_verify_map = btree:/etc/postfix/verified_senders address_verify_negative_cache = no alias_database = hash:/etc/aliases alias_maps =

Re: Postfix Sender Verify

2009-10-21 Thread Ralf Hildebrandt
* Chris Imrie chris.im...@abeta.co.uk: Hi Ralf Here's the output from 'postconf -n', we have the Sender Verify disabled currently while we get the address_verify_sender configured. address_verify_map = btree:/etc/postfix/verified_senders address_verify_negative_cache = no alias_database

RE: Postfix Sender Verify

2009-10-21 Thread Chris Imrie
Hi Ralf Your help is much appreciated, I have modified the local_recipient_maps, and have modified the mydestination to omit the $mydomain as that was an error on my part. The implementation of; Address_verify_sender = postmas...@domain.co.uk Has worked correctly, and we're now verifying

Re: excessive recursion (max 50)

2009-10-21 Thread Wietse Venema
Alberto Lepe: host mail.server_old.com[101.101.101.101] said: 554 5.0.0 rewrite: excessive recursion (max 50), ruleset canonify That is not a POSTFIX error message. Wietse

Re: How to get a more human-friendly quota bounce message

2009-10-21 Thread Wietse Venema
Russell Jones: I have Postfix 2.3.3 installed, and am using standard file system quotas for users. Whenever a user receives a message and the message cannot be delivered to them due to being over quota, the following bounce messages is sent back: russell-example@server2.example.com

Accept null HELO/EHLO

2009-10-21 Thread ram
A lotus notes server of our clients in hugely misconfigured to send just a empty HELO. And we are supposed to relay mails for this client. I know getting the lotus admin to set his MTA is the right thing , but we for now I want to accept the null HELO how do I do this ? I already have

Re: Accept null HELO/EHLO

2009-10-21 Thread Ralf Hildebrandt
* ram r...@netcore.co.in: A lotus notes server of our clients in hugely misconfigured to send just a empty HELO. And we are supposed to relay mails for this client. I know getting the lotus admin to set his MTA is the right thing , but we for now I want to accept the null HELO how do I

Re: Accept null HELO/EHLO

2009-10-21 Thread Noel Jones
On 10/21/2009 7:44 AM, ram wrote: A lotus notes server of our clients in hugely misconfigured to send just a empty HELO. And we are supposed to relay mails for this client. I know getting the lotus admin to set his MTA is the right thing , but we for now I want to accept the null HELO how do I

Re: Accept null HELO/EHLO

2009-10-21 Thread Victoriano Giralt
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On 21/10/09 15:07, Wietse Venema wrote: 1) A baseball bat, and a strong WHACK over the idiot's head. I like te concept. Would you consider stop working on SBTP[1] and do SBBBWTP[2]? ;) 2) Changes to Postfix source code so that it accepts bad

clarity

2009-10-21 Thread Oliver Block
Hello everyone, these days you can read dozens of articles that implitely claim that the following code will produce more than one mail message at a time if used by a malicous user. I doubt that it is true, but I'd like to ask here, because you know your mta better than I. The c code to access

Re: How to get a more human-friendly quota bounce message

2009-10-21 Thread Sahil Tandon
On Oct 20, 2009, at 11:52 PM, Russell Jones rjo...@eggycrew.com wrote: Aw. That deserves a sad face :-( . I was hoping, since you can edit bounce.cf to say what you would like, you could also edit the actual system error message. Well that is what Postfix is doing: simply acting as a

Re: run external command when new mail arrives

2009-10-21 Thread rihad
Geert Hendrickx wrote: On Wed, Oct 21, 2009 at 11:04:44AM +0500, rihad wrote: in the myprog shell script, after it has done its job, how to pass control to virtual(8)? Something like echo OK virtual? You're talking to a postfix newbie facing too close a deadline, please bear with me ;-) You

Re: run external command when new mail arrives

2009-10-21 Thread Geert Hendrickx
On Wed, Oct 21, 2009 at 06:52:21PM +0500, rihad wrote: Geert Hendrickx wrote: In your case (SMS notifications) however, I would keep things simple and not try to integrate it so tightly into the delivery process, but just fork your incoming mails to two transports: virtual for actual delivery

Re: run external command when new mail arrives

2009-10-21 Thread rihad
Geert Hendrickx wrote: On Wed, Oct 21, 2009 at 06:52:21PM +0500, rihad wrote: Geert Hendrickx wrote: In your case (SMS notifications) however, I would keep things simple and not try to integrate it so tightly into the delivery process, but just fork your incoming mails to two transports:

Re: outgoing spam

2009-10-21 Thread Peter Blair
On Tue, Oct 20, 2009 at 4:40 AM, Martin Schiøtz mali...@gmail.com wrote: Can I do any outgoing spam checks with postfix or I'm forced to install lots of Amavis, spamassassin, etc. software to do that job. I'm sorry to tell you that blocking outbound spam is at least harder than blocking

Re: clarity

2009-10-21 Thread Oliver Block
Wietse Venema schrieb: Oliver Block: Hello everyone, these days you can read dozens of articles that implitely claim that the following code will produce more than one mail message at a time if used by a malicous user. I doubt that it is true, but I'd like to ask here, because you know

Re: clarity

2009-10-21 Thread Wietse Venema
Oliver Block: Wietse Venema schrieb: Oliver Block: Hello everyone, these days you can read dozens of articles that implitely claim that the following code will produce more than one mail message at a time if used by a malicous user. I doubt that it is true, but I'd like to

Re: clarity

2009-10-21 Thread Oliver Block
Wietse Venema schrieb: That depends on how the Postfix sendmail command is invoked, and you failed to supply that information. If invoked as sendmail -bs, then the . SEPARATES messages as defined in the SMTP protocol. If invoked as sendmail -i, then the . becomes part of the message.

Transport - Can Postfix do this?

2009-10-21 Thread Zachary Burns
sense? Is it possible? Zack __ Information from ESET NOD32 Antivirus, version of virus signature database 4529 (20091021) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: Transport - Can Postfix do this?

2009-10-21 Thread Noel Jones
On 10/21/2009 10:20 AM, Zachary Burns wrote: I've received a strange request from management and I'm determined to make it workI'm obviously running Postfix (along with ISPConfig to help manage it with virtual domains on Ubuntu Linux), here's what they'd like to do. 1.) Keep existing

Re: Postfix Sender Verify

2009-10-21 Thread Charles Marcus
On 10/21/2009, Chris Imrie (chris.im...@abeta.co.uk) wrote: Has worked correctly, and we're now verifying emails as they come in. Hopefully you aren't doing this for all mail? If so, you will very likely end up being on different blacklists for abusing other people's servers, especially if yuou

How Can I Wipe Out Emails From Specific Sender

2009-10-21 Thread wiskbroom
OK, now more.  Apparently there is a problem with one of my users who is constantly being spammed by a specific remote sender.  The remote senders email is always the same and somehow gets bounced for days in between my postfix server and my exchange bridgehead.  What can I do to just delete

RE: Postfix Sender Verify

2009-10-21 Thread Chris Imrie
Hi Charles It checks to verify the sender once, then caches the result in a database, so mail servers aren't hassled more than once per email address verification. Regards Chris -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On

Re: Postfix Sender Verify

2009-10-21 Thread Charles Marcus
On 10/21/2009, Chris Imrie (chris.im...@abeta.co.uk) wrote: It checks to verify the sender once, then caches the result in a database, so mail servers aren't hassled more than once per email address verification. Maybe I'm wrong, but I think this could still get you blacklisted...

Re: Postfix Sender Verify

2009-10-21 Thread Mark Goodge
Charles Marcus wrote: On 10/21/2009, Chris Imrie (chris.im...@abeta.co.uk) wrote: It checks to verify the sender once, then caches the result in a database, so mail servers aren't hassled more than once per email address verification. Maybe I'm wrong, but I think this could still get you

Re: Postfix Sender Verify

2009-10-21 Thread Ralf Hildebrandt
* Mark Goodge m...@good-stuff.co.uk: I agree. Sender verification has its uses, but it is *not* suitable for use as an anti-spam tool on inbound email. At least one major webmail provider is known to blacklist hosts that employ it excessively. So use it selectively only. -- Ralf Hildebrandt

RE: How Can I Wipe Out Emails From Specific Sender

2009-10-21 Thread Gary Smith
OK, now more.  Apparently there is a problem with one of my users who is constantly being spammed by a specific remote sender.  The remote senders email is always the same and somehow gets bounced for days in between my postfix server and my exchange bridgehead.  What can I do to just

RE: How Can I Wipe Out Emails From Specific Sender

2009-10-21 Thread Gary Smith
But this checks the recipient, not the sender. Good catch. I didn't scroll down far enough in my main.cf. For some reason I'm using the same access file for both. I need to fix that. smtpd_recipient_restrictions = hash:/etc/postfix/custom/access, permit_mynetworks,

Re: How Can I Wipe Out Emails From Specific Sender

2009-10-21 Thread Ralf Hildebrandt
* Gary Smith gary.sm...@holdstead.com: smtpd_recipient_restrictions = hash:/etc/postfix/custom/access, permit_mynetworks, reject_unknown_sender_domain, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client rhsbl.ahbl.org,

RE: Postfix 2.6.x slow - Eric? Update?

2009-10-21 Thread Eric Vaughn
We suspect a few things. It seems to be resolved now. Concurrency rates were greatly increased during the last test. 1) Postfix 2.6 allows for a higher per process limit. The OS ulimit by default, may not necessarily support this. The postfix processes were running out of file descriptors.

Re: How Can I Wipe Out Emails From Specific Sender

2009-10-21 Thread Paul Beard
On Oct 21, 2009, at 8:50 AM, wiskbr...@hotmail.com wrote: OK, now more. Apparently there is a problem with one of my users who is constantly being spammed by a specific remote sender. The remote senders email is always the same and somehow gets bounced for days in between my postfix

Re: Sender/Client access

2009-10-21 Thread MySQL Student
Hi, I thought I understood how to block a specific domain from being able to send mail to users on my server, but I must be doing something wrong. In main.cf I have: check_sender_access hash:/etc/postfix/sender_access, check_client_access hash:/etc/postfix/client_access among others, in

Re: Postfix 2.6.x slow - Eric? Update?

2009-10-21 Thread Victor Duchovni
On Wed, Oct 21, 2009 at 09:34:50AM -0700, Eric Vaughn wrote: We suspect a few things. It seems to be resolved now. Concurrency rates were greatly increased during the last test. 1) Postfix 2.6 allows for a higher per process limit. The OS ulimit by default, may not necessarily support

one domain and 2 mail servers

2009-10-21 Thread K bharathan
hi all i've to keep two postfix mail server; one at head office and another at regional office; both users will be using example.com domain; head office mail server has got hostname/ mx/rdns etc..in the public dns; head office has got seperate internet connection the regional office has got

Postfix gateway question

2009-10-21 Thread Jim Rupprecht
I'm running postfix as a mail gateway for my campus. I want to direct all inbound SMTP traffic from the world through the gateway systems. There are about 30 mail systems on campus... one large central system which handles 99 percent of all mail and 29 small mail systems that either exist for a

Re: run external command when new mail arrives

2009-10-21 Thread rihad
rihad wrote: We have two maps: virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf virtual_maps = mysql:/etc/postfix/mysql-virtual.cf /etc/postfix/mysql-virtual-maps.cf: user = postfix password = c00lpass dbname = mail table = users select_field = maildir where_field = email

Bypassing checks for postmaster/abuse/other accounts

2009-10-21 Thread Gary Smith
I'm implementing grey listing and a few RBL's on our relays. The problem is when our sending users get blacklisted on their email or something happens in which they still need to email us, we would like to be able to bypass the grey listing and possibly the RBL's. I would like to do this for

Re: Postfix gateway question

2009-10-21 Thread Victor Duchovni
On Wed, Oct 21, 2009 at 12:27:57PM -0500, Jim Rupprecht wrote: relay_recipient_maps = proxy:ldap:/postfix/etc/ldap_lookup.cf Change to: relay_recipient_maps = proxy:ldap:/postfix/etc/ldap_lookup.cf, hash:/etc/postfix/non-ldap-relay-recipients In that table:

Re: run external command when new mail arrives

2009-10-21 Thread Wietse Venema
rihad: [ Charset ISO-8859-1 unsupported, converting... ] rihad wrote: We have two maps: virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf virtual_maps = mysql:/etc/postfix/mysql-virtual.cf /etc/postfix/mysql-virtual-maps.cf: user = postfix password = c00lpass

Re: Bypassing checks for postmaster/abuse/other accounts

2009-10-21 Thread Wietse Venema
Gary Smith: I'm implementing grey listing and a few RBL's on our relays. The problem is when our sending users get blacklisted on their email or something happens in which they still need to email us, we would like to be able to bypass the grey listing and possibly the RBL's. I would like

RE: Bypassing checks for postmaster/abuse/other accounts

2009-10-21 Thread Gary Smith
/etc/postfix/main.cf smtpd_recipient_restrictions = ... reject_unauth_destination check_recipient_access hash:/etc/postfix/recipient_whitelist ...greylisting here... And put address OK in the whitelist. I'll give that a try. I think the problem that I

Re: Sender/Client access

2009-10-21 Thread Magnus Bäck
On Wednesday, October 21, 2009 at 18:49 CEST, MySQL Student mysqlstud...@gmail.com wrote: This syntax requires that smtpd_access_maps IS NOT listed in parent_domain_matches_subdomains. If you stick to the default value, drop the initial dot in .example.com to match example.com and

Re: run external command when new mail arrives

2009-10-21 Thread Magnus Bäck
On Wednesday, October 21, 2009 at 19:43 CEST, rihad ri...@mail.ru wrote: OK here's how far I've gone: master.cf: smsnotif unix - n n - - pipe flags=DRhu user=vmail argv=/root/smsnotif ${recipient} /root/smsnotif: #!/bin/sh echo $@

Re: Maildir creation problem

2009-10-21 Thread mouss
suomi a écrit : Hi listers maildir creation problem: Oct 20 10:36:43 myhost postfix/virtual[10041]: warning: maildir access problem for UID/GID=89/89: create maildir file /data/postfix/maildrop//mydomain/anax/tmp/1256027803.P10041.myhost.mydomain.com: Permission denied Oct 20 10:36:43

Re: Accept null HELO/EHLO

2009-10-21 Thread mouss
ram a écrit : A lotus notes server of our clients in hugely misconfigured to send just a empty HELO. And we are supposed to relay mails for this client. I know getting the lotus admin to set his MTA is the right thing , but we for now I want to accept the null HELO how do I do this ? I

Re: clarity

2009-10-21 Thread mouss
Oliver Block a écrit : Wietse Venema schrieb: That depends on how the Postfix sendmail command is invoked, and you failed to supply that information. If invoked as sendmail -bs, then the . SEPARATES messages as defined in the SMTP protocol. If invoked as sendmail -i, then the . becomes

Re: run external command when new mail arrives

2009-10-21 Thread Victor Duchovni
On Wed, Oct 21, 2009 at 10:34:19PM +0200, Magnus B?ck wrote: SELECT address, '%...@sms.example.com' FROM table WHERE column = '%s' Note, this pulls '%u' from the localpart of the lookup address (%s). If the lookup result does not always have the same localpart, and you want the localpart of

Re: clarity

2009-10-21 Thread Wietse Venema
mouss: Oliver Block a ?crit : Wietse Venema schrieb: That depends on how the Postfix sendmail command is invoked, and you failed to supply that information. If invoked as sendmail -bs, then the . SEPARATES messages as defined in the SMTP protocol. If invoked as sendmail -i, then

Re: Using different CA for smtpd on port 25 on and port 587

2009-10-21 Thread Roland Dirlewanger
Victor, Thanks a lot for your reply. Let me answer your questions. On Tue, Oct 20, 2009 at 10:25:20PM +0200, Roland Dirlewanger wrote: I would like to set up TLS on our mail server the following way : * connections to port 25 may use TLS. If TLS is used, our server should

How to defermessages, that fails to deliver to local script?

2009-10-21 Thread devel anaconda
Hi everybody! I have installed postfix-2.5.6 system on my server and I have a question. There is one alias, that delivers messages to local bash script via pipe: user: |/my/script.sh And I want to have behaviour, when script fails (for some reasons) and such messages should be deferred, not

Re: clarity

2009-10-21 Thread Oliver Block
mouss schrieb: the user can simply send any messages he wants with a tcp connection. so what's the problem? A problem arises when an antrusted user is enabled to send any message he wants over that tcp connection. Imagine you create a cgi script that relies on the code in my earlier

Re: Postfix Sender Verify

2009-10-21 Thread Jacqui Caren-home
Ralf Hildebrandt wrote: * Mark Goodge m...@good-stuff.co.uk: I agree. Sender verification has its uses, but it is *not* suitable for use as an anti-spam tool on inbound email. At least one major webmail provider is known to blacklist hosts that employ it excessively. So use it selectively

Re: How to defermessages, that fails to deliver to local script?

2009-10-21 Thread Wietse Venema
devel anaconda: Hi everybody! I have installed postfix-2.5.6 system on my server and I have a question. There is one alias, that delivers messages to local bash script via pipe: user: |/my/script.sh And I want to have behaviour, when script fails (for some reasons) and such messages

postfix rejecting helo on submission port

2009-10-21 Thread johnea
Hello, Earlier this year I split submissions from inbound smtp. This has yielded a great improvement in authenticating users and allowing more aggressive smtp rejection. However I had trouble for the first time today configuring a client for the submission port. Mail from this client is

postfix and queues

2009-10-21 Thread Alejandro Esteban Galvez
Hi! Somebody can tell me where postfix save the queues bye -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar

Re: postfix and queues

2009-10-21 Thread Wietse Venema
Alejandro Esteban Galvez: Hi! Somebody can tell me where postfix save the queues http://www.postfix.org/OVERVIEW.html

Re: postfix rejecting helo on submission port

2009-10-21 Thread Sahil Tandon
On Wed, 21 Oct 2009, johnea wrote: However I had trouble for the first time today configuring a client for the submission port. Mail from this client is rejected with: Oct 21 13:11:31 atom postfix/smtpd[8849]: NOQUEUE: reject: RCPT from x[aa.bb.cc.dd]: 504 5.5.2 johnealaptop: Helo

Re: postfix rejecting helo on submission port

2009-10-21 Thread johnea
On 10/21/09 17:47, Sahil Tandon wrote: On Wed, 21 Oct 2009, johnea wrote: Generally, the output of 'postconf -n' is preferred in lieu of snippets or entire main.cf dumps. Next time, exclude the comments. :) Will do, thank you for those tips What ever you decide, just make sure to use

Re: postfix rejecting helo on submission port

2009-10-21 Thread Sahil Tandon
On Wed, 21 Oct 2009, johnea wrote: OT?: I commented out the: # -o milter_macro_daemon_name=ORIGINATING since this wasn't a listed value for this parameter in the docs, and I wasn't sure what that line was doing. If you do not use milters, then you can safely ignore this. The

Re: How to defermessages, that fails to deliver to local script?

2009-10-21 Thread devel anaconda
21.10.09, 19:30, Wietse Venema wie...@porcupine.org: devel anaconda: Hi everybody! I have installed postfix-2.5.6 system on my server and I have a question. There is one alias, that delivers messages to local bash script via pipe: user: |/my/script.sh And I want to have