Re: Fwd: Postfix with MySQL, a lot of "Aborted connection"

2018-07-02 Thread Danilo G. Baio
On Mon, Jul 2, 2018 at 4:07 PM, Wietse Venema wrote: > Danilo G. Baio: > > 2018-07-02 15:11:06 8052 [Warning] Aborted connection 8733691 to db: > > 'my_database' user: 'my_user' host: 'localhost' (Got an error reading > > communicat

Fwd: Postfix with MySQL, a lot of "Aborted connection"

2018-07-02 Thread Danilo G. Baio
CentOS: postfix-2.6.6-8.el6.x86_64 mysql-community-server-5.6.38-2.el6.x86_64 Anyone knows why this happens? Regards. -- Danilo G. Baio (dbaio)

Re: problem on a relay server [resolved]

2018-05-28 Thread pat G
Sorry i ve found the problem, i putted domain to be sent in "mydestination" Thx. Le 25/05/2018 à 13:00, Wietse Venema a écrit : > pat G: >> Ok it is better now than yesterday, it can receive requests. >> However, when one of our internal mails server send a messa

Re: problem on a relay server

2018-05-25 Thread pat G
, but like if he wanted to send message in local mailbox... Did i miss something for that it send in external domains/server ? Thanks, Le 24/05/2018 à 16:22, Dominic Raferd a écrit : > On 24 May 2018 at 15:01, pat G wrote: >> Hello, >> >> i am working on a relay server

problem on a relay server

2018-05-24 Thread pat G
Hello, i am working on a relay server, but it isn't functionnal. my main.cf is  : http://paste.debian.net/1026390/ but i ve theses errors in logs : http://paste.debian.net/1026400/ did i miss something or did i do something wrong ? Thanks, Patrice G

Re: Duplicate email troubleshooting

2018-01-31 Thread G
On 01/30/2018 06:21 PM, Matus UHLAR - fantomas wrote: On 30.01.18 08:55, Asai wrote: I'm running into an issue with a mailbox that also has aliases assigned to it. please avoid HTML mail. e.g. u...@domain.net has alias u...@domain.net, us...@otherdomain.net, and us...@otherdomain.net What's

Re: Two different IP for one mx

2018-01-30 Thread G
On 01/29/2018 11:09 PM, jin&hitman&Barracuda wrote: Hi We are tring to move our mx server to another isp. You have two postfix installations then, one in your current MX record and a new which is not yet published on DNS . Is that correct ? They gave us an IP address but there is some stran

Re: Message-ID

2018-01-29 Thread G
On 01/28/2018 12:04 PM, Karol Augustin wrote: On 2018-01-28 9:25, CP wrote: on 01/27/2018 09:30 PM, Karol Augustin wrote: With Message-ID header and dovecot lmtp (I think lda works also) you eliminate  (a lot!!) of these duplicates so try it if you have the same problem. In my case I have a robo

problem with sender_access ; can't reject domains

2017-06-12 Thread pat G
hello, i use postfix since years, there was no problem, but since some weeks, we receive mails from bad domains. i don' t find solution in postfix. i use "sender_access" to reject some domains, but domains are always coming even if i postmap sender_access and i restart postfix. what can be the so

Re: One certificate per port

2017-04-25 Thread G. Schlisio
>> Thank you for your hints and sorry for the late followup. busy and stuff. >> thank you for your suggestions, I was aware of the csr-option but wanted >> to avoid this, since it does not well automate with certbot. > > Sine "--csr" is a certbot option I am surprised to hear you say that > "it do

Re: One certificate per port

2017-04-25 Thread G. Schlisio
> >> On Apr 6, 2017, at 5:02 PM, G. Schlisio wrote: >> >> I wonder if it is possible to have one cert per port postfix is serving >> on, eg one for 25 and one for 587. > > Yes. > >master.cf: > submission inet ... smtpd >-o smtpd

One certificate per port

2017-04-06 Thread G. Schlisio
Hi all, I wonder if it is possible to have one cert per port postfix is serving on, eg one for 25 and one for 587. Background of this: for user interaction (mainly on port 587) I would like to use my signed letsencrypt cert which changes fairly often. For interaction of servers I would like to us

Re: Postfix delivery problem

2016-12-26 Thread G. Schlisio
> I managed to find where this is happening. It is not in glibc but in > systemd. > > If your /etc/nsswitch.conf has something like this: > > passwd: compat mymachines systemd > > then the routines that are being used are systemd ones. > > The checks being done are here in the function vali

Re: Postfix delivery problem

2016-12-25 Thread G. Schlisio
> > I tried that on archlinux. The above program still produces EINVAL for > login names between 32 and 255 inclusive. > > _SC_LOGIN_NAME_MAX is 256 on that platform. > > John > hi, earlier i tried with literal "AA", which was probably not what you meant. it produced a "not found". using

Re: Postfix delivery problem

2016-12-25 Thread G. Schlisio
> Georg > > I don't think there is enough evidence at the moment to say with > certainty that any change in glibc has introduced the problem, since you > were using that for a while now without seeing issues. > > I'd still be interested in knowing what output the test program gives on > the affec

Re: Postfix delivery problem

2016-12-24 Thread G. Schlisio
Am 24.12.2016 um 08:40 schrieb John Fawcett: > On 12/24/2016 01:19 AM, Wietse Venema wrote: >> John Fawcett: > "On success, *getpwnam_r*() and *getpwuid_r*() return zero, and set > /*result/ to /pwd/. If no matching password record was found, these > functions return 0 and store NULL

Re: Postfix delivery problem

2016-12-23 Thread G. Schlisio
> Georg > > Replying to my own post: on re-reading the specification, it looks clear > > "On success, *getpwnam_r*() and *getpwuid_r*() return zero, and set > /*result/ to /pwd/. If no matching password record was found, these > functions return 0 and store NULL in /*result/. In case of error, an

Re: Postfix delivery problem

2016-12-23 Thread G. Schlisio
> It was worth checking the obvious to exclude it. > > I suspect that one of the system libraries used by the .forward > mechanism has been impacted by your upgrade. > > If you don't need to use .forward files you might try setting > > forward_path = > > in main.cf and restart postfix. If that

Re: Postfix delivery problem

2016-12-23 Thread G. Schlisio
Am 23.12.2016 um 15:11 schrieb John Fawcett: > On 12/23/2016 01:56 PM, G. Schlisio wrote: >>> Couldn't find the postconf -n output at that link >> sorry, correct link for postconf -n: http://termbin.com/w509 > > It doesn't look like "local" is even att

Re: Postfix delivery problem

2016-12-23 Thread G. Schlisio
> Couldn't find the postconf -n output at that link sorry, correct link for postconf -n: http://termbin.com/w509

Re: Postfix delivery problem

2016-12-23 Thread G. Schlisio
> Hi Georg > > for reporting problems you can refer to > http://www.postfix.org/DEBUG_README.html#mail if you have not already > seen it. > > For the configuration, command output from * > * > > *postconf -n* > > *postconf -Mf* > > is a good starting point. Most people post it to the list, bu

Re: Postfix delivery problem

2016-12-23 Thread G. Schlisio
> > Georg > > probably the best thing is to compare your previous configuration to the > new one and see what changed. > > For help with your current configuration, you should post it. > > John hi john, thank you for your suggestion. as i tried to indicate with "no changes in mail config" th

Postfix delivery problem

2016-12-23 Thread G. Schlisio
Dear list, We have a mail server with postfix and dovecot on Archlinux where we have mail addresses with local unix accounts (authenticated by pam) and without unix accounts (dovecot passwd-file authentication). The problem only affects those non-unix account mail addresses. (There are also comple

postfix authentication problem + doesn't send to mailbox

2016-10-19 Thread pat G
Hello, i ve a problem to send with a postfix server. when i use telnet (port 25) to send, i ve a message in mailq, but nothing go out : 6FDA937607C1* 399 Wed Oct 19 11:20:10 t...@dm.com t...@dm.com when i use an other soft (mutt port 25) to send

postfix not using dane

2015-08-23 Thread Elod G
I am trying to configure opportunistic DANE for the SMTP client on an Ubuntu 14.04 box. The problem is I cannot get 'Verified' status for any of the servers I tried connecting to. For example: # posttls-finger -t30 -T180 -c -L verbose,summary -l dane-only smtp.kernel-error.de posttls-finger: i

Re: the after-queue simple filter -- I found my problem.

2014-06-11 Thread Jay G. Scott
On Wed, Jun 11, 2014 at 04:42:42PM +, Viktor Dukhovni wrote: > On Wed, Jun 11, 2014 at 11:37:46AM -0500, Jay G. Scott wrote: > > > I had two smtp lines in the master.cf file. Splutter. > > You're supposed to. One is for the Postfix SMTP server > (inbound mail): &

Re: the after-queue simple filter -- I found my problem.

2014-06-11 Thread Jay G. Scott
On Tue, Jun 10, 2014 at 08:02:55PM -0500, Noel Jones wrote: > On 6/10/2014 5:45 PM, Jay G. Scott wrote: > > > > After trying various combinations of things in > > main.cf and master.cf, I find that, using the script > > below, if the mail reaches the filter script, the

Re: the after-queue simple filter -- I'm doing it wrong

2014-06-10 Thread Jay G. Scott
delivered unfiltered, no bounces, no hops. main.cf: content_filter = filter got it filtered, but resulted in the hops bounce. What am I missing? j. On Tue, Jun 10, 2014 at 03:37:34PM -0500, Noel Jones wrote: > On 6/10/2014 3:05 PM, Jay G. Scott wrote: > > > > RE: the after-queue

Re: the after-queue simple filter -- I'm doing it wrong

2014-06-10 Thread Jay G. Scott
On Tue, Jun 10, 2014 at 03:37:34PM -0500, Noel Jones wrote: > On 6/10/2014 3:05 PM, Jay G. Scott wrote: > > > > RE: the after-queue, simple filter example > > > > Just trying to figure out how it works. > > I have a feeling I don't fully understand the

the after-queue simple filter -- I'm doing it wrong

2014-06-10 Thread Jay G. Scott
re's my simple script, which is just the example script from the FILTER_README.html page with only two or so lines changed, marked below: #!/bin/bash # Simple shell-based filter. It is meant to be invoked as follows: # /path/to/script -f sender recipients... # Localize these. The -G op

check_sender_access ignored by verify daemon

2014-05-29 Thread G H
I am trying to utilize Postfix to restrict the sending of mail from certain users based on the MAIL FROM command. However, it doesn't appear that Postfix-2.10.2 is paying attention to my check_sender_access restrictions at all. I have it before permit_mynetworks, but the verify daemon doesn't a

Columns in maillog that I don't understand

2014-03-18 Thread Jay G. Scott
My maillog entries like like this: Mar 18 03:45:40 jgs postfix/pickup[20868]: [ID 197553 mail.info] 8C94B4F6B: uid=0 from= What is the "[ID 197553 mail.info]" part? Can I turn it off? Thanks. j. -- Jay Scott 512-835-3553 g...@arlut.utexas.edu Head of S

postfix doesn't use NIS "behind by back", right?

2014-03-07 Thread Jay G. Scott
t? j. -- Jay Scott 512-835-3553 g...@arlut.utexas.edu Head of Sun Support, Sr. System Administrator Applied Research Labs, Computer Science Div. S224 University of Texas at Austin

maillog says "Service unavailable", bounce msg claims bad addr

2014-03-06 Thread Jay G. Scott
ns2.arlut.utexas.edu # However, that address is okay -- sendmail -bv says it's deliverable. So is this disconnect between service availability and what the user sees normal? or fixable? j. -- Jay Scott 512-835-3553 g...@arlut.utexas.edu Head of Sun Support,

Re: any known issues with mailing lists?

2014-03-05 Thread Jay G. Scott
On Wed, Mar 05, 2014 at 04:19:16PM -0500, Wietse Venema wrote: > Jay G. Scott: > > overlook a "too many hops" notice. > > > > I've seen these at my site before, they've been going on for years, > > but they're still rare. Maybe 4-6/year. I che

Re: any known issues with mailing lists?

2014-03-05 Thread Jay G. Scott
On Mon, Mar 03, 2014 at 05:08:08PM -0600, Noel Jones wrote: > On 3/3/2014 4:45 PM, Jay G. Scott wrote: > > > > I have one user telling me that he has a long mailing list > > (on the order of 34 -- hardly long) and some of the recipients > > bounce. If he mails them o

any known issues with mailing lists?

2014-03-03 Thread Jay G. Scott
ion. Does the problem above ring a bell? He's using Outlook as his client. What else should I tell you? So far I haven't been able to align his bounced msgs with my log files. Thx, j. -- Jay Scott 512-835-3553g...@arlut.utexas.edu Head of Sun Support, Sr. Sy

Re: Does this have side effects?

2014-02-10 Thread Jay G. Scott
s myorigin Now, my understanding is that myorigin applies when sending mail. It basically alters what the "from" address looks like to the ultimate recipient. With both relay_recipient_maps and recipient_canonical_maps defaulted, I sent mail like so: mail -s "gl bbb 12" g...@bbb

Does this have side effects?

2014-02-07 Thread Jay G. Scott
_canonical_maps=regexp:/etc/postfix/pfrecipient_canonical [root@davis postfix]# more pfrecipient_canonical /^gl@.*\.arlut\.utexas\.edu$/ g...@arlut.utexas.edu /^a@.*\.arlut\.utexas\.edu$/a...@arlut.utexas.edu /^b@.*\.arlut\.utexas\.edu$/b...@arlut.utexas.edu /^c@.*\.arlut\.ute

Will this have side effects?

2014-02-06 Thread Jay G. Scott
fix]# more pfrecipient_canonical /^gl@.*\.arlut\.utexas\.edu$/ g...@arlut.utexas.edu /^a@.*\.arlut\.utexas\.edu$/a...@arlut.utexas.edu /^b@.*\.arlut\.utexas\.edu$/b...@arlut.utexas.edu /^c@.*\.arlut\.utexas\.edu$/c...@arlut.utexas.edu This does what I want it to: it strips out the host p

found it. it's relocated users.

2012-08-13 Thread Jay G. Scott
sorry for the earlier post. i kept looking and found it as "relocated users". i'll be pursuing that. j. -- Jay Scott 512-835-3553g...@arlut.utexas.edu Head of Sun Support, Sr. System Administrator Applied Research Labs, Computer Science Div.

conventional way to deal with former users?

2012-08-13 Thread Jay G. Scott
that is, when someone leaves our employ, we used the sendmail redirect feature to reply 551 user has moved, try user@arl.REDIRECT i've been looking for the postfix equivalent, but haven't found it. is there such a thing? j. -- Jay Scott 512-835-3553

RE: postfix non-smtpd-command issues

2012-04-27 Thread Larry G. Wapnitsky
= /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_use_tls = yes Larry G. Wapnitsky MBA, MCSE, MCP+I IT SUPPORT & ADMINISTRATION COORDINATOR WRT <http://www.wrtdesign.com/> | Wallace Roberts & T

postfix non-smtpd-command issues

2012-04-27 Thread Larry G. Wapnitsky
ed mail for delivery) The "replacing command" notes you see from the log are replaced via smtpd_command_filter Thanks, Larry G. Wapnitsky MBA, MCSE, MCP+I IT SUPPORT & ADMINISTRATION COORDINATOR WRT <http://www.wrtdesign.com/> | Wallace Roberts & Todd, LLC <

