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: 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

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
te 1/60s for (smtp:203.126.130.164) at Feb 1 7 14:12:41 Feb 17 14:16:07 hostname postfix/anvil[30977]: statistics: max connection count 1 for (smtp:203.126.130.164) at Feb 17 1 4:12:41 Feb 17 14:16:07 hostname postfix/anvil[30977]: statistics: max cache size 1 at Feb 17 14:12:41 On Thu, Feb 17, 20

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

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: 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: 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

basic question: permit SMTP from recipients or whitelist ?

2011-01-26 Thread sunhux G
I'm setting up a postfix mailserver. Only a handful (of about 6 domains , ie x...@dsta.gov.sg , x...@starnet.gov.sg, x...@ncssmsonbehalf.com.sg , x...@accenture.com ) are allowed to email to my postfix server. >From security & efficiency (so as not to process too many emails) point of view, a

Re: Sample php scripts to emulate POP3

2010-11-15 Thread sunhux G
or fetchmail > > it is designed for this purpose. > > -- > *From:* owner-postfix-us...@postfix.org [owner-postfix-us...@postfix.org] > On Behalf Of sunhux G [sun...@gmail.com] > *Sent:* Tuesday, 16 November 2010 4:55 PM > *To:* postfix-users@postfix

Sample php scripts to emulate POP3

2010-11-15 Thread sunhux G
Does anyone has any sample php scripts which emulate a POP3 client going into an Exchange server to download mails & then clear away mails from the Exchange server's mailbox? Care to share? thanks U

Re: Does postfix support POP3 & anyone used Cerberus Helpdesk with Postfix

2010-11-11 Thread sunhux G
>What I want to know is, who/what is routing these messages, currently, >to an Exchange mailbox, and will they be changing that routing to a >mailbox that YOU specify when they "break" your use of Exchange? This routing is done by Cerberus, I can configure Cerberus to grab mails from any another lo

Re: Does postfix support POP3 & anyone used Cerberus Helpdesk with Postfix

2010-11-10 Thread sunhux G
ou're in a pickle, and I'd recommend seeking new employment, >since your current employer would be lacking serious clue. In our culture, middle aged people will have difficulty seeking employment, esp in technical fields. quite unfortunate Tks U On Wed, Nov 10, 2010 at 5:25 PM, S

Does postfix support POP3 & anyone used Cerberus Helpdesk with Postfix

2010-11-10 Thread sunhux G
Currently I have a Cerberus Helpdesk/CRM application (refer to http://www.cerberusweb.com/) which uses POP3 method to download mails from our MS Exchange server via POP3. We have to cease using this MS Exchange server soon as POP3 will be disabled soon due to a corporate directive. I thought of

Re: Persistent mails being received

2010-10-31 Thread sunhux G
On our Linux RHES4.x box, I've seen a vendor issuing "telnet localhost 25" helo ... subject... ... content ... quit (or exit or end?) to send out mails to say a yahoo addr from our Linux box. I'll need the exact commands in a Shell script to send email to x...@yahoo.com & y...@gmail.com with a l

Re: Backup /var/spool/postfix & restoring

2010-10-22 Thread sunhux G
ting on another disk On Sat, Oct 23, 2010 at 12:42 AM, sunhux G wrote: > > If 'hot backups' make any sense at all. Oracle online/hot backups > just crossed my mind where we won't lose a single transaction/data > by using point-in-time restore/recovery. Any such equivalent backups > for postfix mail queues? >

Re: Backup /var/spool/postfix & restoring

2010-10-22 Thread sunhux G
If 'hot backups' make any sense at all. Oracle online/hot backups just crossed my mind where we won't lose a single transaction/data by using point-in-time restore/recovery. Any such equivalent backups for postfix mail queues?

Re: Backup /var/spool/postfix & restoring

2010-10-22 Thread sunhux G
um mails) when disk got corrupted/crashed (even mirror disks failed us in our environment), is there sort of hot backups for postfix queues? On Sat, Oct 23, 2010 at 12:19 AM, Victor Duchovni < victor.ducho...@morganstanley.com> wrote: > On Fri, Oct 22, 2010 at 10:29:27PM +0800, sunhux G

Re: Backup /var/spool/postfix & restoring

2010-10-22 Thread sunhux G
>You should not directly manipulate the postfix queue directories. >man postsuper for the correct invocation of the -d option. If there's a hard disk crash or corruption of /var/spool/postfix/..., can we restore from tapes the /var partition & is there any special recovery of postfix needed?

Re: Backup /var/spool/postfix & restoring

2010-10-22 Thread sunhux G
n Fri, Oct 22, 2010 at 7:25 PM, Jeroen Geilman wrote: > On 10/22/2010 11:33 AM, sunhux G wrote: > > >> To restore these queue files to another server & read these mails, >> what are the steps & commands involved? >> > > Add >relayhost = [your.new.serv

Backup /var/spool/postfix & restoring

2010-10-22 Thread sunhux G
Hi Suppose before I delete away mails (postsuper -d ...), I backup all the files in the queue directories below: [r...@postfix]# postconf -d | grep -i dir | grep -i que queue_directory = /var/spool/postfix To restore these queue files to another server & read these mails, what are the steps & c

Re: can withholding mails ( postsuper -h ... ) help with tens of thousands of spam mails hogging mailq

2010-10-21 Thread sunhux G
Next question: Does anyone know the equivalent of sendmail's /var/spool/mqueue and .../clientqueue files in postfix? I plan to use a script to extract out the 'witheld' postfix mails, sieve through it & generate out a list of 'witheld' mails to be deleted. Then use a looping Shell script to rea

can withholding mails ( postsuper -h ... ) help with tens of thousands of spam mails hogging mailq

2010-10-21 Thread sunhux G
Question1: -- Title: tens of thousands of spoof/spam mails hog up mailq : will 'postsuper -h' placed in a crontab help ? I have a case where tens of thousands of spam & spoof emails jammed up my Linux SMTP mail queue (not that I don't have an anti-spam policy but many of these m