Re: confused about virtual_mailbox_domains parameter

2014-03-18 Thread Alan Chandler
On 15/03/14 07:16, Alan Chandler wrote: On 15/03/14 07:12, Alan Chandler wrote: ... According the explanation of all the parameters for main.cf virtual_mailbox_domains defaults to $virtual_mail_box maps. so I am thinking that I can drop that line in main.cf and move many of the elements in vi

Re: confused about virtual_mailbox_domains parameter

2014-03-18 Thread Ansgar Wiechers
On 2014-03-18 Alan Chandler wrote: > On 15/03/14 07:16, Alan Chandler wrote: >> On 15/03/14 07:12, Alan Chandler wrote: >>> ... >>> According the explanation of all the parameters for main.cf >>> virtual_mailbox_domains defaults to $virtual_mail_box maps. so I >>> am thinking that I can drop that l

Re: confused about virtual_mailbox_domains parameter

2014-03-18 Thread Alan Chandler
On 18/03/14 10:01, Ansgar Wiechers wrote: On 2014-03-18 Alan Chandler wrote: On 15/03/14 07:16, Alan Chandler wrote: On 15/03/14 07:12, Alan Chandler wrote: ... According the explanation of all the parameters for main.cf virtual_mailbox_domains defaults to $virtual_mail_box maps. so I am think

Re: Mail Server Accused of Spam!

2014-03-18 Thread Tim Smith
Thanks for the suggestion. The client in question is not too tech savvy so explaining the POP thing will probably not help. I have used that method before on a previous mail server with a different client and it worked perfectly. At the moment, all the spam is being directed to me by way of a

Re: confused about virtual_mailbox_domains parameter

2014-03-18 Thread Noel Jones
On 3/18/2014 5:14 AM, Alan Chandler wrote: > But in this case, I think it is the only way for me to illustrate my > frustration with this problem. Why is there no lookup of > virtual_mailbox_maps to notice that the recipient is to be routed to > a virtual mailbox. Postfix behaves as documented.

Re: 20-40+ second delays. Is this normal?

2014-03-18 Thread jmct
Hi Sahil, Sorry for my delayed response. I work in DEVOPS and we have had a crazy release schedule! I ran "postfix set-permissions" as root and did not see anything following - just sent me to the next line. I was working with another group within our company that uses Postfix just for relay pur

Re: 20-40+ second delays. Is this normal?

2014-03-18 Thread Viktor Dukhovni
On Tue, Mar 18, 2014 at 07:27:01AM -0700, jmct wrote: > Hi Sahil, > > Sorry for my delayed response. I work in DEVOPS and we have had a crazy > release schedule! > > I ran "postfix set-permissions" as root and did not see anything following - > just sent me to the next line. > > I was working wi

Re: 20-40+ second delays. Is this normal?

2014-03-18 Thread Wietse Venema
jmct: > I was working with another group within our company that uses Postfix just > for relay purposes and they noticed that in my /etc/postfix/master.cf - the > pickup process in the "never" column was set to a default of "60". I changed > this value to "1" and noticed that my e-mails are now sen

Virtually hosted canonical domain basic aliases?

2014-03-18 Thread Craig R. Skinner
I've done away with the traditional alias files & virtually aliased everything: $ postconf -n alias_maps \ alias_database \ virtual_alias_domains \ virtual_alias_maps alias_maps = $alias_database alias_database = virtual_alias_domains = btree:$config_directory/virtual_alias

Re: Network TCP port 47107 is being used by /usr/lib/postfix/proxymap. Possible rootkit: T0rn

2014-03-18 Thread li...@rhsoft.net
Am 18.03.2014 16:09, schrieb Ben Johnson: > A daily rkhunter scan produced the following warning, which mentions Postfix. > Is this a false-positive? > > Warning: Network TCP port 47107 is being used by /usr/lib/postfix/proxymap. > Possible rootkit: T0rn > Use the 'lsof -i' or 'netsta

Re: Network TCP port 47107 is being used by /usr/lib/postfix/proxymap. Possible rootkit: T0rn

2014-03-18 Thread Viktor Dukhovni
On Tue, Mar 18, 2014 at 11:09:44AM -0400, Ben Johnson wrote: > A daily rkhunter scan produced the following warning, which > mentions Postfix. Is this a false-positive? What is the anonymous port range on this system? Does proxymap perform LDAP, MySQL or other lookups making client TCP connectio

Network TCP port 47107 is being used by /usr/lib/postfix/proxymap. Possible rootkit: T0rn

2014-03-18 Thread Ben Johnson
Hello, A daily rkhunter scan produced the following warning, which mentions Postfix. Is this a false-positive? Warning: Network TCP port 47107 is being used by /usr/lib/postfix/proxymap. Possible rootkit: T0rn Use the 'lsof -i' or 'netstat -an' command to check this. The suggested com

Re: confused about virtual_mailbox_domains parameter

2014-03-18 Thread Alan Chandler
On 18/03/14 14:12, Noel Jones wrote: On 3/18/2014 5:14 AM, Alan Chandler wrote: But in this case, I think it is the only way for me to illustrate my frustration with this problem. Why is there no lookup of virtual_mailbox_maps to notice that the recipient is to be routed to a virtual mailbox.

Re: confused about virtual_mailbox_domains parameter

2014-03-18 Thread Noel Jones
On 3/18/2014 10:20 AM, Alan Chandler wrote: > What I am becoming to realise - but which I can't find documented > anywhere is that there is a subtle difference between a map of > domains (as keys) and a map of e-mail addresses (as keys), and > although the documentation tells you that virtual_mail

Re: confused about virtual_mailbox_domains parameter

