Re: postfix relay - command line not working

2009-10-02 Thread gc
Paul, "This is getting a bit off-topic as regards postfix, being more to do with shell commands and sysadmin skills. " Almost, couple more days and I'll be done with it, lol "That result means your command shell doesn't know where postconf is. Try: 'locate postconf' to find it. Then edit your

Re: postfix relay - command line not working

2009-10-02 Thread Paul Beard
. On Oct 2, 2009, at 8:32 PM, "gc" wrote: ok so I am trying out this relay to another server via : http://www.howtoforge.com/postfix_relaying_through_another_mailserver but when I enter the first line of code: postconf -e 'relayhost = smtp.example.com ' the return I get, not a new line,

Re: postfix relay - command line not working

2009-10-02 Thread Eero Volotinen
gc kirjoitti: ok so I am trying out this relay to another server via : http://www.howtoforge.com/postfix_relaying_through_another_mailserver but when I enter the first line of code: postconf -e 'relayhost = smtp.example.com' the return I get, not a new line, but: bash: postconf: command not

postfix relay - command line not working

2009-10-02 Thread gc
ok so I am trying out this relay to another server via : http://www.howtoforge.com/postfix_relaying_through_another_mailserver but when I enter the first line of code: postconf -e 'relayhost = smtp.example.com' the return I get, not a new line, but: bash: postconf: command not found am i in the

Re: NOQUEUE: reject: RCPT from unknown

2009-10-02 Thread Barney Desmond
2009/10/3 Jon L. Miller : >  NOQUEUE: reject: RCPT from unknown[203.153.242.20]: 450 4.1.1 cp.org.au>: Recipient address rejected: User unknown in local recipient > table; from= to= @pcp.org.au> proto=ESMTP helo= > > As I happen to know the users at pcp.org.au the user yvonne does not have > an ad

NOQUEUE: reject: RCPT from unknown

2009-10-02 Thread Jon L. Miller
I'm seeing a lot of these messages in my logs and would like to know what this is about. Ex: NOQUEUE: reject: RCPT from unknown[203.153.242.20]: 450 4.1.1 : Recipient address rejected: User unknown in local recipient table; from= to= proto=ESMTP helo= As I happen to know the users at pcp.org.au t

Re: tcp table implementation help

2009-10-02 Thread Wietse Venema
Wietse Venema: > Charles Account: > > > > Hi, > > > > I have been asked to see if we can streamline the events by using > > tcp interface instead ldap. > > I've read the man tcp_table page and the protocol is pretty straightforward. > > I was unable to find any references on implementation detail

Re: tcp table implementation help

2009-10-02 Thread Wietse Venema
Charles Account: > > Hi, > > I have been asked to see if we can streamline the events by using > tcp interface instead ldap. > I've read the man tcp_table page and the protocol is pretty straightforward. > I was unable to find any references on implementation details nor examples. > Does anyone h

tcp table implementation help

2009-10-02 Thread Charles Account
Hi, I have been asked to see if we can streamline the events by using tcp interface instead ldap. I've read the man tcp_table page and the protocol is pretty straightforward. I was unable to find any references on implementation details nor examples. Does anyone have any 'tcp table implementatio

Re: content_filter for outbound messages

2009-10-02 Thread mouss
Darvin Denmian wrote: > mouss, > > as you said , if I use content_filter=3Dfilter:localhost: > and my filter is able to reinject the message in postfix queue, > Postfix will check inbound and outbound messages, right? > yes. by default, postfix has no inbound vs outbound. _you_ tell postfix what

Re: check_recipient_access multiple RCPT TO

2009-10-02 Thread Noel Jones
On 10/2/2009 3:59 PM, K K wrote: Hi all, are there any possibilities to check multiple recipients based on check_recipient_access restriction ? I mean, I would like to reject mails from concrete sender to(concrete) multiple recipients, for example sent mail from b...@example.com

Re: check_recipient_access multiple RCPT TO

2009-10-02 Thread Wietse Venema
K K: > Hi all, > > are there any possibilities to check multiple recipients based on > check_recipient_access restriction ? As documented, smtpd_recipient_strictions is invoked once for each RCPT TO command. If you allow X to send email to A or B but disallow multiple recipients, then X can eas

check_recipient_access multiple RCPT TO

2009-10-02 Thread K K
Hi all, are there any possibilities to check multiple recipients based on check_recipient_access restriction ? I mean, I would like to reject mails from concrete sender to(concrete) multiple recipients, for example sent mail from b...@example.com to j...@example.com copy to e...@example.com will b

Re: Are my basic definitions wrong? ip blocks in hash for check_sender_access

2009-10-02 Thread Robert Lopez
Thank you everyone for the excellent information. > Don't do this. You seem to be following some outdated tutorial. Old hardware running email gateways needed to be retired and replaced. I was to keep the same functionality as was on the servers when I arrived on this job. So, between not having

problems with pcre checks

2009-10-02 Thread Stan Hoeppner
Noel Jones put forth on 10/2/2009 12:00 PM: > Was the mail addressed to postmaster? The postmaster address gets a > free ride in some versions of postfix. No, it wasn't addressed to Postmaster, but I wish you'd have said this before I made a fool of myself, because your suggestion here jolted my