verifying that postfix is getting proper name service

2012-03-02 Thread Jay G. Scott
60$@com> Feb 27 07:39:03 ns4 postfix/qmgr[18269]: 1B4831D62B0: from=, size=5855, nrcpt=1 (queue active) -- Jay Scott 512-835-3553g...@arlut.utexas.edu Head of Sun Support, Sr. System Administrator Applied Research Labs, Computer Science Div. S224 University of Texas at Austin

Re: fallback_relay not triggered

2011-12-12 Thread Ruppert G. von Teutul
> > If I send a mail to someone at live.com it does not pass to the > > fallback_relay if relayhost is down. In theory this should only > > happen if my machine announces itself as MX for live.com. Correct? > > Oops, I wrote that code long enough that my memory is incorrect. > > Try putting t

Re: fallback_relay not triggered

2011-12-12 Thread Ruppert G. von Teutul
> > The machine we are talking about is MX for all the domains that > > belong to me (=mydestination). And exactly the way relayhost is > > sent mails to the world they should be sent to the fallback_relay > > if that relayhost is down. > > Why are you MX host for a domain, and then sending its

450 4.7.1 error using Postfix/MIMEDefang/milter-manager

2011-11-09 Thread Larry G. Wapnitsky
(sorry if this is a dupe, but I'm fixing my "undisclosed recipient" error from earlier that someone reported to me - no disrespect intended) I'm running PF 2.7.1 with milter-manager handling my milters. I have MIMEDefang configured as one of the managed milters, but when I telnet to p

450 4.7.1 error using Postfix/MIMEDefang/milter-manager

2011-11-09 Thread Larry G. Wapnitsky
I'm running PF 2.7.1 with milter-manager handling my milters. I have MIMEDefang configured as one of the managed milters, but when I telnet to port 25 for testing, I receive the following: root@mailproc:/etc/milter-manager# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Esc

still having problems w/ subdomain delivery

2011-07-19 Thread Jay G. Scott
Thanks to all who have tried to help me so far. I'm sorry to be such a pest. I've tried a number of things and still can't get it. Management wants email to user@ .arlut.utexas.edu will be treated as though it had been addressed to u...@arlut.utexas.edu (sendmail can do this.)

format of alias entries

2011-07-06 Thread Jay G. Scott
Can someone tell me whether the following is correct? virtual_alias_maps = hash:/etc/postfix/pfmalias hash:/etc/aliases It begins to look like if the file ___HAS___ colons, like the aliases man page that comes with postfix says, and you use postalias hash:/etc/postfix/pfmalias wi

Re: multiple copies delivered--still have problem

2011-06-29 Thread Jay G. Scott
On Wed, Jun 29, 2011 at 09:05:15AM -0500, Jay G. Scott wrote: > > wait a sec. i think my test procedure is not working. > i won't be able to check until this afternoon. > it may be the other configurations i thought i was trying > weren't actually being used at all. t

Re: multiple copies delivered

2011-06-29 Thread Jay G. Scott
wait a sec. i think my test procedure is not working. i won't be able to check until this afternoon. it may be the other configurations i thought i was trying weren't actually being used at all. j. -- Jay Scott 512-835-3553 g...@arlut.utexas.edu Head of S

multiple copies delivered

2011-06-28 Thread Jay G. Scott
Hello, This machine has a list of legitimate users but does not deliver mail locally. (It's a mail gateway.) Presently user schumi gets copies of his mail delivered to three systems. The three destinations are listed in virtual_alias_maps. schumi: sch...@inm.arlut.utexas.edu,

still having problems delivering to *.tld

2011-04-27 Thread Jay G. Scott
h_destination reject_unknown_recipient_domain check_recipient_access hash:/etc/postfix/relay_checkpermit transport_maps = hash:/etc/postfix/pftransport unknown_local_recipient_reject_code = 550 virtual_alias_maps = hash:/etc/postfix/pfmalias hash:/etc/aliases thanks again. j. -- Jay Scot

Re: delivering to machines like *.domain

2011-04-20 Thread Jay G. Scott
cific recipient domains by using a check_recipient_access map, similar > to this example (but using the recipient, not the sender) > http://www.postfix.org/ADDRESS_VERIFICATION_README.html#forged_sender > > > -- Noel Jones -- Jay Scott 512-835-3553

Re: delivering to machines like *.domain

2011-04-20 Thread Jay G. Scott
king about how to do that. j. -- Jay Scott 512-835-3553g...@arlut.utexas.edu Head of Sun Support, Sr. System Administrator Applied Research Labs, Computer Science Div. S224 University of Texas at Austin

delivering to machines like *.domain

2011-04-20 Thread Jay G. Scott
t i'd like, but if i gotta, i gotta. j. -- Jay Scott 512-835-3553g...@arlut.utexas.edu Head of Sun Support, Sr. System Administrator Applied Research Labs, Computer Science Div. S224 University of Texas at Austin

misunderstanding transport_maps, relay_recipient_maps

2011-04-19 Thread Jay G. Scott
hi, i just swapped postfix in replacing a sendmail configuration. here is how i thought it worked (but i'm wrong): my relay recipient map has entries like this: g...@arlut.utexas.edu OK my transport file has entries like this: ns8.arlut.utexas.edusmtp:[ns8.arlut.utexas.edu] i th

Re: Methods to limit spam sent through compromised account?

2011-03-31 Thread D G Teed
On Thu, Mar 31, 2011 at 3:34 PM, pf at alt-ctrl-del.org wrote: > > "Stan Hoeppner" March 31, 2011 12:41 PM > > D G Teed put forth on 3/31/2011 10:21 AM: >> >> I'd like some idea of what real world values would be useful, or >>> additional >>

Re: Methods to limit spam sent through compromised account?

2011-03-31 Thread D G Teed
On Thu, Mar 31, 2011 at 1:41 PM, Stan Hoeppner wrote: > D G Teed put forth on 3/31/2011 10:21 AM: > > > I'd like some idea of what real world values would be useful, or > additional > > suggestions > > on how to make the performance less attractive to users of co

Methods to limit spam sent through compromised account?

2011-03-31 Thread D G Teed
Today a user's account was compromised (likely phished) and their credentials used to send email over our main outbound SMTP with TLS and SASL auth. When we learned of it, the PAM smtp configuration was set up to block the user account authenticating and the account was soon disabled. In the mean

Re: Max msgs to 1 recipient - default_destination_concurrency_limit.

2011-03-11 Thread Lauro Costa G. Borges
Citando Victor Duchovni : On Fri, Mar 11, 2011 at 12:29:00PM -0300, Lauro Costa G. Borges wrote: I'm trying to limit how many messages can be sent to a recipient. - A specific set of recipients or as a general rule? A general rule. - Per sender, or across the entire MTA? The e

Re: Max msgs to 1 recipient - default_destination_concurrency_limit.

2011-03-11 Thread Lauro Costa G. Borges
On Thu, Mar 10, 2011 at 03:27:50PM -0300, Lauro Costa G. Borges wrote: I'm trying to limit how many messages can be sent to a recipient. - A specific set of recipients or as a general rule? A general rule. - Per sender, or across the entire MTA? The entire MTA. - Why?

Max msgs to 1 recipient - default_destination_concurrency_limit.

2011-03-10 Thread Lauro Costa G. Borges
I'm using Postfix 2.7.0. I'm trying to limit how many messages can be sent to a recipient. I would like it to be about 10 per minute, but I noticed it's not possible (?) to do exactly that, from what I read at: http://postfix.eu.org/rate.html So I tried this: initial_destination_concu

Mails not received in postfix (sending out is fine )

2011-03-07 Thread sunhux G
Firstly, can someone point me to a link on setting up just a plain Unix mailbox (no LDAP, no fanciful stuff). I know how to use useradd to create a Unix account & nothing more about getting it to be able to receive external emails. Is saslauth needed for postfix to be able to receive mails? I'

Re: Rejected mails

2011-02-24 Thread sunhux G
I removed the "-D" from master.cf & restarted postfix & stumble upon something weird just after the restart which made me believe there could be multiple smtp processes : (btw, the shutting down flashed out as "failed" in red, while the startup flashed out as "OK" in green) : # netstat -antp

Re: Rejected mails

2011-02-23 Thread sunhux G
>> mydomain = myportaltech.com >> myhostname = hostname > Is this what postconf really returns or did you redact this? Yes, I edited it. hostname was just the name of the host as given by Unix command 'uname -n' or `hostname` > I'm wondering why smtpd_recipient_restrictions didn't show here Will

Re: 2.8.0 smtpd killed while using TLS + SASL AUTH

2011-02-22 Thread D G Teed
On Tue, Feb 22, 2011 at 4:58 PM, Wietse Venema wrote: > D G Teed: > > Hi, > > > > I have postfix-2.8-20101007 working fine for all features for some time. > > The problem is specific to my 2.8.0 build. > > > > This is on Debian. I built 2.8

2.8.0 smtpd killed while using TLS + SASL AUTH

2011-02-22 Thread D G Teed
Hi, I have postfix-2.8-20101007 working fine for all features for some time. The problem is specific to my 2.8.0 build. This is on Debian. I built 2.8.0. with: make makefiles CCARGS='-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DUSE_TLS -I /usr/include/sasl -I /usr/include -DSNAPSHOT' \ AUXLIBS='-L/usr/lo

Re: make upgrade issue with 2.8.0

2011-02-22 Thread D G Teed
On Tue, Feb 22, 2011 at 11:18 AM, Victor Duchovni < victor.ducho...@morganstanley.com> wrote: > On Tue, Feb 22, 2011 at 10:36:37AM -0400, D G Teed wrote: > > > I was running the postfix release postfix-2.8-20101007 > > for a number of months and now I want to up

make upgrade issue with 2.8.0

2011-02-22 Thread D G Teed
Hello, I was running the postfix release postfix-2.8-20101007 for a number of months and now I want to update to the 2.8.0 stable. I've run into an error with make upgrade: It ends like so: Updating /usr/libexec/postfix/smtp... Updating /usr/libexec/postfix/smtpd... Updating /usr/libexec/postfi

Re: Rejected mails

2011-02-22 Thread sunhux G
> We need to see all the smtpd logging. Noel, so do I append "-v" or "-D" on the smtpd line in master.cf ? Or are you referring to "strace -p postfix_process_pid" ? > provide complete NON VERBOSE postfix logging So do I remove "-v" & use "-D" in master.cf, restart postfix & send test emails ?

Re: Rejected mails

2011-02-21 Thread sunhux G
> This log snippet is postfix trying to send mail. Did you mean to explain > that this > is your own host trying to send to itself? Some routers don't allow loopback > connections, so you can't always connect to your own external IP. I'm sending from external Outlook/Exchange to my SMTP postfix.

Re: Rejected mails

2011-02-21 Thread sunhux G
Sending outgoing emails from this dovecot/postfix server is Ok (ie emails received at destination) but incoming mails keep getting the logs below : smtp.myportaltech.com[202.6.163.31]:25: Connection timed out Feb 21 16:37:04 hostname postfix/smtp[1381]: 8B35C200060: to=, relay=none, delay=30, dela

Re: Attempting delivery to wrong domain?

2011-02-21 Thread D G Teed
On Mon, Feb 21, 2011 at 10:01 AM, wrote: > Zitat von D G Teed : > > > I suspect there is a simple explanation to this I've overlooked. >> >> We have a problem delivering to one address @eastlink.ca >> >> The odd thing is that the bounce is from google m

Attempting delivery to wrong domain?

2011-02-21 Thread D G Teed
I suspect there is a simple explanation to this I've overlooked. We have a problem delivering to one address @eastlink.ca The odd thing is that the bounce is from google mail, and this Canadian ISP does not use google mail services. I've tested that 'host -t mx eastlnk.ca' returns the smtpin.eas

Rejected mails

2011-02-21 Thread sunhux G
Hi, I'm getting closer, now with SMTP permitted to whole of Internet to connect to my SMTP/postfix server & for my postfix server to connect out to public Internet on tcp 25 as well. I send emails from permitted SMTP servers with "Receipt acknowledgemt" & the ack returned said it was delivered bu

Re: test emails did not arrive in postfix server (no indication in maillog )

2011-02-17 Thread sunhux G
Ok, sorry. Posting in plain text now. I'm using Cyberguard firewall & I heard it's stateful. It's not managed by me but by the network/security guys. So by permitting SMTP from those selected domains' SMTP gateways to my postfix server is not sufficient even if I only need to receive incoming m

Re: test emails did not arrive in postfix server (no indication in maillog )

2011-02-17 Thread sunhux G
31.68]) by gate2.mds.com.sg with ESMTP/TLS/AES128-SHA; 17 Feb 2011 15:44:26 +0800 Received: from SGMBX02.mds.corp.int-ads ([fe80::11cd:49e0:af0f:1ba]) by sght02.mds.corp.int-ads ([::1]) with mapi id 14.01.0270.001; Thu, 17 Feb 2011 15:44:26 +0800 From: "G PO mds" To: "recipient..

Re: test emails did not arrive in postfix server (no indication in maillog )

2011-02-16 Thread sunhux G
Sorry for the lack of info in earlier post. Think the main issue is I can't even start up postfix : # postfix set-permissions [root@etc]# postfix start postfix/postfix-script: starting the Postfix mail system [root@ etc]# postfix reload postfix/postfix-script: fatal: the Postfix mail system is no

test emails did not arrive in postfix server (no indication in maillog )

2011-02-16 Thread sunhux G
Just set up postfix & it's running on my RHES 4.2 box. Immediately after postfix is up, I test sending emails from a permitted domain (ahhh, on this postfix server's domain firewall, we even have a firewall rule which permits Tcp25 from those few sending domains' SMTP servers) using an email clie

Re: sending email to an SMTP server with public IP addr (but domain not registered yet)

2011-02-14 Thread sunhux G
Thanks. But gmail doesn't allow/accept brackets (square or round brackets) in the "To: " field. Any particular email client allows this? Outlook? On Mon, Feb 14, 2011 at 10:32 PM, Noel Jones wrote: > On 2/14/2011 8:15 AM, sunhux G wrote: > >> Hi >> Pending th

sending email to an SMTP server with public IP addr (but domain not registered yet)

2011-02-14 Thread sunhux G
Hi Pending the purchase of our domain, I have already set up an SMTP email server running postfix & this server already has a public IP address, say aa.bb.cc.dd Q1: Can I test send an email to this server by sending to a_postfix_mail...@aa.bb.cc.dd ? Q2: Secondly after getting the domain, how d

Re: Postfix with virtual domains and the username

2011-02-02 Thread Jerrale G
SER=$(sed ${USER}) endif You're not limited to bash, just to stdin stdout :) This was really ingenious of Timo, one maintainer of dovecot as it allowed us to store a bunch of criteria for security, such as the ip address logging in, the last login time, etc. Jerrale G. SC Senior Admin

foolproof whitelisting

2011-02-01 Thread sunhux G
Our current way of blocking a spam address is by editing access_sender & access_recipient & then reload postmap. >From time to time we're given addresses that should never be blocked but due to staff turnover & documentation not up-to-date, an address that should never be blocked was somehow block

Re: Text Substitution with pcre:

2011-01-29 Thread Jerrale G
On 1/29/2011 7:51 PM, Wietse Venema wrote: Jerrale G: /^(.*)127\.0\.0\.\d+(.*)$/ REPLACE $1173.50.101.12$2 Surely, you will see warnings that $1173 is not a valid index. We dont get any warnings with our OWN. We only get warnings using any examples that have been given to us through

Re: Text Substitution with pcre:

2011-01-29 Thread Jerrale G
On 1/29/2011 7:51 PM, Wietse Venema wrote: Jerrale G: /^(.*)127\.0\.0\.\d+(.*)$/ REPLACE $1173.50.101.12$2 Surely, you will see warnings that $1173 is not a valid index. You need to read the section titled "TEXT SUBSTITUTION" in the pcre_table manpage TEXT SU

Re: Text Substitution with pcre:

2011-01-29 Thread Jerrale G
On 1/29/2011 9:30 AM, Wietse Venema wrote: Noel Jones: On 1/28/2011 4:29 PM, Jerrale G wrote: Here is what I have tried so far: /(^X-Spam-Status:\sYes,\sscore=\d\d(\.\d)?\s)/gi DISCARD High Potential for Spam That's overly complicated. /^X-Spam-Status: Yes/ DISCARD High Spam Score wi

Re: basic question: permit SMTP from recipients or whitelist ?

2011-01-29 Thread sunhux G
Thanks very much Victor & Jeroen. As I'm a newbie/beginner, guess I'll stick to "sender access map" & see if there are many spoofed emails. I have a lot to learn from this list. Thanks U On Sat, Jan 29, 2011 at 8:35 PM, Victor Duchovni < victor.ducho...@morganstanley.com> wrote: > On Sat, Jan

Re: basic question: permit SMTP from recipients or whitelist ?

2011-01-29 Thread sunhux G
gateways (or "mail relay servers" ??) that are > unrelated to those domains/organizations that make Tcp25 > connection to my email server? Thanks On Fri, Jan 28, 2011 at 11:51 PM, Victor Duchovni < victor.ducho...@morganstanley.com> wrote: > On Fri, Jan 28, 2011 at 11:3

Re: Text Substitution with pcre:

2011-01-28 Thread Jerrale G
On 1/28/2011 5:05 PM, Kris Deugau wrote: Jerrale G wrote: sorry for not including. Centos automatically puts 127.0.0.1 as $hostname in /etc/hosts. could you not fix /etc/hosts? (So far as I'm concerned, the only hostname legitimately associated with 127.0.0.1 is localhost. Any

Re: Text Substitution with pcre:

2011-01-28 Thread Jerrale G
On 1/28/2011 3:49 PM, Jerrale G wrote: On 1/28/2011 3:43 PM, Jerrale G wrote: On 1/28/2011 2:55 PM, Noel Jones wrote: On 1/28/2011 12:24 PM, Jerrale G wrote: This is fine as long as I know how to keep the other part of the line in a variable, like $1 or $3 and know how to put it all back

Re: Text Substitution with pcre:

2011-01-28 Thread Jerrale G
On 1/28/2011 3:43 PM, Jerrale G wrote: On 1/28/2011 2:55 PM, Noel Jones wrote: On 1/28/2011 12:24 PM, Jerrale G wrote: This is fine as long as I know how to keep the other part of the line in a variable, like $1 or $3 and know how to put it all back together afterwards. Could someone help me

Re: Text Substitution with pcre:

2011-01-28 Thread Jerrale G
On 1/28/2011 3:43 PM, Jerrale G wrote: On 1/28/2011 2:55 PM, Noel Jones wrote: On 1/28/2011 12:24 PM, Jerrale G wrote: This is fine as long as I know how to keep the other part of the line in a variable, like $1 or $3 and know how to put it all back together afterwards. Could someone help me

Re: Text Substitution with pcre:

2011-01-28 Thread Jerrale G
On 1/28/2011 2:55 PM, Noel Jones wrote: On 1/28/2011 12:24 PM, Jerrale G wrote: This is fine as long as I know how to keep the other part of the line in a variable, like $1 or $3 and know how to put it all back together afterwards. Could someone help me with this, please? An example

Re: Text Substitution with pcre:

2011-01-28 Thread Jerrale G
On 1/28/2011 1:13 PM, Brian Evans - Postfix List wrote: On 1/28/2011 12:51 PM, Jerrale G wrote: We want the headers to correct show the mail system, with a bug in centos, it shows localhost or 127.0.0.1 where it should show mail.sheltoncomputers.com for PROPER, correct tracking. /etc/postfix

Text Substitution with pcre:

2011-01-28 Thread Jerrale G
mail.sheltoncomputers.com What is wrong with the above? It is not replacing all instances of 127.0.0.1 OR localhost with mail.sheltoncomputers.com. You can see where we want these replaced in our headers. Jerrale G. SC Senior Admin

Re: basic question: permit SMTP from recipients or whitelist ?

2011-01-28 Thread sunhux G
So is it right to say that though I want only a small handful of users from certain domains/organizations to send email to me, it could be email gateways (or "mail relay servers" ??) that are unrelated to those domains/organizations that make Tcp25 connection to my email server? As for the externa

Re: basic question: permit SMTP from recipients or whitelist ?

2011-01-28 Thread sunhux G
>>b) how do I determine the source IP address of those domains >Email can come from anywhere, via multiple routes that do not > have any direct relation with the sending domain. I thought if I entered the domain name, say dsta.gov.sg into www.mxtoolbox.com, it would list out all the smtp/mail se

  1   2   3   >