2014-03-18 Thread Viktor Dukhovni
On Tue, Mar 18, 2014 at 03:20:16PM +, Alan Chandler wrote: > What I am becoming to realise - but which I can't find documented anywhere > is that there is a subtle difference between a map of domains (as keys) and > a map of e-mail addresses (as keys), and although the documentation tells > yo

Re: 20-40+ second delays. Is this normal?

2014-03-18 Thread jmct
Hi Wietse, Apologies - I have VERY little Linux experience - all learned using Google trying to get this mail server spun up. I've figured out the hard way that a lot of my problems on getting this thing set up were permission related in some form.. I have ran the command you requested. Here is t

Re: confused about virtual_mailbox_domains parameter

2014-03-18 Thread Alan Chandler
On 18/03/14 15:26, Noel Jones wrote: On 3/18/2014 10:20 AM, Alan Chandler wrote: What I am becoming to realise - but which I can't find documented anywhere is that there is a subtle difference between a map of domains (as keys) and a map of e-mail addresses (as keys), and although the documenta

Re: 20-40+ second delays. Is this normal?

2014-03-18 Thread Wietse Venema
jmct: > Hi Wietse, > > Apologies - I have VERY little Linux experience - all learned using Google > trying to get this mail server spun up. I've figured out the hard way that a > lot of my problems on getting this thing set up were permission related in > some form.. > > I have ran the command yo

Re: 20-40+ second delays. Is this normal?

2014-03-18 Thread Viktor Dukhovni
On Tue, Mar 18, 2014 at 08:29:43AM -0700, jmct wrote: > I have ran the command you requested. Here is the output: > > [root new]# ls -ld / /var /var/spool /var/spool/postfix > dr-xr-xr-x. 25 root root 4096 Mar 10 20:38 / > drwxr-xr-x. 20 root root 4096 Jan 20 08:37 /var > drwxr-xr-x. 13 root root

Re: Network TCP port 47107 is being used by /usr/lib/postfix/proxymap. Possible rootkit: T0rn

2014-03-18 Thread Ben Johnson
On 3/18/2014 11:14 AM, Viktor Dukhovni wrote: > On Tue, Mar 18, 2014 at 11:09:44AM -0400, Ben Johnson wrote: > >> A daily rkhunter scan produced the following warning, which >> mentions Postfix. Is this a false-positive? > > What is the anonymous port range on this system? Does proxymap > perf

Re: confused about virtual_mailbox_domains parameter

2014-03-18 Thread Alan Chandler
On 18/03/14 15:29, Viktor Dukhovni wrote: On Tue, Mar 18, 2014 at 03:20:16PM +, Alan Chandler wrote: What I am becoming to realise - but which I can't find documented anywhere is that there is a subtle difference between a map of domains (as keys) and a map of e-mail addresses (as keys), an

Re: 20-40+ second delays. Is this normal?

2014-03-18 Thread li...@rhsoft.net
Am 18.03.2014 16:38, schrieb Wietse Venema: > Now, look for SELINUX warnings. > > Or see if the warning goes away with: > > /etc/selinux/config: SELINUX=disabled > > and > > $service selinux restart selinux is not a service http://www.cyberciti.biz/tips/enable-permissive-mode-for-selinux-trou

Re: 20-40+ second delays. Is this normal?

2014-03-18 Thread jmct
I just figured this out myself when the command failed. My $setgid_group is set to "postdrop" and $queue_directory set to "/var/spool/postfix". I have ran "ls -ld" for those directories you specified -- [root~]# ls -ld /var/spool/postfix/maildrop/ drwx-wx---. 2 postfix postdrop 4096 Mar 18 10:57

Re: 20-40+ second delays. Is this normal?

2014-03-18 Thread tobi
Am 18.03.2014 17:13, schrieb jmct: I spoke with one of our Linux administrators and he advised that SELinux didn't even cross his mind because he's so used to disabling it on install. :P Just curious: normally postfix runs quite well with selinux enabled. Have you checked the audit logs where

Re: non TLS Auth only from local

2014-03-18 Thread li...@rhsoft.net
Am 18.03.2014 22:21, schrieb Sergei: > Is there a way to announce and allow unencrypted smtp authentication (AUTH > LOGIN) only from 127.0.0.1? > > I want Roundcube (webmailer) to use the users credentials when sending mail > for them and for performance reasons this should not require TLS. Bu

non TLS Auth only from local

2014-03-18 Thread Sergei
Is there a way to announce and allow unencrypted smtp authentication (AUTH LOGIN) only from 127.0.0.1? I want Roundcube (webmailer) to use the users credentials when sending mail for them and for performance reasons this should not require TLS. But when remote clients connect they should not be

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-3553g...@arlut.utexas.edu Head of Sun Support, Sr

Re: Columns in maillog that I don't understand

2014-03-18 Thread Viktor Dukhovni
On Tue, Mar 18, 2014 at 06:25:40PM -0500, Jay G. Scott wrote: > > 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? Your syslogd(8) inserts this data, Postfix does not g

Re: Columns in maillog that I don't understand

2014-03-18 Thread Wietse Venema
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? That text comes from your syslog daemon, not Postfix. > Can I turn it off? That is not a Postfix qu

postfix after queue content filter

2014-03-18 Thread Tim Prepscius
Greetings, I'm having troubles setting up the postfix after queue content filter. http://www.postfix.org/FILTER_README.html In a nutshell, the filter works correctly, however the sendmail command re-inserts the mail into the queue, and it hits the content filter again. (which in turn re-inserts i

SASL auth sessions last for days.

2014-03-18 Thread Pete
I've recently inherited an old posfix server and I'm having a fair bit of trouble with phising and compromised user accounts. I'm looking to rebuild the whole system in the near future but migrating thousands of mailboxes is a task that can't be done overnight. I've hacked together a couple scri