Re: problems with pcre checks

2009-10-02 Thread Noel Jones
On 10/2/2009 11:51 AM, Stan Hoeppner wrote: Noel Jones put forth on 10/2/2009 10:54 AM: On 10/2/2009 10:05 AM, Stan Hoeppner wrote: Hi all, I just had a viagra spam from gprs4f7a24e6.pool.t-umts.hu (gprs4f7a24e6.pool.t-umts.hu [79.122.36.230] sneak past both of my pcre checks which should have

Re: setting message size

2009-10-02 Thread Wietse Venema
David Southwell: > How do I set an unlimited outgoing email attachment size? If would do that, then you would also need an unlimited disk for the mail queue. For safety reasons Postfix will not accept mail when the amount of free space in the queue is less than 1.5x message size limit. W

problems with pcre checks

2009-10-02 Thread Stan Hoeppner
Noel Jones put forth on 10/2/2009 10:54 AM: > On 10/2/2009 10:05 AM, Stan Hoeppner wrote: >> Hi all, >> >> I just had a viagra spam from gprs4f7a24e6.pool.t-umts.hu >> (gprs4f7a24e6.pool.t-umts.hu [79.122.36.230] sneak past both of my pcre >> checks which should have killed it. Until today they've

Re: location of queued mail

2009-10-02 Thread gc
[please keep responses on the list] Sorry forgot to hit reply-all [please don't top-post] Whats this one? The command returned nothing at all? Don't type the "#". oops yeah I did... You'll have a pretty hard time using postfix or anything else on *nix if you're not familiar with

Re: location of queued mail

2009-10-02 Thread Noel Jones
On 10/2/2009 11:14 AM, gc wrote: I tried that at root but nothing, is it somehwere else I issue that? [please keep responses on the list] [please don't top-post] The command returned nothing at all? Don't type the "#". You'll have a pretty hard time using postfix or anything else on *nix

Re: location of queued mail

2009-10-02 Thread Noel Jones
On 10/2/2009 11:02 AM, gc wrote: Charles, Sorry for not reading the guidelines, tired of looking for answers I was... I tried reading that debug but couldnt figure it out, I dont even know how to copy the output of postconf from ssh or any other way. Well anyways the support team at godaddy al

Re: location of queued mail

2009-10-02 Thread gc
Charles, Sorry for not reading the guidelines, tired of looking for answers I was... I tried reading that debug but couldnt figure it out, I dont even know how to copy the output of postconf from ssh or any other way. Well anyways the support team at godaddy already went thru and tried to fix

Re: location of queued mail

2009-10-02 Thread Noel Jones
On 10/2/2009 10:37 AM, gc wrote: Yes I see that is the directory where queued mail is at but "how" do I look at it, whats the command to view? http://www.postfix.org/postcat.1.html # postcat -q QUEUEID | more Lots of other interesting stuff at: http://www.postfix.org/documentation.html -

Re: setting message size

2009-10-02 Thread Stan Hoeppner
Charles Marcus put forth on 10/2/2009 10:19 AM: > On 10/2/2009 11:11 AM, David Southwell wrote: >> How do I set an unlimited outgoing email attachment size? >> thanks in advance >> david > > message_size_limit = > > ### is in bytes > > This affects all messages though - if you need

Re: problems with pcre checks

2009-10-02 Thread Noel Jones
On 10/2/2009 10:05 AM, Stan Hoeppner wrote: Hi all, I just had a viagra spam from gprs4f7a24e6.pool.t-umts.hu (gprs4f7a24e6.pool.t-umts.hu [79.122.36.230] sneak past both of my pcre checks which should have killed it. Until today they've been working flawlessly, or so I believe, and I have ampl

Re: location of queued mail

2009-10-02 Thread gc
Yes I see that is the directory where queued mail is at but "how" do I look at it, whats the command to view? Thanks - Original Message - From: "Ivan Stepaniuk" To: Sent: Friday, October 02, 2009 2:59 AM Subject: Re: location of queued mail gc wrote: ... the email that is in que

Re: 2 Postfix servers (DMZ + LAN)

2009-10-02 Thread Augusto Casagrande
Sorry my mistake , it was actually postconf -n (as you can see , there are no default options). The users mailboxes are in the LAN MTA The route for inbound is : Internet->MX->DMZ MTA->LAN MTA For Otubound : Clnt->LAN MTA->DMZ MTA Regards. 2009/10/2 Ansgar Wiechers : > On 2009-10-02 Augusto Cas

Re: setting message size

2009-10-02 Thread Ansgar Wiechers
On 2009-10-02 David Southwell wrote: > How do I set an unlimited outgoing email attachment size? Enable submission in your master.cf (with "-o message_size_limit=0" as an additional option), and have your internal users send mail via submission (port 587/tcp) instead of plain SMTP. Regards Ansgar

Re: setting message size

2009-10-02 Thread Charles Marcus
On 10/2/2009, Victor Duchovni (victor.ducho...@morganstanley.com) wrote: >> How do I set an unlimited outgoing email attachment size? >> thanks in advance > There's no such thing as "unlimited". Oops... missed that word... -- Best regards, Charles

Re: setting message size

2009-10-02 Thread Charles Marcus
On 10/2/2009 11:11 AM, David Southwell wrote: > How do I set an unlimited outgoing email attachment size? > thanks in advance > david message_size_limit = ### is in bytes This affects all messages though - if you need different limits for outgoing and incoming, I think you'll need a

Re: setting message size

2009-10-02 Thread Victor Duchovni
On Fri, Oct 02, 2009 at 04:11:09PM +0100, David Southwell wrote: > How do I set an unlimited outgoing email attachment size? > thanks in advance There's no such thing as "unlimited". Pick a sensible limit that works for you and your correspondents, and understand that most sites will not accept u

setting message size

2009-10-02 Thread David Southwell
How do I set an unlimited outgoing email attachment size? thanks in advance david

Re: 2 Postfix servers (DMZ + LAN)

2009-10-02 Thread Ansgar Wiechers
On 2009-10-02 Augusto Casagrande wrote: > My idea is to put 2 MTA's servers, one in the DMZ and the other in the > LAN. The goal is to get security in the LAN , and only expouse one > server to the internet. Also, i want to "decompress" the traffic , > between the LAN and internet. > So far , i' ve

problems with pcre checks

2009-10-02 Thread Stan Hoeppner
Hi all, I just had a viagra spam from gprs4f7a24e6.pool.t-umts.hu (gprs4f7a24e6.pool.t-umts.hu [79.122.36.230] sneak past both of my pcre checks which should have killed it. Until today they've been working flawlessly, or so I believe, and I have ample log entries showing they've been working. H

Re: 2 Postfix servers (DMZ + LAN)

2009-10-02 Thread Charles Marcus
On 10/2/2009, Augusto Casagrande (augustocasagra...@gmail.com) wrote: > My DMZ Postfix postconf -d: -d only gives the defaults... You need to provide postconf -n output... -- Best regards, Charles

Re: Errors with before queue filtering and policyd-weight - helpplease.

2009-10-02 Thread Kevin Gagel
Thank you all. I have it running now. Kevin W. Gagel Network Administrator Local 5448 My blog: http://mail.cnc.bc.ca/blogs/gagel My shared files: http://mail.cnc.bc.ca/users/gagel --- Original message --- Subject: Re: Errors with before queue filtering and policyd-weight - helpplease. Fr

2 Postfix servers (DMZ + LAN)

2009-10-02 Thread Augusto Casagrande
Hi My idea is to put 2 MTA's servers, one in the DMZ and the other in the LAN. The goal is to get security in the LAN , and only expouse one server to the internet. Also, i want to "decompress" the traffic , between the LAN and internet. So far , i' ve managed to send email from @myfomail.com to @m

Re: location of queued mail

2009-10-02 Thread Wietse Venema
gc: > Hey all, > > First post, if it makes it off the server... > > Had a problem where I couldnt send nor receive mail, it happened > all of a sudden for me after I moved into my fathers house. I > thought it could be a dsl problem, as I came from cable. It happened > to nbe first that att.com w

Re: location of queued mail

2009-10-02 Thread Charles Marcus
On 10/2/2009, Charles Marcus (cmar...@media-brokers.com) wrote: > So, just set to whatever AT&T tells you Obviously that should have read "So, just set relayhost to whatever AT&T tells you..."

Re: location of queued mail

2009-10-02 Thread Ivan Stepaniuk
gc wrote: > ... the email that is in queue, I myself have to firgure out how to do it, > but have spent practically all day trying to locate it ... Check the 'qshape' and 'mailq' commands. Queued mail is usually stored inside /var/spool/postfix. -- Iván Stepaniuk Alba Fotónica S.L. http://www.al

Re: location of queued mail

2009-10-02 Thread Charles Marcus
On 10/2/2009 2:04 AM, gc wrote: > Hey all, > > First post, if it makes it off the server... Per the welcome message you received when you joined the list: TO REPORT A PROBLEM see: http://www.postfix.org/DEBUG_README.html#mail At a minimum, postfix version and output of postconf -n should be pr

Re: location of queued mail

2009-10-02 Thread suomi
Hi talking about postfix server, it may do virtual delivery. Then you may find the path to the mailboxes following the parameter virtual_mailbox_base in /etc/postix/main.cf suomi On 10/02/2009 08:04 AM, gc wrote: Hey all, First post, if it makes it off the server... Had a problem where I coul

Re: newbie confused about authentication

2009-10-02 Thread Ivan Stepaniuk
Jay G. Scott wrote: > What I'd like to do is change that so you can only send authenticated > email if you're in /etc/postfix/sasl_passwd.db. Don't forget to run postmap for that file. > smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd You probably want 'smtpd_sender_login_maps', not 'smt

Re: Fall back when dovecot SASL is unavailable?

2009-10-02 Thread Hagen Fürstenau
> Frankly, configure SASL just on port 587, and *require* SASL there, in > which case, no point in running the service while SASL is down. That's a good idea, thanks. Cheers, Hagen