May 29, 2007  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31

[00:00:47] <tuxcrafter> Signum: time is up for today
[00:01:27] *** frennkie has joined #postfix
[00:01:52] <JeffH> anyone know what would be causing this..  ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory ??
[00:02:54] <Signum> JeffH: try "adduser clamav amavis"
[00:03:26] <tuxcrafter> JeffH: thank you for showing that at leased i am not the only one with that message
[00:03:45] <tuxcrafter> there goes something working when restarting some of the services
[00:03:59] <tuxcrafter> i was only able to fix it when rebooting the whole server
[00:04:05] <JeffH> Signum: I have amavis and clamav users
[00:04:25] <tuxcrafter> JeffH: please let me know if you found the problem
[00:04:41] <JeffH> when I find the problem I will.
[00:05:35] *** xDie has quit IRC
[00:05:53] <Signum> JeffH: "id -a clamav"?
[00:06:07] *** mh_le has joined #postfix
[00:06:18] <JeffH> Signum: uid=104(clamav) gid=108(clamav) groups=108(clamav)
[00:06:28] <Signum> JeffH: you didn't run adduser... :(
[00:06:55] <JeffH> Signum: I installed the debian package.. which I assumed did so under the covers.
[00:07:00] <mh_le> how do I get postfix to access the lmtp and mysql socket? I tried sumlinking to the dirs but that does not seem to work
[00:07:02] <Signum> 00:02 < Signum> JeffH: try "adduser clamav amavis"
[00:07:13] *** hoodow has left #postfix
[00:07:29] <Signum> JeffH: /usr/share/doc/amavisd-new/README.Debian:not there yet, and run "adduser clamav amavis" as root.
[00:07:53] <JeffH> alright, thanks.
[00:07:59] <JeffH> tuxcrafter: did you get that?
[00:08:12] <mh_le> anyway to mount the dirs at startup?
[00:08:31] <mh_le> I know how to do it manuallybut I would like to be able to do it at boot time
[00:08:48] <Signum> mh_le: you need a bind-mount in your /etc/fstab
[00:08:53] *** hoodow has joined #postfix
[00:09:16] <mh_le> like this /var/run/mysqld /var/spool/postfix/var/run/mysqld none bind 0 0
[00:09:17] <mh_le> ?
[00:09:51] <tuxcrafter> adduser clamav amavis
[00:09:51] <tuxcrafter> The user `clamav' is already a member of `amavis'.
[00:10:26] <tuxcrafter> uid=108(clamav) gid=116(clamav) groups=116(clamav),115(amavis)
[00:10:55] <mh_le> I can't seem to get the above to work though..
[00:11:12] <tuxcrafter> mh_le: still have the error?
[00:11:24] <Signum> mh_le: yes, looks good
[00:11:32] <mh_le> tuxcrafter: the der arn't being mounted..
[00:11:39] <mh_le> s/der/dir
[00:12:06] <tuxcrafter> i am going
[00:12:13] <tuxcrafter> Signum: thanks for your time
[00:12:31] <Signum> tuxcrafter: You're welcome. :)
[00:13:07] <tuxcrafter> Signum: take a look at the file I send you there are a lot of small improvements on your part
[00:13:12] <tuxcrafter> that we can discuss
[00:13:23] <Signum> I'll check.
[00:13:54] *** tuxcrafter has left #postfix
[00:14:18] <Signum> The "improvements" are very confusing though... as delicious as a core dump. (sigh)
[00:14:25] <mh_le> Signum: the lines I have enterd into fstad does not seem to have any effect..
[00:14:26] <mh_le> ;)
[00:15:23] <JeffH> damn.. comcast seems to block me sending the eicar string
[00:16:11] *** hemry has quit IRC
[00:16:26] <Signum> mh_le: do you see that mount?
[00:16:34] <mh_le> no it's not mounted
[00:17:33] <mh_le> let me try something.. I'll brb
[00:18:05] *** mh_le has quit IRC
[00:19:39] *** frennkie has quit IRC
[00:22:06] <JeffH> Signum: that didn't seem to fix the problem.
[00:22:47] <Signum> JeffH: no headers?
[00:23:10] <JeffH> ?
[00:23:14] <Signum> JeffH: ?
[00:23:17] *** fie has joined #postfix
[00:23:52] <JeffH> talking about the clamav no such file or directory error I get in my syslog
[00:24:10] <Signum> JeffH: "id -a clamav"? did you restart clam-daemon?
[00:24:26] <JeffH> I rebooted.. so yes
[00:24:30] *** mh_le has joined #postfix
[00:24:44] <mh_le> nope that didn't help...
[00:24:49] <JeffH> Signum: uid=104(clamav) gid=108(clamav) groups=108(clamav),107(amavis)
[00:25:18] <mh_le> anyone got anyidea on how to mout a dir at a specific location?
[00:25:32] <Signum> JeffH: that solved the problem here. what are the ownership and permissions on /var/run/clamav?
[00:26:26] <JeffH> Signum: drwxr-xr-x 2 clamav clamav 80 2007-05-28 16:31 /var/run/clamav
[00:28:51] <Signum> JeffH: same here. a bit strange indeed.
[00:29:25] <mh_le> Signum: why do I need a bind mount?
[00:29:42] <Logikos> useing thunderbird to connect to the ubuntu server 6.06 with postfix and dovecot that i just setup i get this error: Plaintext authentication disabled,  when i edit dovecot.conf and change the disable plantext auth to no ... thunderbird just kinda sits there .... trying ... and then stops trying with no error messages
[00:29:44] <Signum> mh_le: you are likely running your postfix chroot. and that means the mysql socket is outside the scope of your chroot jail directory
[00:29:53] <JeffH> Signum: do yu have a /var/run/clamav/clamd.ctl?  I don't.
[00:30:00] <Signum> JeffH: I do
[00:30:05] <Logikos> i dont know if dovecot or postfix or somethign else is the problem... and i dont nkow how to trouble shoot it, i've searched fourms and docs ....
[00:30:14] <Signum> JeffH: srwxrwxrwx 1 clamav clamav 0 2007-05-29 00:04 /var/run/clamav/clamd.ctl
[00:30:39] *** fietronic has quit IRC
[00:31:07] <JeffH> it woudln't be as simple as me creating that file would it/
[00:31:08] <JeffH> ?
[00:31:33] <JeffH> the strange thing is the delivery is attempted again and it works just fine.
[00:31:34] <Signum> JeffH: nope. the clam daemon needs to create it.
[00:33:00] <mh_le> Signum: do you know why I'm not able to use that line in fstab?
[00:33:51] <Signum> mh_le: actually, no. I'm not using the mysql socket here. I rather connect to "127.0.0.1" which uses a TCP connection. slightly slower. but much simpler.
[00:34:34] <mh_le> no kidding
[00:35:54] <mh_le> Signum: how do I tell post fix to do that?
[00:36:33] <Signum> mh_le: instead of "localhost" as the database server's name use "127.0.0.1"
[00:36:48] <mh_le> ah okay
[00:37:39] <JeffH> Signum: I think I found the problem.. I don't have an /etc/amavis/amavisd.conf
[00:37:52] <Signum> JeffH: but probably /etc/amavis/conf.d
[00:38:11] <JeffH> I do have that directory
[00:38:39] <Signum> JeffH: there's the configuation
[00:38:43] <JeffH> I found something on the net that seems to refer to this.. but its in french..
[00:40:10] <mh_le> which port does lmtp use?
[00:43:29] *** TheOutlander has quit IRC
[00:48:50] <Logikos> please help, useing postfix and dovecot i'm not able to download emails via pop3 with thunderbird, however i am able to download them with imap in opera ... how do i get pop3 to work ? or are there error log files somewhere i can look at, i dont know how to troubleshoot this?
[00:50:19] *** GoGi has quit IRC
[00:52:05] <olinux> Logikos, i think just enable in your dovecot.conf
[00:52:06] <mh_le> Signum: when specifyin 127.0.0.1 as host do I need to specify the port?
[00:52:19] <olinux> and open appropriate ports
[00:52:20] *** _bugz_ has quit IRC
[00:52:51] <Logikos> olinux: i have this: protocols = imap imaps pop3 pop3s
[00:53:01] <Logikos> olinux: do i need something else ?
[00:53:07] <olinux> you have firewall open for port 110?
[00:53:13] <JeffH> Signum: if you do 'ps -ef | grep clam' what processes do you see?
[00:53:35] <Logikos> olinux: no, i can use a telnet client to connect to it fine
[00:55:58] <olinux> can you pop3 with opera?
[00:57:13] <Logikos> nope
[00:59:29] *** roe_ has quit IRC
[00:59:48] <Logikos> olinux: thanks for your help, i found the problem ... i had tabs in this line: pop3_uidl_format = %08Xu%08Xv in the .conf file aparently :\
[01:00:51] *** war has quit IRC
[01:02:42] <mh_le> I seem to be unable to recive mail as the connections for other mail servers are rejected... what can I do?
[01:03:32] <JeffH> anyone happen to know what debian packaga contains clamd?
[01:03:58] <mh_le> no wait..
[01:06:57] <mh_le> is lmtp's default port 24?
[01:07:36] <JeffH> does the postfix/amavis way of doing thing use clamd?
[01:07:41] *** cilly has joined #postfix
[01:15:37] <mh_le> okay I got it to connect though tcp lmtp, but postfix says it needs authorization, what gives?
[01:26:21] *** Azhi_Dahaka has quit IRC
[01:53:30] <mh_le> is there anyway to disable auth for lmtp??
[01:59:42] *** GMFlash has quit IRC
[01:59:49] *** GMFlash has joined #postfix
[02:12:17] *** TTIelu has quit IRC
[02:23:03] *** Motoko-chan has joined #postfix
[02:25:38] <JeffH> anyone have experience getting amavis to use clamav?  I have both installed, but something isn't right as I can't detect the EICAR virus when I send it from another machine.
[02:26:26] *** xpoint has quit IRC
[02:26:51] <Motoko-chan> Run amavisd with debug?
[02:27:02] <Motoko-chan> See if it detects the scanner
[02:29:38] <JeffH> Here's what I see..  Using internal av scanner code for (primary) ClamAV-clamd
[02:29:52] <Motoko-chan> Good
[02:31:05] *** _bugz_ has joined #postfix
[02:39:15] *** ircminer03 has quit IRC
[02:57:10] *** jbt has joined #postfix
[03:07:04] *** cilly has quit IRC
[03:09:21] *** majikman-home has joined #postfix
[03:15:30] *** roe_ has joined #postfix
[03:28:14] *** jbt has quit IRC
[03:29:52] <majikman-home> any idea why i'm getting this? May 28 22:29:47 conch postfix/smtp[24180]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
[03:31:05] <majikman-home> i would like my postfix installation to allow all mail originating from the local computer
[03:37:13] *** etaylor has quit IRC
[04:04:50] *** killown has joined #postfix
[04:05:19] *** majikman-home has quit IRC
[04:23:27] *** doomas_ has joined #postfix
[04:25:47] *** rmayorga has quit IRC
[04:35:55] *** killown has quit IRC
[04:37:09] *** rmayorga has joined #postfix
[04:37:16] *** doomas has quit IRC
[04:39:39] *** killown has joined #postfix
[04:40:59] *** estevao has joined #postfix
[04:49:36] *** estevao has quit IRC
[05:17:29] *** feross has joined #postfix
[05:20:37] *** jbt has joined #postfix
[05:21:47] *** neko has quit IRC
[05:32:32] *** aldin has joined #postfix
[05:32:59] <aldin> anyone in mood to help me set mailserver postfix? i have account on dyndns.org, and have install postfix, put someusername.dyndns.org for MailName, i am using ubuntu 7.04
[05:33:32] <rob0> !basic
[05:33:33] <knoba> rob0: 'basic' : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[05:35:45] *** zodell has joined #postfix
[05:38:41] *** zodell has left #postfix
[05:39:10] <jbt> aldin: you can also bribe me with a basic account and and irc client for that
[05:41:27] <aldin> jbt: excuse me, eng isng my native lang
[05:41:43] <aldin> jbt: could u explain it bribe irc...?
[05:42:25] <jbt> aldin: i will do it for you...it you give me an account on your box with irc access after
[05:44:35] <aldin> what kind of account? mail or my pc-linux account? and what irc acces is about?
[05:45:01] <aldin> jbt: ?
[05:46:10] <jbt> aldin: linux user account with irc access
[05:49:48] <aldin> jbt: for setting postfix u need to be privileged user, but cant give u that pass... sory is there a way to help me here?
[05:55:01] <aldin> look i have 'accountname.dyndns.org' what should i put instead server1.example.com
[05:56:19] <Dominian> accountname.dyndns.org
[05:56:25] <Dominian> that's what you should us
[05:56:26] <Dominian> e
[05:57:31] <aldin> Dominian: ok
[05:59:13] *** killown has quit IRC
[06:02:02] <aldin> what ports should i open on router for postfix?
[06:02:31] <Dominian> 25
[06:02:46] <hparker> imo you should test it locally and make sure it works properly before opening the router
[06:03:05] <Dominian> agreed
[06:05:33] <aldin> ok is it TCP/UDP or TCP type?
[06:05:58] <rob0> Shiner Bock time
[06:06:20] <rob0> and then Mint Irish Cream for dessert
[06:14:53] *** Tinozaure is now known as Tino
[06:14:55] *** Tino is now known as Tinozaure
[06:20:06] <aldin> can i send mail on more adresses at one time 'rcpt to: name at gmail dot com name2 at mydomain dot com' if so, do i separate it by ','?
[06:24:52] <rob0> If you mean raw SMTP, it's "rcpt to:<user at example dot com>" with mandatory <> brackets and only one address per RCPT command.
[06:26:43] <f3ew> rcpt to:<address>
[06:26:44] <f3ew> rcpt to:<address>
[06:26:45] <f3ew> rcpt to:<address>
[06:26:47] <f3ew> like that
[06:35:31] <aldin> f3ew: ok, thanks
[06:35:36] <aldin> sudo postconf -e "mydestination = mail.fossedu.org, localhost.localdomain, localhost, yourdoamin.com"
[06:35:50] <aldin> do i need to put 'mail.fossedu.org'
[06:35:59] <aldin> or should i leave mail.fossedu.org
[06:36:08] <aldin> mail.mydomain.com
[06:36:38] <rob0> !mydestination
[06:36:38] <knoba> rob0: 'mydestination' : a configuration parameter in the main.cf: The list of domains that Postfix delivers via the $local_transport mail delivery transport. By default, mail is given to the Postfix local(8) delivery agent that looks up all recipients in /etc/passwd and /etc/aliases, or their equivalents.
[06:36:38] <aldin> or should i leave mail.mydomain.com localhost.localdomain, localhost, mydomain.com
[06:39:29] <aldin> telnet: could not resolve mail.username.dyndns.org/25: Name or service not known
[06:39:48] <aldin> i did this telnet mail.username.dyndns.org 25 ?
[06:39:52] <aldin> what was wrong
[06:40:04] <aldin> Name or service not known?
[06:40:43] <hparker> Host mail.username.dyndns.org not found: 3(NXDOMAIN)
[06:41:02] <hparker> Doesn't exist, pretty obvious
[06:41:40] <aldin> actually it is 'kapetano.dyndns.org'
[06:41:50] <aldin> but i got this Relay access denied
[06:42:17] <hparker> !basic
[06:42:18] <knoba> hparker: 'basic' : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[06:42:27] <hparker> Take a look at that again
[06:42:57] <aldin> hparker: i am following this howtos https://help.ubuntu.com/community/Postfix https://help.ubuntu.com/community/PostfixBasicSetupHowto
[06:43:44] <hparker> Howto's are nice for guidance
[06:43:57] <hparker> When that doesn't work, use the official docs
[06:44:07] <aldin> hparker: ok thanks
[06:44:45] <aldin> hparker: i just wanted to follow one "documentation" not to mix them till done
[06:45:01] <hparker> Then use the official docs
[06:46:11] <aldin> ok
[06:46:46] <aldin> but this was specific for distro.. like apt-get install that&that package
[06:46:48] <hparker> Or at least double check what you have against the official docs
[06:46:56] <rob0> Both the Postfix and Ubuntu ones assume that you have a basic understanding of DNS.
[06:47:01] *** jbt has quit IRC
[06:47:02] <hparker> main.cf is still the same
[06:47:12] <rob0> Neither one will explain all that to you.
[06:48:04] <aldin> hparker: yeah but dont know will official assume that i have some ssl gti packages, thats the main readon i decided to go on wiki.ubuntu.com... perhaps i didn't follow them as it should...
[06:48:46] <hparker> And all the ore reason to check against official, wikis aren't always correct
[06:49:18] <aldin> ok
[06:54:11] *** roe_ has quit IRC
[06:58:20] *** amrit|gon is now known as amrit
[07:06:53] <aldin> what is difference between telnet mail.domain.com and telnet domain.com, and how do i set mail.domain.com?
[07:08:25] <hparker> Have to ask your DNS provider, probably dyndns.org
[07:10:11] <baggito> dig mail.domain.com
[07:10:14] <baggito> dig domain.com
[07:10:16] <baggito> to find out
[07:10:26] <aldin> ok
[07:10:39] <aldin> thanks for helping me though
[07:13:09] *** rmayorga has quit IRC
[07:19:10] <aldin> ...opened 25 110 143... btw guys how can i see is my postfix working, if someone is willing to try my domain is kapetano.dyndns.org
[07:19:17] <aldin> is my mail now fmaster at kapetano dot dyndns.org?
[07:20:10] <aldin> or is it any user which is in /home dir?
[07:20:51] <baggito> dig mx kapetano.dyndns.org
[07:20:59] <baggito> that shows you where your mail exchanger is
[07:21:04] <baggito> doesn't look like you have one set up
[07:23:08] *** ircminer03 has joined #postfix
[07:23:13] <aldin> sorry for flood
[07:23:16] <aldin> From root at kapetano dot dyndns.org  Tue May 29 06:21:41 2007
[07:23:21] <aldin> Return-Path: <root at kapetano dot dyndns.org>
[07:23:24] <aldin> X-Original-To: fmaster at kapetano dot dyndns.org
[07:23:29] <aldin> Delivered-To: fmaster at kapetano dot dyndns.org
[07:23:33] <aldin> Received: from kapetano.dyndns.org (cm-1082.europronet.ba [80.65.173.224])
[07:23:36] <aldin>         by linux (Postfix) with ESMTP id 368F64FC48E
[07:23:48] <aldin>         for <fmaster at kapetano dot dyndns.org>; Tue, 29 May 2007 06:18:38 +0200 (CEST)
[07:23:53] <aldin> Message-Id: <20070529042100.368F64FC48E@linux>
[07:23:56] <aldin> Date: Tue, 29 May 2007 06:18:38 +0200 (CEST)
[07:24:00] <aldin> From: root at kapetano dot dyndns.org
[07:24:05] <aldin> To: undisclosed-recipients:;
[07:24:05] <aldin> Status: RO
[07:24:05] <aldin> baggito: is this ok
[07:24:05] <aldin> sorry for flood (again)
[07:25:11] <hparker> !pastebin
[07:25:12] <knoba> hparker: 'pastebin' : a way to paste larger amounts of text so that other people can read it. Try http://www.rafb.net/paste/ or http://paste.debian.net/ - Do not forget to tell us the URL where you pasted it.
[07:25:18] <hparker> aldin: Please read ^^^
[07:25:36] <aldin> hparker: sorry...
[07:48:58] <aldin> how do i send mail from my pc box to username at gmail dot com?
[07:49:05] <aldin> from postfix?
[07:50:19] <many> which mail?
[07:51:38] <aldin> well i installed postfix, i have set it up on kapetano.dyndns.org
[07:52:09] <aldin> so i want to send mail to my "friend" which has account on lets say gmail
[07:52:32] <many> unless you broke something or your ISP filters port 25, this should work out of the box
[07:53:15] <aldin> many: but from where to send it from terminal? and what is command? is there some web based interface for postfix ?
[07:53:30] <many> postfix is an MTA, no MUA.
[07:53:47] <many> install mutt, pine, mail, mailx, whatever you prefer.
[07:54:00] <aldin> ok i have mailx
[07:54:23] <many> (postfix is the postman, to write mails you still need a pencil, the postman wont do that for you)
[07:54:36] <aldin> aha
[07:55:21] <many> well, then use mailx to compose a mail and let it send then.
[07:55:42] <aldin> ok, i am just man-ing mailx to see how its doing
[07:55:56] <aldin> btw is there some gui based "pencil"
[07:56:05] <many> thunderbird? ;)
[07:56:15] <aldin> lol
[07:56:45] <many> mail, mailx are very minimalistic text utilities
[07:57:13] <many> mutt and pine do have text based, basically intuitive, "gui" interfaces
[07:57:37] <many> X runs evolution, thunderbird, kmail (i think these are the major three)
[07:58:25] <many> windows has thunderbird, outlook of course, i think opera once had one mailagent, and theres qualcomm eudora or something
[07:58:43] <aldin> yeah i have them but i am confused (too much mailservers today for me hehe - i am new just learning first steps though)
[07:58:44] <many> pegasus had alot of favorites in the w95 days :)
[07:58:46] <aldin> what to put
[07:58:52] <aldin> as parameters in thunderbird
[07:59:09] <many> to send mail you need to configure SMTP
[07:59:19] <many> to receive mail, you need to configure POP3 or IMAP
[07:59:29] <aldin> ok i have pop3 imap running ok
[07:59:36] <aldin> at least i got those results
[07:59:51] <aldin> telnet mail.yourdomain.com 110
[08:00:01] <aldin> telnet mail.yourdomain.com 143
[08:00:05] <many> well, you should know your servers ip, your username and password
[08:00:06] <aldin> are said it is ok
[08:00:13] <many> enter it in thunderbird
[08:00:25] <aldin> my domain is kapetano.dyndns.org
[08:00:34] <aldin> are the user those found in /home?
[08:00:39] <many> yes.
[08:01:11] <aldin> icoming server?
[08:01:18] <aldin> what should i put here?
[08:01:24] <many> bosnia and herzegovina. soso
[08:01:29] <many> your ip
[08:01:46] <aldin> note: i am setting it in thunderird
[08:01:52] <many> yes
[08:02:14] <aldin> should i put incoming server -> kapetano.dyndns.org?
[08:02:41] <aldin> btw it says POP -> incoming server->?
[08:05:30] <aldin> wow!!!!!
[08:05:38] <aldin> i got msgs in thunderbird!!!
[08:16:28] *** Lap_64 has joined #postfix
[08:23:38] *** feross has quit IRC
[08:26:01] *** jbt has joined #postfix
[08:32:46] *** hparker has quit IRC
[08:38:10] *** mazon is now known as Mazon
[08:50:27] *** pmjdebruijn has joined #postfix
[08:50:55] *** Motoko-chan has quit IRC
[08:56:56] *** aldin has quit IRC
[08:59:31] *** pmjdebruijn has quit IRC
[09:00:00] *** olinux has quit IRC
[09:02:07] *** pmjdebruijn has joined #postfix
[09:09:47] *** gypsymauro has joined #postfix
[09:10:06] <gypsymauro> what's the best way to manage account in postfix? I'm thinking to use ldap is that so bad?
[09:10:59] <f3ew> no
[09:13:56] *** Lap_64 has quit IRC
[09:14:47] *** henno has joined #postfix
[09:15:44] <henno> is there a way to forward a copy of outgoing messages from certain accounts to another email address and/or local Maildir?
[09:16:08] <jbt> !always_bcc
[09:16:09] <knoba> jbt: 'always_bcc' : a configuration parameter in the main.cf: Optional address that receives a "blind carbon copy" of each message that is received by the Postfix mail system.
[09:16:42] * jbt naah...this magic from still listens to summoning
[09:16:45] <henno> wow, it is that easy hey
[09:17:24] *** JeffH has left #postfix
[09:18:49] <henno> "To avoid mailer loops, automatic BCC recipients are not generated for mail that Postfix forwards internally, nor for mail that Postfix generates itself."
[09:19:29] <henno> so if the sending email is "user at domain dot com" and the bcc email is "copy at domain dot com" it will not work?
[09:19:36] *** SeXaPiLe has joined #postfix
[09:19:41] <henno> because the email is forwarded internally
[09:22:12] <f3ew> that will
[09:22:15] <f3ew> think bounces
[09:22:39] <henno> riiight
[09:22:48] <SeXaPiLe> hello everyone, I receive mail from my postfix deamon, like SPAM FROM, INVALID HEADER, VIRUS etc... those are in english and i'm trying to put them in french. Do you know where those files are please ?
[09:23:13] <henno> although it doesn't look like I can filter by specific domain/email address
[09:23:20] <henno> it is all-or-nothing
[09:23:29] <kciR> henno: yes you can
[09:23:39] <henno> kciR: oh sorry then
[09:23:42] * henno reads further
[09:24:00] <henno> I was just firing up some procmail scripts to /dev/null a lot of stuff
[09:24:07] <henno> but if there is another way :)
[09:24:28] <f3ew> SeXaPiLe, that doesn't sound like Postfix
[09:24:43] <f3ew> !discard
[09:24:44] <knoba> f3ew: Error: "discard" is not a valid command.
[09:24:51] <f3ew> !check_recipient_access
[09:24:51] <knoba> f3ew: Error: "check_recipient_access" is not a valid command.
[09:24:54] <f3ew> grrr
[09:25:03] <f3ew> See man 5 access, DISCARD
[09:25:07] <f3ew> or FILTER
[09:25:29] <henno> ok, thanks
[09:25:30] <SeXaPiLe> yes f3ew, but ...
[09:26:04] <SeXaPiLe> f3ew: gonna look the other way, thanks
[09:27:31] <SeXaPiLe> f3ew: gregueuh>	SeXaPiLe: look in /etc/amavis/en_US/
[09:27:36] <SeXaPiLe> thanks you both
[09:28:02] *** af_ has joined #postfix
[09:32:35] *** Lap_64 has joined #postfix
[09:33:18] *** the_black_box has joined #postfix
[09:34:04] *** aldin_ has joined #postfix
[09:35:56] <henno> f3ew: perhaps sender_bcc_maps and recipient_bcc_maps are more suitable for my purpose (ie rather than including all and excluding a few I want to exclude all and include only a fwe)
[09:36:01] *** [miles] has joined #postfix
[09:39:26] *** qiyong has joined #postfix
[09:39:28] <qiyong> is there any web interface to manipulate virtual users for postfix?
[09:40:31] <henno> qiyong: I think webmin has a web interface if that is what you mean, but as I do not use webmin, I cannot endorse such a thing :)
[09:40:49] <qiyong> henno, what you use?
[09:41:08] <f3ew> postfixadmin?
[09:41:11] <f3ew> webmin?
[09:41:42] <henno> qiyong: I don't have virtual users
[09:42:28] *** theblackbox has quit IRC
[09:43:22] *** bostik has joined #postfix
[09:43:33] *** bostik_ has quit IRC
[09:46:11] *** [miles] has quit IRC
[09:46:53] *** bostik has quit IRC
[09:47:15] *** bostik has joined #postfix
[09:56:22] *** SeXaPiLe has quit IRC
[09:56:56] *** JosefAss1d is now known as JosefAssad
[09:57:11] <aldin_> how to find out is my ISP blocking port 25
[09:58:48] <ek> Telnet to your IP from an outside machine.
[09:58:55] <ek> ... with something running on port 25.
[10:02:12] *** war has joined #postfix
[10:03:41] <aldin_> ek, ok , could u test it from ur IP, it works for me, 'telnet kapetano.dyndns.org 25'
[10:03:56] *** yam has joined #postfix
[10:04:55] *** amrit is now known as amrit|zzz
[10:06:31] <ek> Sure.
[10:08:53] <aldin_> ek: ?
[10:08:58] <aldin_> look http://pastebin.ubuntu-nl.org/23050/
[10:09:34] <ek> aldin_: Doesn't seem to be responding at all.
[10:09:43] <aldin_> ek ok
[10:10:12] *** aldin_ is now known as aldin
[10:11:08] *** Lap_64 has quit IRC
[10:11:39] *** Lap_64 has joined #postfix
[10:16:58] *** frennkie has joined #postfix
[10:18:16] *** mastachand has joined #postfix
[10:25:13] *** [miles] has joined #postfix
[10:38:56] *** n0rus has joined #postfix
[10:39:57] <n0rus> I'm editing the /etc/aliases file but changes I do do not get applied. Is there something else that must be done after editing /etc/aliases?
[10:40:22] *** blackbox has joined #postfix
[10:40:23] <ek> n0rus: Run newaliases?
[10:40:35] <n0rus> thatnk you
[10:40:37] <n0rus> thank
[10:41:01] <ek> Welcome.
[10:42:26] *** cutmasta has joined #postfix
[10:43:48] *** n0rus has quit IRC
[10:44:49] *** adaptr has joined #postfix
[10:45:58] *** prebur has quit IRC
[10:46:33] *** RA3OR[psy] has joined #postfix
[10:46:48] <RA3OR[psy]> question: if i set max attach filesize = 10mb, cand i bypass the setting for special users ?
[10:47:14] *** RA3OR[psy] is now known as RA3OR
[10:47:39] <RA3OR> pls use my nick in your reply to me
[10:47:40] *** the_black_box has quit IRC
[10:48:03] <RA3OR> ny idea, greatly appreciated
[10:48:11] <RA3OR> *any
[10:49:29] <ek> RA3OR: Not as far as I've ever heard.
[10:51:06] <adaptr> RA3OR no, that's what it's for - a limit
[10:55:47] *** prebur has joined #postfix
[11:02:11] *** syn has joined #postfix
[11:02:25] <syn> hello
[11:03:08] <syn> i run a postfix mta at home, and when sending mail to some friends, the connection is lost "while sending MAIL FROM"
[11:03:22] <syn> it seems the problem comes from the remote ISP, but anyway, i need to fix the issue
[11:03:26] <adaptr> directly to your friends, or to their ISPs ?
[11:03:35] <syn> to their ISP
[11:03:40] <adaptr> so it sucks, what else is new ?
[11:03:41] <syn> the target domain has 2 MX
[11:03:51] <syn> only one of them seems to suffer from these problems
[11:04:00] <syn> unfortunately, it's the one with highest priority
[11:04:14] <syn> (or numerically lowets, to avoid interpretation)
[11:04:15] <adaptr> so tell postfix to always use the second MX
[11:04:24] <syn> that's what i was about to ask :)
[11:04:32] <adaptr> you can hard set a route for any domain
[11:04:35] <syn> i didn't find it in the docs
[11:04:44] <syn> is there a specific map ?
[11:04:50] <adaptr> I doubt you read through all of the 500+ possible settings...
[11:04:55] <adaptr> yes, you can map it
[11:04:58] <syn> of course, no
[11:05:08] <syn> but i spent quite some time
[11:05:11] <adaptr> if you set the MX you want as the next hop for the domain in question, it'll use that
[11:05:26] <syn> what's the map name ?
[11:09:17] *** cutmasta has quit IRC
[11:12:07] *** xpoint has joined #postfix
[11:12:26] <RA3OR> adaptr: a simple no, doesnt help me, i need a logical anser, there must be a way, anything is possible ....
[11:13:29] <syn> hmm
[11:13:37] <syn> looks like the transport map
[11:13:42] <syn> i wonder how i could miss it
[11:13:44] <adaptr> RA3OR what are you fishing for ? you ask whether setting the global variable to control the maximum attachement size will allow you to override it for specific users, and the only conceivable answer is, of course, no
[11:14:16] <RA3OR> adaptr: i understand your answer, unfortunately... my boss doesnt
[11:14:38] <adaptr> well, tell him to pay a postfix consultant to solve it, then - that's what I would do
[11:14:48] *** cutmasta has joined #postfix
[11:15:23] <RA3OR> adaptr: and he'll tell me to sign my resignation ...
[11:16:38] <adaptr> okay, so no use talking about your boss here, then - YOU need to find an answer
[11:16:50] <RA3OR> adaptr: yes, and fast
[11:17:25] <adaptr> if postfix doesn't natively support it you could pipe it all through procmail and make the decision there
[11:18:06] <RA3OR> i explained the downs of bypassing it, and what a big size attach can do to other users (queue/lag..stuff like that) and i got: so? when will you bypass it
[11:18:33] <adaptr> for him, right ? what a fuckwad
[11:18:42] <RA3OR> adaptr: pls keep in mind you're not talking to a postfix guru
[11:18:54] <adaptr> if he doesn't trust you to do what is best for the network, he doesn't deserve you
[11:19:03] <RA3OR> adaptr: worse, for HER
[11:19:10] <adaptr> aaaagh my eyes! my eeeyes!
[11:19:15] <RA3OR> :))
[11:21:27] <f3ew> RA3OR, if this is per sender, you could use a policy daemon
[11:21:37] <f3ew> otherwise it's a global setting
[11:21:50] <syn> well, the transport map helped, thanks
[11:21:55] <syn> and HAND
[11:22:00] *** syn has left #postfix
[11:23:38] <RA3OR> f3ew: its global
[11:25:25] <RA3OR> ermm
[11:25:39] <RA3OR> so, the default setting for attachments is 10mb, right?
[11:26:04] <RA3OR> this is what i have in the main.cf
[11:26:26] <RA3OR> #message_size_limit = 0
[11:26:55] <f3ew> just under 10
[11:28:21] <RA3OR> http://archives.neohapsis.com/archives/postfix/2000-01/0314.html
[11:30:23] *** tore has joined #postfix
[11:31:07] *** jMCg has joined #Postfix
[11:31:23] <jMCg> Hello boys and girls
[11:32:24] <adaptr> I'd like to take you to the inside world...
[11:32:58] <jMCg> I was wondering how to set up a Postfix server that receives mail, "filters" ist [i.e. encrypt it with PGP] and then relays to another SMPT server [which then puts it in a Maildir]
[11:34:36] * RA3OR gives adaptr his sunglasses
[11:34:41] <adaptr> well, postfix is pretty good with external processing, you could just feed it to a script which does that
[11:34:58] <RA3OR> play with femaes, you get burnt
[11:35:06] <adaptr> why not do it on the receving end ? no need for two MTAs
[11:35:17] <RA3OR> thats why i come to office with a welder's mask
[11:35:23] <RA3OR> :))
[11:35:28] *** Mavvie has quit IRC
[11:36:04] <f3ew> or on the sending end
[11:36:09] <jMCg> adaptr: in how far? [apart from the part that I have certain constraints..]
[11:36:16] <jMCg> f3ew: let's not talk about that end.
[11:37:04] <adaptr> indeed, we do not talk about that end
[11:37:20] <adaptr> in how far what ? is it good at external processing ?
[11:38:01] *** milligan has joined #postfix
[11:38:10] *** af_ has quit IRC
[11:38:57] *** hoodow has left #postfix
[11:39:02] <jMCg> Okay... I think I should state my constraints so it's easier for you guys to tell my I'm talking complete and utter bullshit:
[11:39:29] *** hoodow has joined #postfix
[11:41:00] <jMCg> The SMTP server and the POP3 server must be seperate. Be it on different hardware, or as in my case in different Solaris zones, doesn't quite matter. As soon as the mails are stored *anywhere* they [or at least their payload, I suppose] have to be encrypted.
[11:43:03] <jMCg> [Having the Filesytem encrypted was an option, but is not satisfying enough, as it only protects from someone ripping the HD out]
[11:45:07] <adaptr> so you need encrypted transport as well
[11:45:15] <adaptr> all the way to the client, I presume
[11:45:27] <adaptr> so enforce SSMTP on both ends
[11:45:35] <adaptr> *and* encrypt the drive
[11:46:14] <jMCg> adaptr: nope.. not transport.
[11:46:20] <jMCg> In the contrary.
[11:46:36] <jMCg> The thing that sends a good deal of the mails doesn't even know what encryption is.
[11:46:44] <adaptr> you just stated that the traffic (mail) from the SMTP relay to the pop3 machine needs to be secure
[11:46:56] <adaptr> don't back out on me now
[11:47:20] <adaptr> oh, wait...
[11:47:35] <adaptr> yes, PGPGPG does seem the best option in that case
[11:47:55] <jMCg> [evil internet]->[securelanfirewalldoing NAT]->[loadbalancer]->[smpt]->[enctyption]->[smpt]->[maildir]->[pop3]->
[11:47:56] <adaptr> you can just set postfix to pipe everything it receives for the storage through a GPG sacript
[11:49:07] *** cilly has joined #postfix
[11:52:45] <adaptr> is this some kind of insane SOX compliance thing you need to fulfill ?
[11:53:38] <jMCg> PCI.
[11:53:43] *** qiyong has quit IRC
[11:53:47] <adaptr> ?
[11:54:37] <f3ew> credit card processing
[11:54:51] <jMCg> Yep.
[11:55:01] <jMCg> "Payment Card Industry (PCI) Data Security Standards (DSS) - A standard from the PCI group developed to ensure financial data security standards"
[11:55:29] <f3ew> jMCg, messages are stored in the queue
[11:55:42] <f3ew> you have to encrypt them BEFORE they enter the queue
[11:57:06] <f3ew> What you _could_ do is give the sending systems a sendmail wrapper which actually does the crypto before invoking Sendmail
[11:57:51] <jMCg> f3ew: some of the sending systems is a FAX hardware that doesn't know what SSL, TLS or sendmail, for that matter, is.
[11:58:01] <f3ew> urk
[11:58:08] *** baggito has left #postfix
[11:58:56] * adaptr suddenly gets the "we don't talk about the sending systems" bit
[11:59:26] <f3ew> then you do it at the fax->email conversion point
[11:59:38] <f3ew> adaptr I guessed it would be
[12:00:47] *** jbt has quit IRC
[12:03:57] <aldin> how to find out is my ISP blocking port 25
[12:04:19] <Lap_64> aldin, use nmap and scan
[12:04:59] <adaptr> aldin SSH to a remote host and try to telnet to port 25 on your machine
[12:06:15] <aldin> Lap_64: i need to man nmap
[12:06:26] <aldin> do u have quick command? for exact problem
[12:06:33] <adaptr> aldin I stated it
[12:06:36] <Lap_64> nmap -v -sS -P0 -O yourserverip
[12:06:51] <aldin> adaptr: i dont have any other machine to SSH on
[12:06:52] <adaptr> Lap_64 that's useless from your own network
[12:07:03] <adaptr> aldin then you have no way of easily determining this, either
[12:07:33] *** nescius has joined #postfix
[12:08:17] <aldin> Lap_64: my ip is kapetano.dyndns.org can u try?
[12:09:14] <adaptr> aldin do you have anything listening on port 25 ?
[12:09:30] <aldin> adaptr: oops i had postfix
[12:09:32] <aldin> just sec
[12:10:13] <aldin>  * Starting Postfix Mail Transport Agent postfix                                                                                                      [ OK ]
[12:10:27] <adaptr> and again
[12:11:12] <adaptr> now you've shut down pop3 imap and proxy, only http is open
[12:11:14] <aldin> http://pastebin.ubuntu-nl.org/23061/
[12:11:54] <mh_le> what does this error mean?
[12:11:57] <mh_le> postfix/lmtp[28323]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
[12:12:04] <adaptr> what it says, I would think
[12:12:44] <mh_le> adaptr: I mean, who's password should be in the password table?
[12:13:15] <adaptr> have you tried the manual ? if not, why are you implementing things you have not read the documentation for ?
[12:13:40] <aldin> adaptr: i did
[12:13:45] <aldin> check this
[12:13:49] <adaptr> if you want to allow normla unix users to auth via sasl, you should specify /etc/passwd as the table
[12:14:06] <adaptr> but be warned that this allows all users to auth
[12:14:12] <mh_le> adaptr: I'm trying to get postfix to send messages to cyrus via lmtp, and I did follow the manual, but it didn't mention that I would encounter this
[12:14:13] <aldin> http://pastebin.ubuntu-nl.org/23050/
[12:14:31] <adaptr> aldin you do not have SMTP
[12:14:32] <aldin> adaptr: http://pastebin.ubuntu-nl.org/23050/
[12:14:38] <aldin> ha?
[12:14:51] <aldin> 220 kapetano.dyndns.org ESMTP Postfix (Ubuntu)
[12:14:54] <aldin> whats that?
[12:15:13] <adaptr> that is postfix running
[12:15:14] <mh_le> adaptr: I get the error when I recieve a email
[12:15:35] <adaptr> mh_le yes, sasl means sending is authenticated as well
[12:15:36] <aldin> adaptr: so, what do i need
[12:15:41] <adaptr> aldin a better provider
[12:15:45] <aldin> if postfix is running
[12:15:51] <aldin> adaptr: ha?
[12:15:53] <aldin> hehe
[12:15:54] <adaptr> yes
[12:16:09] *** SeJo has joined #postfix
[12:16:41] <SeJo> all, is it possible to keep mails (even after relaying them) for 24 hours?
[12:16:48] <mh_le> adaptr: so what you are saying is that mail servers sending me email needs to be authenticated?
[12:17:08] <f3ew> SeJo, use always_bcc, maildir and a find(1) script
[12:17:13] <f3ew> mh_le, no
[12:17:20] <adaptr> mh_le if you have enabled sasl for everything, then yes, everything has to auth itself
[12:17:25] <f3ew> your users sending mail to the world need to authenticate
[12:17:37] <SeJo> f3ew: that was my idea, but thought there was something else inside postfix itself
[12:17:41] <SeJo> thanks f3ew
[12:17:58] <f3ew> SeJo, no
[12:18:11] <SeJo> thx f3ew
[12:20:03] <jMCg> It looks as if I could abuse cleanup to crypt the mails before they enter the queue.
[12:20:17] *** kokoko1 has joined #postfix
[12:20:19] <f3ew> ick
[12:20:48] <f3ew> smtpd + a proxy
[12:21:58] <mh_le> is it the smtpd_client_restrictions I need to look at?
[12:22:56] <mh_le> the postfix manual dosen't explain it very well
[12:23:38] <f3ew> smtpd_recipient_restrictions
[12:25:14] <kokoko1> hi its normal in case if greylisting is enable on both primray MX and backup-mx that when email sent to that domain it the sender will get 'Recipient address rejected' from both servers?
[12:25:42] <many> recipient rejected has nothing to do with greylisting
[12:25:53] <kokoko1> apparently i can see in logs the both primary and backup-mx replied with that
[12:26:04] <kokoko1> many, Recipient address rejected: Greylisted for 5 minutes (in reply to RCPT TO command)
[12:26:23] <Roobarb-Work> many: isn't that how greylisting works? you reject the recipient with a 4xx code ?
[12:26:26] <kokoko1> i am talking about this reciepent address rejected dude
[12:26:57] <adaptr> yes dude, and it does, that's what it says
[12:26:58] * kokoko1 wonders if many is too high today
[12:27:11] <f3ew> yes
[12:27:51] <mh_le> f3ew thanks
[12:27:59] <mh_le> now I get this error...
[12:28:17] <mh_le> wait let me try something
[12:28:50] <kokoko1> so after getting greyling message from primray the sender will go to backup-mx?
[12:29:12] <adaptr> not if it's sane
[12:29:17] <Roobarb-Work> kokoko1: possibly. the problem is, neither server shares its greylisting data with the other
[12:34:48] <many> oh right
[12:35:06] <many> i was thinking something wrong :)
[12:36:14] <many> kokoko1: and yes, its quite normal a sender will try both mx even if the first one is just deferring
[12:38:48] *** nescius has quit IRC
[12:40:16] <mh_le> I can't make heads or tails out of the options for smptd_recipent_restrictions... could someone take a look at http://paste.uni.cc/15876 ?
[12:43:39] <kokoko1> Roobarb-Work, many thanks
[12:44:53] *** cilly has quit IRC
[12:44:56] *** Zeit|awy has joined #postfix
[12:50:38] *** Zeit|idle has quit IRC
[12:51:21] <mh_le> when I comment out reject_unauth_destination I get this error...
[12:51:22] <mh_le> fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
[12:51:46] <mh_le> and like I said I can't make heads or tails on what the options do
[12:52:39] <mh_le> so if someone could give me a hand I would really apperciate it
[12:54:14] *** cilly has joined #postfix
[12:55:44] *** Mavvie has joined #postfix
[12:58:53] <Roobarb-Work> mh_le: don't uncomment it
[12:59:17] <Roobarb-Work> mh_le: smtpd_recipient_restrictions *requires* one of the 4 options listed
[13:00:50] <mh_le> I see.. but it seems that postfix want's a password when a mail server tries to send me mail..
[13:01:43] <Roobarb-Work> huh?
[13:02:30] <mh_le> fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
[13:02:31] <Roobarb-Work> postfix only asks for authentication if a) its configigured for smtp_auth and b) a client requests authentication
[13:02:52] <Roobarb-Work> mh_le: "password table" not a password
[13:03:05] <Roobarb-Work> mh_le: it appears you have a half-configured SASL setup
[13:03:05] <mh_le> okay
[13:03:36] <mh_le> whos password should be in that table?
[13:03:48] <mh_le> who's even
[13:06:10] <mh_le> I*m at a total loss
[13:06:30] <Roobarb-Work> the first question is whether you want smtp authentication or not
[13:07:09] <mh_le> I want users who want to send email to authenticate
[13:07:17] <Roobarb-Work> then you do
[13:07:29] <Roobarb-Work> what do you want them to authenticate against?
[13:08:05] <mh_le> the user/password list I have in mysql
[13:08:31] <Roobarb-Work> paste the output of "postconf -n" somewhere
[13:12:16] <mh_le> http://paste.uni.cc/15877
[13:16:15] *** wamty has joined #postfix
[13:16:19] <wamty> I cant send an email to my hotmail id using localy configure Postfix
[13:18:13] *** Nockian has quit IRC
[13:20:35] *** neko_ has joined #postfix
[13:20:49] *** euee has joined #postfix
[13:21:03] *** rcsu has joined #postfix
[13:23:28] *** Lap_64 has quit IRC
[13:23:43] <euee> hello everyone.. I have a problem with cyrus+postfix... It's ignoring my /etc/aliases
[13:24:34] <euee> how can I get postfix to use the alias_maps before using local_transport?
[13:24:45] <euee> anyone?
[13:28:42] *** aldin has left #postfix
[13:31:10] *** Lap_64 has joined #postfix
[13:33:32] <mh_le> Roobarb-Work: still there? :)
[13:45:45] *** echelog has joined #postfix
[13:45:48] *** Mazon has quit IRC
[13:46:09] <trapni> how to i bind postfix to listen on the specific host ip address and not the whole interface (0.0.0.0)? - can't find anything in the net about it -.-`
[13:48:11] *** Mazon818 has joined #postfix
[13:48:12] <Signum> !inet_interface
[13:48:12] <knoba> Signum: Error: "inet_interface" is not a valid command.
[13:48:20] <Signum> !inet_interfaces
[13:48:20] <knoba> Signum: 'inet_interfaces' : a configuration parameter in the main.cf: The network interface addresses that this mail system receives mail on. By default, the software claims all active interfaces on the machine. The parameter also controls delivery of mail to user at [ip dot address]. If your server does not react to connection attempts on a certain interface you should check this setting.
[13:48:33] <Signum> trapni: ^^^
[13:49:01] <trapni> hm...
[13:49:31] <Roobarb-Work> mh_le: sorry, popped out
[13:52:44] <mh_le> no problem
[13:54:16] *** wamty has quit IRC
[13:54:45] *** n0rus has joined #postfix
[13:55:07] <mh_le> :)
[13:55:20] *** JosefAssad has quit IRC
[13:56:06] <n0rus> I have defined "root: marc at domain dot com" in "/etc/aliases". But when I'm testing "echo "root test" | mail root", the mail is still being sent to "root at domain dot com"
[13:56:09] <n0rus> why does that happen?
[13:56:50] <Signum> n0rus: did you run "newaliases"?
[13:56:53] <n0rus> yes
[13:56:57] <Roobarb-Work> envelope to != rctp to
[13:57:02] <Signum> n0rus: is the domain listed in "mydestination"?
[13:57:09] <Roobarb-Work> sorry, != header to
[13:57:33] <n0rus> Signum: no
[13:57:46] <n0rus> Signum: does it have to?
[13:57:53] <Signum> n0rus: is that domain a virtual domain?
[13:58:02] <Roobarb-Work> mh_le: heres a good guide:  http://www.phparchitecture.com/howto_show.php?id=2
[13:58:19] <Roobarb-Work> mh_le: specifically, check_client_access mysql:/etc/postfix/mysql-client.cf
[13:58:29] <n0rus> Signum: The internal network is on "domain.info". The e-mails should be sent to an external domain "domain.com".
[13:58:30] <Roobarb-Work> mh_le: and the associated config file
[13:58:35] <n0rus> Signum: the first one is virtual
[13:58:53] <adaptr> n0rus if the domain you're sending to is not in your destinations then it won't accept mail for it
[13:58:54] <Signum> n0rus: if the first is virtual then you cannot use /etc/aliases which is meant for local domains. use virtual_alias_maps instead
[13:59:03] <Signum> adaptr: not quite right.
[13:59:08] <n0rus> Ah, ok. Thatnk you, all
[13:59:11] <n0rus> thank
[13:59:12] <adaptr> it is in the context you elaborated on
[13:59:34] <Signum> adaptr: yeah... but the domain may either be in mydestination, virtual_alias_domains or virtual_mailbox_domains
[13:59:41] <Signum> !tell n0rus virtual
[13:59:44] *** GMFlash has quit IRC
[13:59:51] *** GMFlash has joined #postfix
[13:59:52] <n0rus> I got that:)
[14:05:17] *** euee has quit IRC
[14:05:49] *** Tinozaure is now known as Tino
[14:09:44] *** cpm has joined #postfix
[14:10:58] <mh_le> Roobarb-Work: cool what needs to be in mysql-clien.cf)
[14:11:00] <mh_le> ?
[14:11:12] <Roobarb-Work> mh_le: read further down that page
[14:13:33] *** n0rus has quit IRC
[14:15:38] <mh_le> Roobarb-Work: cool.. I'll need to adapt it to the tabels I already have in mysql.. I assume that postfix_access is the table with usernames and passwords, right?
[14:16:09] <Roobarb-Work> mh_le: I guess - this is outside of my knowledge; I've only ever sone SASL against local system accounts with PAM
[14:16:18] <Roobarb-Work> s/sone/done/
[14:16:20] <mh_le> okay
[14:19:59] *** aldin has joined #postfix
[14:20:10] <aldin> i deleted Maildir
[14:20:15] <aldin> how do i enable it again
[14:20:22] <aldin> or how do i use mbox
[14:20:26] <aldin> which command
[14:20:46] *** CaptainMorgan has joined #postfix
[14:21:17] *** brancaleone has joined #postfix
[14:22:28] <adaptr> there is no command, you have to edit certain system startup files
[14:22:36] <Roobarb-Work> home_mailbox = Maildir/
[14:22:53] *** henriknj has quit IRC
[14:23:23] <aldin> adaptr: i did mkdir Maildir
[14:23:31] <aldin> but it complains after that too
[14:23:36] <aldin> i use squirrelmail
[14:23:48] <Roobarb-Work> mkdir ~/Maildir/{cur,tmp,new}
[14:24:10] <Roobarb-Work> then chown those to your uid
[14:24:47] <aldin> Roobarb-Work: thanks!
[14:25:05] <aldin> Roobarb-Work: would this be fixed during reboot?
[14:25:13] <Roobarb-Work> no
[14:25:17] <adaptr> aldin that never works
[14:25:28] <aldin> adaptr: which never works
[14:25:36] <aldin> i got squirremail working
[14:25:37] <adaptr> aldin your MDA / MTA should have come witha program to create maildirs
[14:25:39] <aldin> after mkdir
[14:25:44] <adaptr> use that
[14:25:48] <adaptr> *please* use that
[14:25:50] <aldin> adaptr: ok, it was
[14:26:01] <aldin> adaptr: but i deleted it manualy
[14:26:20] <aldin> so squirremail did want to work without those Maildir folders
[14:26:32] <adaptr> of course it does.. squirrelmali doesn't care
[14:26:38] <aldin> ha?
[14:26:41] <aldin> no
[14:26:44] <aldin> it wont
[14:27:38] *** Lap_64 has quit IRC
[14:28:04] <aldin> adaptr:
[14:28:05] <aldin> ERROR:
[14:28:05] <aldin> ERROR: Connection dropped by IMAP server.
[14:28:10] *** Lap_64 has joined #postfix
[14:28:11] <aldin> if there is no Maildir
[14:28:19] <adaptr> obviously
[14:28:31] <adaptr> if the user has no maildir, then imap won't be much use, will it ?
[14:28:43] *** roe_ has joined #postfix
[14:28:47] <aldin> May 29 14:24:40 linux imapd: LOGOUT, user=aldin, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=119, sent=900, time=0
[14:28:47] <aldin> May 29 14:27:47 linux imapd: Connection, ip=[::ffff:127.0.0.1]
[14:28:47] <aldin> May 29 14:27:47 linux imapd: chdir Maildir: No such file or directory
[14:28:55] <adaptr> su to the user in question, and run maildirmake ~/Maildir, or however you want to name them
[14:29:11] <adaptr> aldin what do you think we need that useless info for ?
[14:29:20] <aldin> sorry
[14:29:24] <neko_> :D
[14:29:32] <aldin> i though to show May 29 14:27:47 linux imapd: chdir Maildir: No such file or directory
[14:29:48] <adaptr> we already knew that
[14:30:49] <aldin> adaptr: great ur the man! maildirmake ~/Maildir does the thing!
[14:31:11] <adaptr> I know that
[14:31:52] <aldin> adaptr: u should tell me that on begining... i was seeking for command that repair my Maildir
[14:31:53] <aldin> hehe
[14:32:15] <adaptr> then you probably should have said so
[14:32:40] <aldin> i did read my first Q:
[14:32:41] <aldin> [14:20] <aldin> i deleted Maildir
[14:32:41] <aldin> [14:20] <aldin> how do i enable it again
[14:34:31] *** aldin has quit IRC
[14:41:07] <f3ew> send the user an email
[14:55:19] *** thojo has joined #postfix
[14:55:51] <mh_le> how does one get postfix to look up smtp auth users in mysql?
[14:57:30] *** cilly has quit IRC
[14:58:09] <xpoint> mh_le, install cyrus-sasl
[14:58:19] <mh_le> okay
[14:58:42] <xpoint> mh_le, with mysql and crypt support is important
[14:59:05] <xpoint> mh_le, disable all the rest :-)
[14:59:44] <xpoint> when this is done configure smtpd.conf to use mysql auxprop
[15:00:17] <xpoint> the rest is done in postfix
[15:05:35] *** zodell has joined #postfix
[15:05:51] *** zodell has left #postfix
[15:09:27] * jMCg bangs his head a bit.... and a bit more...
[15:10:36] <jMCg> smtpd and pop3d have to be on the same box, or otherwise do some NFStyness, I suppose.
[15:10:55] <CaptainMorgan> I have followed both https://help.ubuntu.com/community/Postfix , and https://help.ubuntu.com/community/PostfixAmavisNew as best as possible. The testing that is instructed at the end of the docs only succeeds for the latter, the former states the connectdion is refused twhen trying to telnet localhost 25 as it says. Kind of vague, any ideas where I should rexamine?
[15:11:40] <jMCg> CaptainMorgan: netstat -plant/lsof -i:25
[15:12:04] <lunaphyte_> !logs
[15:12:04] <knoba> lunaphyte_: 'logs' : by default, postfix logs to the mail facility of syslog. something like grep -i `postconf -h syslog_facility` /etc/syslog.conf should tell you where logs are going.
[15:12:26] <CaptainMorgan> jMCg, giving me netstat: invalid option -- /
[15:12:55] <mh_le> what should I do about this error?
[15:12:56] <mh_le>  SASL authentication failure: cannot connect to saslauthd server: No such file or directory
[15:16:26] <mh_le> anyone?
[15:16:34] <CaptainMorgan> jMCg, sudo netstat i:25 gives me a long list of which every state is CONNECTED
[15:17:49] <mh_le> xpoint: thanks... I tried smtpd.conf but now it shows the above error
[15:19:28] <xpoint> mh_le, ubuntu ?, well saslauthd is not for mysql configs
[15:19:52] <xpoint> mh_le, show the smtpd.conf
[15:21:56] <CaptainMorgan> jMCg, you leavin me hangin? :(
[15:23:00] <jMCg> CaptainMorgan: I just went for a coffee.
[15:23:08] <jMCg> CaptainMorgan: it's lsof -i:25
[15:23:24] <mh_le> xpoint: which path the *.conf?
[15:24:00] <CaptainMorgan> jMCg, I am doing sudo nestat lsof -i:25 and getting invalid option :
[15:24:08] <mh_le> /etc/postfix/sasl/smtpd.conf?
[15:25:15] <mh_le> http://paste.uni.cc/15880
[15:27:44] <jMCg> CaptainMorgan: I was trying to tell you to use EITHER netstat OR lsof
[15:28:26] <CaptainMorgan> oh.. -plant/lsof looked like switches as most are valid
[15:28:54] <CaptainMorgan> k, lsof -i:25 returns nothing
[15:30:29] <CaptainMorgan> I think he got it right: http://www.murrayc.com/blog/permalink/2006/09/19/installing-an-email-server-on-ubuntu/
[15:32:16] *** kokoko1 has left #postfix
[15:32:26] *** thojo has quit IRC
[15:33:44] <mh_le> xpoint: still there? :)
[15:35:03] <jMCg> CaptainMorgan: if nothing's listening on port 25, chances are postfix' not running.
[15:35:12] *** GutterPunk has joined #postfix
[15:36:20] <CaptainMorgan> omg
[15:36:43] <CaptainMorgan> screw this, sendmail was a one click install and works out of the box
[15:36:47] *** CaptainMorgan has left #postfix
[15:37:12] <kciR> yay, another open relay on the net
[15:38:52] <Dominian> shall we killh im now?
[15:39:14] <Dominian> How much you wanna bet that genius didn't start the postfix process?
[15:39:58] <xpoint> mh_le, yes this conf is for saslauthd, you have to change it to mysql
[15:41:39] <xpoint> mh_le, http://cvs.caudiumforge.net/viewvc/openvisp/admin/contrib/configurations/postfix/smtpd.conf?revision=1.3&view=markup
[15:46:25] *** aldin has joined #postfix
[15:46:48] <aldin> if my isp blocks port 25 how can i override that?
[15:46:54] <aldin> except changing ISP
[15:47:22] <mh_le> xpoint: thanks a lot.. that should go into /etc/postfix/sasl?
[15:47:53] <jMCg> aldin: you could call your ISP and demand port 25 to be opened!
[15:48:02] <jMCg> Then change ISP, because he blocks you.
[15:48:17] *** af_ has joined #postfix
[15:48:38] <xpoint> mh_le, edit your smtpd.conf with the contense of the link show
[15:49:53] <mh_le> xpoint: I modified it to match my setup
[15:50:38] <mh_le> SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
[15:50:56] <mh_le> I have confirmed that the file is there... or is it a chroot thing?
[15:52:16] *** xpoint has quit IRC
[15:53:04] <aldin> how to find out is my outgoing mail blocked? i am sure telnet myIP 25 is? so?
[15:54:21] <mh_le> aldin: that's so all the spammers in the world dosen't use your server as a relay and get your IP banned...
[15:54:52] *** xpoint has joined #postfix
[15:55:05] <mh_le> aldin: you prob need to give it your username and password
[15:58:02] *** hoodow has left #postfix
[15:58:33] *** slaq has joined #postfix
[15:58:38] <slaq> hi everyone
[15:58:47] <slaq> is there an equivalent to qmails .qmail (dot-qmail) files in postfix?
[16:00:54] <mh_le> xpoint: I seems it's using sasldb to authenticate agaist.. I copied the sasldb2 into the chroot, and the error went away though
[16:01:13] <mh_le> how do I get it to us the mysql DB?
[16:01:27] <xpoint> if its using sasldb then you miss something in cyrys-sasl or smtpd.conf
[16:02:03] <xpoint> mh_le, see my smtpd.conf more closely
[16:02:49] <mh_le> I copied it directly and modified the database stuff to match
[16:02:50] *** Qube has joined #postfix
[16:03:39] <xpoint> mh_le, then have cyrus-sasl crypt support ?, have it mysql ?
[16:03:58] <xpoint> both of them is needed
[16:05:02] <mh_le> the database I'm using stores the passwords in plain
[16:05:44] <Qube> Question: I have a new postfix box in a DMZ which appears to work properly except when I connect to smtpd from within the LAN... It hangs for 54 or 55 seconds before sending the 220 Greeting.   I'm guessing this is it attempting a DMS lookup on the incoming IP - where is that controlled? and can I turn it off?
[16:05:59] <Qube> s/DMS/DNS
[16:07:16] <jMCg> Qube: don't you resolve internally to a different IP?
[16:09:55] <Qube> trouble is, the DMZ network doesn't have access or knowledge of the internal IPs
[16:10:47] <jMCg> Well it doesn't have to have.
[16:11:17] <jMCg> Hm.
[16:11:45] <jMCg> You sure that's a DMZ......?
[16:12:01] <Qube> I am
[16:12:33] *** rmayorga has joined #postfix
[16:13:12] <jMCg> [evil internet]-----[FW]--[DMZ Servers]---[FW]----[LAN]
[16:13:24] <xpoint> mh_le, security risk, but you may change smtpd.conf then
[16:13:29] <jMCg> Qube: I suppose one of those FWs does NATing in some or the other way.
[16:13:44] <Qube> Only NAT is on external FW to the evil internet
[16:14:21] <Qube> but it is more of a triangle than a straight pipe as you drew
[16:14:41] <Qube> or DMZ being a spoke of the main FW
[16:14:51] <cpm> sounds like a job for, , , , Split Horizon DNS!
[16:15:12] <Qube> I have enough split without worrying about reverse dns ;)
[16:15:18] <cpm> with it's loyal side-kick dns-acls!
[16:16:07] <mh_le> xpoint: to what?
[16:16:30] <xpoint> plain
[16:16:54] <Qube> can't I just turn off incoming connection IP resolving in main.cf ?
[16:17:12] <Qube> or lower the timeout to 2s or something
[16:30:23] <rob0> tell the nameserver in the DMZ that it's authoritative for the LAN's in-addr.arpa. range ... NXDOMAINs would be instantaneous.
[16:34:08] <Qube> not sure I want to do that... the LAN's IP range is a full public /16
[16:35:01] <many> sure thing.
[16:35:38] <many> one LAN over a non-RFC1918 space... \o/
[16:36:01] <Qube> Seems like a rather foolish workaround for something I should be able to turn off in postfix
[16:36:15] <Qube> many?
[16:36:46] <rob0> Is it your own delegated /16?
[16:36:52] <Qube> correct
[16:37:19] <rob0> so you are already delegated NS authority?
[16:37:26] <Qube> this is a world wide company with everything VPNed... they just happen to be able to talk into the DMZ (which is on RFC1918 space)
[16:37:27] <rob0> (your NS servers)
[16:38:32] <Qube> we don't have the /16 in-addr.arpa delegated at all (blush)
[16:38:46] <rob0> Hmmm, even if I was setting up a large company, I would go for rfc1918 netblocks where they didn't NEED to be public.
[16:39:20] <Qube> rob0, if we had that foresight 20 years ago when we set up the company, I'm sure we would have ;)
[16:40:56] <many> i do ponder alot of things with only that one sentence above.
[16:42:59] <Qube> feel free to ponder... I ponder the setup many times - you just have to understand that sometimes in big lumbering messes of companies, the end-guy (me) didn't set things up and doesnt have much say in changing anything - and also the people responsible for it all are no longer here
[16:43:19] *** nfi|ermes has joined #postfix
[16:44:05] <many> Qube: may i suggest not to turn dns lookups off, but instead set up a local resolver which serves your /16 but has no records and forwards everything which is not inside /16 to some authoritive resolver
[16:44:11] <Qube> I'm just trying to introduce postfix instead of sendmail which we still use extensively
[16:44:26] <many> DNS is just hooked to deep into applications to turn it off
[16:44:56] <Qube> many, not true - in my qmail boxes I just told tcpserver not to resolve the incoming connections
[16:45:11] <Qube> I'm really surprised postfix can not do that
[16:45:23] *** hparker has joined #postfix
[16:45:46] <many> ~# postconf | grep dns
[16:45:47] <many> disable_dns_lookups = no
[16:46:02] <Qube> not the right param
[16:46:04] *** sepski has joined #postfix
[16:46:05] <Qube> I already tried that
[16:46:11] <many> okay.
[16:46:25] * many brrs and goes on
[16:46:42] <Qube> I do want dns to work on outgoing email - this is a very specific issue... Incoming TCP connection to port 25 - postfix smtpd.
[16:47:12] <Qube> postfix then tries a reverse dns lookup on that IP.   It should be able o be turned off very easily.
[16:49:02] *** Bronsky has joined #postfix
[16:49:48] <sepski> Qube, why ? every smtp server that deliver to port 25 should have a revers dns ?
[16:50:08] <Dominian> I wouldn't recommend shutting that off
[16:50:30] <sepski> Qube, it's usualy the first line of defence in anti spam rules too
[16:50:39] <Dominian> making sure that a mail server has reverse DNS can help to prevent virus/spyware/spam attacks
[16:50:48] <Qube> sepski, this is an outbound relay box... mynetworks is the only thing that can connect to it.   I have no need of checking reverse dns
[16:50:59] <Dominian> ahhhhh
[16:51:02] <Dominian> Qube: then that makes more sense
[16:51:15] <sepski> Qube,  for internal networks without dns you can   disable_dns_lookups = yes
[16:51:27] <sepski> http://www.postfix.org/faq.html look at the intranet entry
[16:51:49] *** MrRagga has joined #postfix
[16:51:59] * Dominian nods
[16:51:59] <sepski> Qube, but does it matter if it checks for dns ? you allow it with permit_mynetworks anyway ?
[16:52:03] <Dominian> sepski: beat me to it
[16:52:07] *** pmjdebruijn has quit IRC
[16:52:32] <Qube> sepski, if I disable_dns_lookups = yes then it won't resolve e.g. MX for microsoft.com, no?
[16:52:58] <sepski> Qube, dont know. but something you can easily test
[16:54:01] <sepski> Qube, if you want to disable for smtpd only and not for smtp, you can add -o  disable_dns_lookups = yes in the relevant master.cf
[16:54:33] <Qube> that sounds like the most useful thing said today :)
[16:54:43] <sepski> Qube, but personaly i dont think the dns lookup does any harm, if you want to you can run a caching dns daemon, that would cache the negative lookups
[16:55:41] <rob0> postconf.5.html#disable_dns_lookups only affects smtp(8) not smtpd(8)
[16:56:25] *** MicW has joined #postfix
[16:56:28] <MicW> hi
[16:56:46] <MicW> i use postfix+spampd (before-queue-filter)
[16:57:04] <MicW> the problem is that spampd receives mails from postfix (i.e. from loclahost)
[16:57:12] <MicW> so the mails alway get a scoring of -100
[16:57:27] <MicW> can anyone help me how to fix this?
[16:57:47] *** backz has quit IRC
[16:57:55] <Qube> rob0, yeah I just found that out - made no difference
[16:58:16] <rob0> MicW: Maybe XCLIENT, see XCLIENT_README. But note: it's an issue with spampd not Postfix.
[16:59:02] *** aldin has quit IRC
[16:59:37] <MicW> rob0: the problem i want to solve is: spam and antivirus check of incoming mails during smtp operation (with smtp-reject)
[16:59:43] <MicW> with postfix
[17:00:09] <MicW> i have no problem to use an other thing than spampd
[17:00:43] <rob0> !cheatsheet
[17:00:44] <knoba> rob0: 'cheatsheet' : http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt : A HOWTO for pre-DATA spam control.
[17:00:53] <rob0> ^^ shoot the fish in the barrel
[17:04:11] *** nescius has joined #postfix
[17:04:25] <MicW> thanks you
[17:04:30] <MicW> (reading...)
[17:04:40] *** nescius has quit IRC
[17:06:24] *** [miles] has quit IRC
[17:07:31] <MicW> rob0: this does not allow to add spamassassin checks during smtp
[17:09:54] <rob0> oh, you're doing a pre-queue filter
[17:10:03] <MicW> yes
[17:10:20] <MicW> smtp(port 25, external) -> spampd -> smtp (local)
[17:10:30] <MicW> spampd flags the mail as spam with spamasassin
[17:10:31] *** fietronic has joined #postfix
[17:10:50] <MicW> on the 2nd smtp i have a header_check wich checks for scoring > 8 and rejects
[17:11:08] <MicW> so spam will be rejected immedialy after smtp "data"
[17:11:14] <rob0> Don't reject anything you've already accepted!
[17:11:29] <rob0> oh ... still in the initial smtp?
[17:11:51] <MicW> yes
[17:12:08] <MicW> after "data\n...\n.\n"
[17:12:17] <MicW> i get an smtp-error if the mail is spam
[17:12:57] <MicW> the problem is taht the mail _never_ is spam because spamassassin thinks the mail is local (because it comes from the primary smtp process)
[17:19:25] *** thojo has joined #postfix
[17:19:37] *** dbrewer_rjr has joined #postfix
[17:21:03] <dbrewer_rjr> i just installed postfix and quota on ubuntu feisty. I could not find a quota patch for postfix 2.3.8
[17:21:52] <dbrewer_rjr> postfix already quota enabled?
[17:22:39] <dbrewer_rjr> is there anybody out there?
[17:23:12] <kciR> 2.3 is very old
[17:23:32] <kciR> well, its old
[17:23:50] <Dominian> you should be using 2.4.1
[17:23:51] <dbrewer_rjr> strange, that is what the ubuntu apt-get installed
[17:23:57] <Dominian> and if ubuntu doesn't have it.. then you know why I don't use it.
[17:24:38] <dbrewer_rjr> well, if debian has it, then ubuntu should, yes?
[17:24:50] <kciR> no
[17:25:05] <Dominian> no
[17:25:06] <rob0> I'm sure Dominian has a few other reasons too. :)
[17:25:07] <kciR> but check here for quota patches: http://vda.sourceforge.net/
[17:25:12] <Dominian> dbrewer_rjr: ubuntu != debian
[17:25:17] <Dominian> rob0: quite a few
[17:25:46] <dbrewer_rjr> kciR: that is where i just was. patches for all but 2.3.8!!
[17:26:23] <rob0> did it have 2.3.7 or earlier?
[17:26:30] <dbrewer_rjr> yes
[17:26:35] <rob0> so just use that.
[17:26:49] *** fie has quit IRC
[17:26:52] <kciR> anyone here using autoreplies with postfix, and if so, how?
[17:27:02] <dbrewer_rjr> i will try the 2.3.7 patch. Is that likely to work?
[17:27:11] <rob0> almost certain
[17:27:22] <dbrewer_rjr> thank you so much! ttyl
[17:27:36] *** dbrewer_rjr has quit IRC
[17:27:54] *** cpm has quit IRC
[17:28:50] *** af_ has quit IRC
[17:30:57] *** UQlev has joined #postfix
[17:31:01] *** nachox has joined #postfix
[17:31:15] <nachox> rob0: are you around?
[17:37:45] *** feross has joined #postfix
[17:38:25] *** cpm has joined #postfix
[17:39:06] *** JeffH has joined #postfix
[17:39:48] <JeffH> anyone know what the spamassassin switch is to show the scores for an e-mail?
[17:40:21] *** gypsymauro has quit IRC
[17:40:46] <mofino> man spamc
[17:40:49] <JeffH> thanks
[17:40:49] <mofino> man spamassassin
[17:41:15] <mofino> you should really be sure though, because i'm not.
[17:41:20] *** Lap_64 has quit IRC
[17:44:58] *** cutmasta has quit IRC
[17:47:43] <UQlev> JeffH: are you surprised?
[17:48:01] *** MrRagga has quit IRC
[17:48:34] <rob0> RBLs in SpamAssassin are ugly. The best place to use RBLs is in the MTA.
[17:50:15] <rob0> warn_if_reject reject_rbl_client cpm.freenode.net
[17:52:52] *** noetik has joined #postfix
[17:53:41] *** noetik has quit IRC
[17:55:56] *** roe_ has quit IRC
[17:59:32] *** f3ew has quit IRC
[17:59:51] *** f3ew has joined #postfix
[18:05:11] *** puzzled has joined #postfix
[18:05:13] *** JeffH has quit IRC
[18:05:18] <puzzled> hello
[18:05:41] *** rmayorga has quit IRC
[18:07:41] * cpm feels rejected
[18:07:47] <cpm> or rejectable, not sure which
[18:11:44] *** rmayorga has joined #postfix
[18:14:42] *** RA3OR[psy] has joined #postfix
[18:14:43] *** RA3OR has quit IRC
[18:15:09] *** roe_ has joined #postfix
[18:16:24] *** tuxcrafter has joined #postfix
[18:17:47] *** brancaleone has quit IRC
[18:22:34] *** roe_ has quit IRC
[18:24:53] *** puzzled has left #postfix
[18:26:11] *** funburn has joined #postfix
[18:26:31] *** solemnwarning has joined #Postfix
[18:26:34] <solemnwarning> Hi all
[18:26:43] <funburn> I've been having the most annoying problem for months now
[18:26:52] <solemnwarning> Is it possible to use an MDA like qmail with custom settings for virtual users?
[18:27:09] <solemnwarning> s/qmail/erm/
[18:27:14] <funburn> I get "Home directory owned by wrong user" every time something is sent to root
[18:27:15] * solemnwarning hits himself
[18:27:47] <funburn> but root's home dir is owned by root, and (as far as I can tell) I'm not using vmail
[18:28:06] <funburn> all other mail (100+ accounts) deliver as expected
[18:28:09] <funburn> with no errors
[18:28:13] *** MicW has quit IRC
[18:28:37] <funburn> we're using LDAP for the accounts and virtual aliases
[18:28:47] <funburn> thoughts?
[18:29:19] <many> thatll work
[18:29:55] *** roe_ has joined #postfix
[18:37:12] <rob0> If it's local(8) delivery, Postfix will not deliver as root. Use aliases(5) to send root mail to a real user.
[18:37:25] <funburn> ah
[18:37:31] <funburn> d'oh
[18:38:39] <funburn> actually, it looks like I already tried that
[18:38:48] <funburn> which just confounds this problem even more
[18:39:02] <rob0> !debug
[18:39:02] <knoba> rob0: 'debug' : http://www.postfix.org/DEBUG_README.html : a good starting point for how to deal with problems and to report information to those who might help. Post your information in a pastebin such as http://pastebin.ca/ or http://rafb.net/paste/ .
[18:39:22] <funburn> k
[18:39:28] <rob0> pastebin relevant logs and your "postconf -n"
[18:41:50] *** n0rus has joined #postfix
[18:41:58] * cpm checks the output of '# postconf -rob0'
[18:42:11] <rob0> segmentation fault
[18:42:13] <n0rus> I have numerous lines of: May 29 18:37:11 localhost postfix/smtpd[1767]: connect from localhost[127.0.0.1] and then
[18:42:14] <n0rus> May 29 18:37:11 localhost postfix/smtpd[1767]: disconnect from localhost[127.0.0.1]
[18:42:24] <n0rus> Once evry minute
[18:42:29] <n0rus> What does that mean?
[18:42:40] <rob0> complain to the guy who owns 127.0.0.1 ;)
[18:42:49] <n0rus> I own it
[18:42:59] <rob0> NO WAY! *I* do.
[18:43:41] <n0rus> Is that some kind of check that runs every minute?
[18:43:58] <funburn> http://pastie.caboo.se/65694
[18:44:04] <hparker> n0rus: Running nagios or anything?
[18:44:12] <n0rus> hparker: no
[18:44:23] <n0rus> Oh, wait
[18:44:32] <n0rus> it's zabbix
[18:44:58] * cpm chuckles
[18:45:27] <rob0> ... "Command output: /usr/bin/maildrop:" ...
[18:45:46] <mh_le> does anyone know of a howto that describes how to setup postfix to do SMTP auth against a mysql table?
[18:46:16] <n0rus> hparker: thank you for the hint
[18:46:33] <hparker> yw
[18:46:40] * hparker goes back to sleep
[18:47:54] *** n0rus has quit IRC
[18:47:59] *** CaptainMorgan has joined #postfix
[18:48:11] * cpm puts toothpaste on hparker's hand, then tickles his face with a piece of straw
[18:48:26] *** zodel1 has joined #postfix
[18:48:35] <rob0> funburn: comment out "mailbox_command = /usr/bin/maildrop" or configure maildrop appropriately.
[18:48:43] <CaptainMorgan> anyone familiar with error after getting a few successful lines following telenet localhost 25? 535 5.7.0 Error: authentication failed: another step is needed in authentication
[18:49:16] <CaptainMorgan> would really like to know what this step is..
[18:49:20] <funburn> if I comment that out, won't it stop postfix from delivering mail to my maildirs?
[18:49:27] <hparker> cpm: Geee, thanks buddy
[18:49:42] <cpm> hparker, you are always welcome
[18:50:06] <rob0> If you comment out mailbox_command, your home_mailbox setting would be used, as well as any .forward files.
[18:50:54] <funburn> but would it use maildir or mbox
[18:51:40] <funburn> I was under the impression that if I didn't use the mailbox_command = /usr/bin/maildrop, then it would use mbox formatting
[18:53:26] <rob0> It will use maildir if set to use maildir, mbox otherwise. See postconf.5.html#home_mailbox and local.8.html .
[18:53:41] <funburn> k
[18:54:36] *** the_sniff has joined #postfix
[18:55:05] <the_sniff> how can i set a header_check for *confirm at email dot com* ? every regexp i tried does nothing
[18:55:23] <the_sniff> i want it to be /^From:* at email dot com/
[18:56:21] * rob0 debates whether or not to answer the wrong question
[18:56:29] <the_sniff> :<~
[18:56:30] <the_sniff> HELP :<
[18:56:35] * rob0 does it anyway
[18:56:38] <the_sniff> thx :p
[18:56:52] <the_sniff> what's the right question?
[18:57:00] <rob0> the_sniff: "man grep", see the part about regular expressions and wildcards. What does your "*" mean?
[18:57:24] <the_sniff> i want it to be /^From:(.* at email dot com)/
[18:57:32] <the_sniff> i know regex, i just madeup a wildcard :p
[18:57:44] <solemnwarning> Is it possible to use an MDA like procmail with custom settings for virtual users?
[18:58:03] *** nfi|ermes has quit IRC
[18:58:49] <the_sniff> rob0: the exact regexp i used is /^From:(.* at email dot com)/ which fails to PREPEND a header
[18:59:05] <the_sniff> when i /^(.*)/ is the only regexp that worked
[19:01:50] <the_sniff> anyone?
[19:02:46] <the_sniff> i've been asking a question here for a week and didn't get an answer :S
[19:04:54] <rob0> Generally if a header_checks expression fails to match, you either have a bad expression or bad input. What more can be said?
[19:05:31] <the_sniff> u've seen the expression
[19:05:44] <the_sniff> (except i've escaped the dot in my file)
[19:08:20] <the_sniff> and the input most definitely have a "From: some at email dot com" in it
[19:10:02] <rob0> the_sniff: "postconf header_checks"
[19:10:56] <the_sniff> i get header_checks = regexp:/etc/postfix/header_checks
[19:11:01] <the_sniff> which is my file
[19:11:50] <rob0> Anyway, the "right question" would probably have had an answer like "check_sender_access".
[19:12:40] <rob0> Back to the "wrong" one: perhaps an earlier line also matched your header?
[19:12:44] <the_sniff> i want to replace the "Content-type" header for emails coming from that address
[19:12:49] <the_sniff> there's only one line
[19:16:03] *** smesjz has joined #postfix
[19:16:17] *** Ryushin has joined #postfix
[19:17:09] *** mastachand has quit IRC
[19:18:07] <mh_le> does anyone know how to setup postfix to do SMTP auth against a mysql table?
[19:18:32] <the_sniff> rob0, is there's a better way to do what i want? im gonna replace the "content-type" if the sender is * at email dot com
[19:20:35] <CaptainMorgan> folks - please check out: http://postfix.wiki.xs4all.nl//index.php?title=Virtual_Users_and_Domains_with_Courier-IMAP_and_MySQL&amp;action=edit&amp;section=37#Testing_your_setup , the section labeled "Testing your setup" My output is successful until input is requested through AUTH PLAIN as listed there. Where is this encrypted code coming from? specific file? any ideas? obviously, my authentication is failing at this point
[19:21:48] <the_sniff> why is this channel constantly dead? :s
[19:21:58] <rob0> the_sniff, possibly with a check_sender_access lookup and a PREPEND action. But that only works if the ...
[19:22:09] <rob0> the_sniff: why are you so demanding?
[19:22:16] <rob0> the_sniff: get a clue
[19:22:19] <funburn> thanks rob0
[19:22:32] <funburn> I commented as you suggested, and it worked like a charm
[19:22:39] <funburn> why is that btw?
[19:23:04] <the_sniff> rob0: but would PREPEND on a "check sender access" replace the header or just add another one?
[19:23:08] *** hparker has quit IRC
[19:25:09] <nachox> rob0: have a min?
[19:27:12] *** hparker has joined #postfix
[19:31:03] <nachox> i guess you dont :P
[19:35:31] <the_sniff> rob0, and im stressed like that cause my boss is on my ass :\
[19:36:15] *** cpm has quit IRC
[19:37:03] *** Mazon818 has quit IRC
[19:48:31] *** echelog has joined #postfix
[19:48:58] *** hoodow has joined #postfix
[19:50:47] <mh_le> the_sniff: thanks
[19:51:02] <the_sniff> np
[19:51:04] *** mazon has quit IRC
[19:51:04] <the_sniff> (i just googled postfix mysql so it really wasnt a problem :p)
[19:51:05] *** mazon has joined #postfix
[19:52:55] *** mazon is now known as Mazon
[19:52:56] *** Dalios`` has joined #postfix
[19:53:34] <mh_le> the_sniff: :) I can't make heads or tail of it.. but I'll try
[19:54:16] <Dalios``> hi. I am getting the following error while trying to smtpAuth
[19:54:20] <Dalios``> postfix/smtpd[6649]: warning: SASL authentication failure: cannot connect to Courier authdaemond: No such file or directory
[19:54:53] <Dalios``> an strace on the smtpd process shows connect(14, {sa_family=AF_FILE, path="/var/run/authdaemon/spool/authdaemon/socket"}, 110) = -1
[19:55:17] <Dalios``> when I check the path for the file, it is there
[19:55:32] <Dalios``> the permissions on the directory are 777
[19:56:12] <Dalios``> and the path in smtpd.conf is specified as authdaemond_path:/var/run/authdaemon/spool/authdaemon/socket
[19:56:24] <Dalios``> the smtpd.conf is for cyrus sasl
[19:57:07] *** nescius has joined #postfix
[19:57:17] <Dalios``> has anyone ever seen this before?
[19:57:18] *** amrit|zzz is now known as amrit|wrk
[20:01:31] *** nescius has quit IRC
[20:01:46] <cpm> Dalios``, yup. I've seen it before.
[20:02:03] <cpm> what about the parent directory permissions?
[20:02:04] <Dalios``> cpm, what is wrong?
[20:02:12] *** nescius has joined #postfix
[20:02:20] *** nescius has quit IRC
[20:02:26] <Dalios``> /var/run/authdaemon and all its subdirs are 777
[20:02:55] <cpm> chances are very good that the smtpd daemon can't read the file because it can't read the parent directory. Are you running chroot?
[20:03:09] <Dalios``> kind of
[20:03:38] <Dalios``> the filesystem is read only, with the /var/run mountpount being read/write
[20:03:54] <cpm> there you go.
[20:04:09] <Dalios``> im not sure I follow....
[20:04:18] <cpm> fix your perms to make sense
[20:04:24] *** x-ip has joined #postfix
[20:04:38] <cpm> unchroot postfix, get smtp auth working, then tighten it back down
[20:04:51] <x-ip> hi, i'm getting the famous error '    *
[20:05:03] *** dmesg has joined #postfix
[20:05:04] <x-ip> sql plugin couldn't connect to any host'
[20:05:05] <dmesg> hi
[20:05:29] <x-ip> i checked the files, google, and can't find whats the problem :S
[20:05:34] <dmesg> does any one has an example of main.cf?
[20:06:21] * cpm scratches his head 'sql plugin??? what the heck is that?'
[20:06:36] <CaptainMorgan> anyone?
[20:06:41] <CaptainMorgan> folks - please check out: http://postfix.wiki.xs4all.nl//index.php?title=Virtual_Users_and_Domains_with_Courier-IMAP_and_MySQL&amp;action=edit&amp;section=37#Testing_your_setup , the section labeled "Testing your setup" My output is successful until input is requested through AUTH PLAIN as listed there. Where is this encrypted code coming from? specific file? any ideas? obviously, my authentication is failing at this point
[20:07:08] <x-ip> cpm: i'm using cyrus-sasl2 with sql plugin
[20:07:25] <cpm> sql plugin?
[20:07:26] <rob0> CaptainMorgan: did you read the ENTIRE section about "Testing your setup"?
[20:07:35] <CaptainMorgan> rob0, YES
[20:07:36] *** aldin has joined #postfix
[20:07:37] <x-ip> postfix/smtpd[22709]: sql plugin trying to open db 'mailsql' on host 'localhost '
[20:07:56] * cpm is clueless
[20:08:00] <CaptainMorgan> rob0, but I'd like to hear what you may think it is
[20:08:10] <rob0> CaptainMorgan: please clarify what you are asking, because IIUC your question is answered in the link you gave.
[20:08:13] <aldin> i got this in cat /var/log/mail.log |grep hotmail May 29 20:06:20 linux postfix/smtp[9160]: connect to mx2.hotmail.com[65.54.244.40]: Connection timed out (port 25)
[20:08:35] <x-ip> nc ip 25 ?
[20:08:47] <cpm> aldin, is your port 25 blocked outbound by your isp?
[20:08:57] <cpm> can you connect to *anything* on port 25?
[20:09:00] <aldin> is this proof?
[20:09:05] <aldin> i mena
[20:09:06] <cpm> No
[20:09:12] <rob0> aldin, Hotmail does firewall-based blocking of dynamic IP space.
[20:09:19] <aldin> i mean, i cant telent or listen on 25
[20:09:21] *** dmesg has left #postfix
[20:09:22] <CaptainMorgan> rob0, where does that script go? cgi-bin??
[20:09:24] * cpm firewall blocks rob0
[20:09:37] <aldin> rob0: is gmail too?
[20:09:38] <CaptainMorgan> I wrote that out.. but no idea where to place it
[20:09:46] <rob0> CaptainMorgan: RUN it at the command line.
[20:09:51] *** mindcooker has joined #postfix
[20:09:56] <aldin> May 29 19:44:37 linux postfix/smtp[4385]: 33D534FC459: to=<aldinkapetanovic at gmail dot com>, relay=none, delay=152, delays=0.18/0.1/152/0, dsn=4.4.1, status=deferred (connect to gsmtp183.google.com[64.233.183.27]: Connection timed out)
[20:10:02] * cpm runs rob0 from the command line,
[20:10:07] <aldin> May 29 19:44:06 linux postfix/smtp[4385]: connect to alt2.gmail-smtp-in.l.google.com[64.233.163.114]: Connection timed out (port 25)
[20:10:11] <cpm> aldin, please stop flooding, just use telnet
[20:10:27] <aldin> cpm: ok, i though this might be usefull
[20:10:39] <aldin> to see error
[20:10:46] <many> that just means you cant connect to google.
[20:11:04] <cpm> I don't see an error, I see a connection timed out.
[20:11:14] <many> aldin: try this:     telnet krikkit.ukeer.de 25
[20:11:19] <CaptainMorgan> rob0,  what is 'secret' ??
[20:11:29] <CaptainMorgan> the password??
[20:11:30] <aldin> is my isp blocking in/out port 25 if i cant telnet nor sent mails?
[20:11:31] * cpm knows a lot of things that are secret
[20:11:40] <cpm> aldin, that is correct.
[20:11:47] <CaptainMorgan> rob0, ?
[20:11:53] <aldin> cpm: ok
[20:11:55] <cpm> You need to relay off your isp smtp server
[20:12:04] <cpm> key word "postfix smarthost"
[20:12:29] <aldin> many: it is just trying? what did u mean by givimng me this telnet link to see is my 25 port is working or?
[20:12:34] <aldin> Trying 213.95.21.21...
[20:12:35] *** nachox has quit IRC
[20:12:46] <many> aldin: okay, your ISP is filtering port 25
[20:13:04] <aldin> many: cpmhow do i get rid of that?
[20:13:08] <cpm> You need to relay off your isp smtp server
[20:13:15] <cpm> search key word "postfix smarthost"
[20:13:16] <cpm> google
[20:13:20] <aldin> cpm: ok
[20:13:40] <CaptainMorgan> rob0, that's not the password. and it's coming up the same error as I have EXPLained
[20:13:48] <rob0> !relayhost
[20:13:49] <knoba> rob0: 'relayhost' : a configuration parameter in the main.cf: The default host to send non-local mail to when no entry is matched in the optional transport(5) table. When no relayhost is given, mail is routed directly to the destination.
[20:13:53] <rob0> aldin: ^^
[20:14:36] <aldin> rob0: thank u very much guys
[20:14:55] <aldin> i am here all day on this channel and i got very good help from ya
[20:15:00] <aldin> thanks a lot
[20:15:13] *** tuxcrafter has quit IRC
[20:16:03] <rob0> perl -MMIME::Base64 -e 'print encode_base64("\0rob0\ at cardinal dot lizella.net\0drowssap")'
[20:16:12] <CaptainMorgan> rob0, doesn't matter
[20:16:17] <rob0> AHJvYjBAY2FyZGluYWwubGl6ZWxsYS5uZXQAZHJvd3NzYXA=
[20:16:18] <CaptainMorgan> still an authentication faiulre
[20:16:35] <CaptainMorgan> yea, I get it, and always did, you're missing what I am telling you
[20:16:41] <rob0> then I guess your setup failed the test :)
[20:16:57] <rob0> And you read your logs and saw ...
[20:16:58] <CaptainMorgan> gee, really?
[20:17:11] <CaptainMorgan> logs say ACCESS DENIED
[20:17:36] <rob0> Perhaps you'd want to give more complete information rather than wasting my time.
[20:17:39] <CaptainMorgan> imapd: authentication error: Input/output error
[20:18:03] <CaptainMorgan> authdaemond: authmysql: mysql_select_db(Mail) error: Access denied for user 'testuser'@'localhost' to database 'Mail'
[20:18:05] <aldin> many my friend got this
[20:18:05] <aldin> Trying 213.95.21.21...
[20:18:05] <aldin> Connected to krikkit.ukeer.de.
[20:18:05] <aldin> Escape character is '^]'.
[20:18:05] <aldin> 220 krikkit.ukeer.de ESMTP Postwix - How do you want it today?
[20:18:08] *** x-ip has quit IRC
[20:18:26] <many> aldin: thats how it supposed to be, yes.
[20:18:53] <aldin> many: well i must try postfix smarthost as soon as possible, is it actually working?
[20:19:58] <many> SH? sure.
[20:26:34] <CaptainMorgan> true that "virtual_alias_maps map lookup problem for ...." is a data problem and NOT a config problem? finding some search results saying this
[20:26:38] <the_sniff> I have email messages coming from email at domain dot com and i want to substitute it's content type header, how can i do that?
[20:28:32] *** drraid has quit IRC
[20:28:36] *** prebur has quit IRC
[20:29:50] *** rogue780|mythser has quit IRC
[20:33:12] *** JosefAssad has joined #postfix
[20:33:30] *** JosefAssad has joined #postfix
[20:34:33] <CaptainMorgan> this shit is overrated
[20:34:41] <Dominian> what "shit"?
[20:36:38] <cpm> the overrated stuff
[20:37:09] <Dominian> ahh
[20:37:12] <Dominian> I hate overrated stuff
[20:37:32] <cpm> yeah, me too
[20:37:41] <rob0> Especially when it's shit.
[20:37:49] <Dominian> overrated shit is the worst
[20:37:50] <cpm> no kidding
[20:37:53] <rob0> indeed
[20:38:16] <CaptainMorgan> figures, it takes complete bs to get you people talking
[20:38:46] <rob0> IRC support is overrated.
[20:38:58] <rob0> But not cpm! cpm is good!!
[20:39:08] *** frennkie has quit IRC
[20:40:49] <JosefAssad> CaptainMorgan: not me. I am not talking. Oh, wait...
[20:40:59] *** rogue780|mythser has joined #postfix
[20:41:09] <CaptainMorgan> you call that 'support' ?
[20:41:15] <mindcooker> hi all..perhaps someone can help
[20:41:17] <mindcooker> me
[20:41:35] <mindcooker> i'm trying configure postfix with mysql
[20:41:42] *** drraid has joined #postfix
[20:42:20] <Dominian> CaptainMorgan: if you keep bitching /ignore will be put in place and you'll be SOL
[20:42:29] <mindcooker> i've created a new user/group called vmail
[20:42:49] *** MicW has joined #postfix
[20:43:14] <mindcooker> and main.cf i have
[20:43:25] <CaptainMorgan> Dominian, easy jacko, ain't no one here to bitch to anyways
[20:43:31] <Dominian> CaptainMorgan: sure there is
[20:43:35] <mindcooker> virtual_uid_maps = static:1004
[20:43:36] <mindcooker> virtual_gid_maps = static:1002
[20:43:37] <Dominian> CaptainMorgan: you need to learn something called patience
[20:43:51] <CaptainMorgan> how's five hours, that good enough for ya?
[20:44:12] <hparker> CaptainMorgan: You get what you pay for :-o
[20:44:28] <mindcooker> I can connect to mysql database..but now postfix is giving me this error
[20:44:49] <JosefAssad> say, what was the command argument to view message bodies in the queue?
[20:44:49] <mindcooker> mailbox postfix/trivial-rewrite[4390]: warning: table "mysql:/usr/local/etc/postfix/mysql/transport_maps.cnf": empty lookup result for: "xpto.blogdns.org" -- ignored
[20:44:52] <CaptainMorgan> right - hparker which so eloquently make the term 'shit' ideal
[20:44:59] <JosefAssad> sendmail -$ARGUMENT
[20:45:06] <JosefAssad> sendmail -$ARGUMENT messahe-id I mean
[20:45:26] <MicW> hi
[20:45:36] <hparker> CaptainMorgan: Not everyone just sits in IRC answering questions.. Judging by the amount of channels you're in, you really ought to know how it works
[20:45:44] <mindcooker> what could be happening? empty lookup in transport_maps.conf
[20:45:45] <mindcooker> :/
[20:46:07] <MicW> can i somehow configure an smtp_proxy_filter fallback (that if the proxy is unavailable, messages are passed directly to the delivery)?
[20:46:16] <rob0> Lt. Morgan now. :) And if that was a Navy Captain, that was indeed a big demotion.
[20:46:49] <CaptainMorgan> didn't recall asking for your opinion, but that's what happens when BS gets attention
[20:47:03] <hparker> MicW: One of the problems of running that way, see the discussions in the postfix-users mailing list in the last month or so
[20:47:23] <rob0> One thing you DID ask: a question without adequate information to give a real answer.
[20:47:26] <MicW> so it's a known issue?
[20:47:28] <hparker> CaptainMorgan: Errmm.... I just returned to me office is why I've been "silent"
[20:47:46] <hparker> MicW: Not really an issue, just the way it works
[20:47:54] <CaptainMorgan> hparker, I don't care
[20:48:57] <MicW> but it could simply be fixed with a smpt_proxy_filter_fallback which maybe points to the 2nd postfix smtpd
[20:49:17] <Dominian> Yeah.. and I've been doing T1 turn-ups today
[20:49:43] <MicW> if the proxy is unavailable, the fallback is used and the proxy is retried after a certain amount of time
[20:49:43] *** hemry has joined #postfix
[20:49:46] <hparker> Oh, that's always.. Uhm... Fun :P
[20:50:40] <MicW> how should i set up two content filters (spamd + clamav)? two proxies?
[20:50:55] <MicW> but if one of the proxies fails, delivery is not possible anymore
[20:51:23] <MicW> hm. maybe i shold simply implement an smtp proxy which allows multiple plugins
[20:51:24] <hparker> One of the advantages of after queue filtering
[20:51:32] *** prebur has joined #postfix
[20:51:37] <MicW> hparker, i do before-queue-filtering
[20:51:58] <JosefAssad> or, like, if anyone could tell me what man page to read to find which argument to use to display message bodies of messages in the queue
[20:51:58] <hparker> I know.. That's one of the disadvantages of doing it
[20:51:59] <MicW> ah, "advantages" (i'm not native english speaker)
[20:52:03] <MicW> ok
[20:52:05] <Signum> MicW: what about... postfix ---content_filter--> spamd --Port A--> spamd --Port B--> clamav --Port C--> Postfix
[20:52:30] <MicW> Signum, why 2 spamd?
[20:52:31] <hparker> JosefAssad: I think postwueue is what you're after, I use pfqueue
[20:52:39] <Signum> MicW: forget about the second spamd
[20:52:46] <hparker> postqueue*
[20:52:53] <MicW> Signum, that's what i might do
[20:52:58] <Signum> MicW: the content_filter is doing no magic. just passing the mail along to the defined filter. passing back the mail must be done manually.
[20:53:01] <JosefAssad> hparker: Okie, I'll look at that man page. Thanks in advance (and sorry, I know I must look like a terrible lamer)
[20:53:04] <MicW> but when spamd or clamav fails, mail delivery fails
[20:53:40] <hparker> MicW: As I said, there was a discussion in the mailing list within the last month or so, might be worth a read
[20:53:53] <MicW> i'm going to
[20:54:00] <MicW> do you know the result?
[20:54:23] <hparker> Lots of discussion, basically ending with each has pros and cons ;)
[20:54:34] <JosefAssad> emm, nope. Neither man postsuper
[20:54:52] 
[20:54:58] <hparker> Even doing prequeue you transfer the whole email, so there's not a whole lot of advantages to doing it that way
[20:55:02] <aldin> i used relahost = ultimate.g-tec.co.at but again i get error (connect to ultimate.g-tec.co.at[85.124.164.218]: Connection timed out)
[20:55:22] <hparker> aldin: telnet ultimate.g-tec.co.at 25
[20:55:41] <MicW> the advantage is that i don't have to handle mails which i must deliver but don't want (e.g. possible viruses)
[20:55:48] <aldin> Trying 85.124.164.218...
[20:56:06] <hparker> aldin: Might be blocked outbound port 25
[20:56:30] <cpm> hparker, aldin is blocked, he's been shown he's blocked, and been told what to do about it.
[20:56:35] <hparker> MicW: I drop viruses, high scoring spam goes to quarantine
[20:56:44] <aldin> so postfix smarthost wont work neither?
[20:56:47] * hparker blocks cpm, thanks
[20:56:55] <MicW> i want to reject viruses and high-scoring spam
[20:56:56] <hparker> aldin: Is that your ISP?
[20:57:01] <JosefAssad> errrrrFSCK
[20:57:04] <rob0> But normally an ISP will allow their own users in on 25 for their relay server.
[20:57:05] <aldin> hparker: no
[20:57:10] <JosefAssad> shouldn't HAVE to be this difficult
[20:57:16] <hparker> MicW: Then make sure your filters are stable and always available
[20:57:22] <MicW> ;)
[20:57:26] <rob0> Perhaps ultimate.g-tec.co.at is not the right host?
[20:57:28] *** JosefAssad has left #postfix
[20:57:30] <hparker> aldin: Use your ISP for the smarthost
[20:57:36] * cpm knows hparker is stable and available, that's why we love him
[20:57:41] <MicW> is there a stable smtp-proxy for clamav?
[20:57:52] <hparker> MicW: And if it dies? ;)
[20:57:58] <rob0> Stable? Is that why he smells like horse excrement?
[20:58:08] <cpm> rob0, yeah, pretty much.
[20:58:09] <aldin> hparker: i should put in main.cf relayhot=myISP ?
[20:58:18] <rob0> Surely that's why he's available.
[20:58:37] <hparker> aldin: If you can't get past them, you have no choice
[20:58:39] <aldin> hparker: cpm: i followed this http://www.jimmy.co.at/weblog/?p=53
[20:58:45] <aldin> so i put his "relay"
[20:58:46] <rob0> aldin: where did you come up with ultimate.g-tec.co.at ?
[20:58:51] *** kokoko1 has joined #postfix
[20:58:55] <rob0> ah! Of course that's wrong.
[20:58:56] <kokoko1> hi guys
[20:59:15] <kokoko1> a mail was rejected (boss email :() with message ..
[20:59:17] <cpm> followed, without reading
[20:59:19] <kokoko1> 554 5.6.3 Reject, id=25844-18 - BAD_HEADER: Non-encoded 8-bit data (char A0 hex): Subject: ...it for Web Development - DotImage Tool...
[20:59:27] * cpm wishes he could get folks to do that.
[20:59:34] <cpm>  "Open a paypal account, , , "
[20:59:42] <rob0> haha
[21:00:07] <kokoko1> what does it mean , how to make boss so that he can sent this fucking email :(
[21:00:26] <hparker> cpm: Saw one the other day to cut down on dead sites all over the 'net... paypal this guy a dollar everytime you update in your "Insurance policy" ;)
[21:00:37] <MicW> hparker, fallback_relay shold work
[21:00:37] <rob0> kokoko1, that's not a Postfix message.
[21:00:59] <kokoko1> rob0, yes its amavisd but i am clue less about this bad header thing
[21:01:11] <hparker> It's his MUA not encoding properly
[21:01:12] <kokoko1> any hint will be greatly appreciated
[21:02:03] <aldin> rob0: many: hparker: cpm: so if my ISP bloks (IN/OUT) port 25 is there way to pass it with "postfix smarthost" which many suggested me to google?
[21:02:41] <hparker> aldin: Yes, use your ISP for the smarthost......
[21:03:49] <aldin> so in relayhost = myISP?
[21:03:59] <hparker> You ISPs mail server, yes
[21:04:11] <aldin> uh
[21:04:14] <aldin> what it culd be
[21:04:19] <cpm> kokoko1, one fix is to find a new boss
[21:04:22] <aldin> my isp is europornet.ba
[21:04:27] * cpm has started working on that project
[21:04:29] <kokoko1> cpm, lol
[21:04:29] <aldin> out.mail?
[21:04:33] <aldin> something=
[21:04:46] <kokoko1> cpm, he will prefer to find new sysadmin :-S
[21:04:55] <rob0> kokoko1, dig around in your amavisd.conf and find and disable the bad header checks.
[21:04:59] <cpm> kokoko1, they all claim that.
[21:05:00] <hparker> aldin: Ask you ISP, look at their support pages
[21:05:15] <cpm> aldin, contact your ISP and ask them!
[21:05:27] * hparker pokes around the 'net job hunting
[21:05:28] <cpm> what did you do BEFORE you set up postfix to send mail?
[21:05:48] <aldin> i had username.dyndns.org account
[21:05:53] <rob0> <== air traffic control
[21:06:04] * hparker stays on the ground!!!!
[21:06:11] <cpm> aldin, so you have never sent mail using your ISP?
[21:06:18] <rob0> hparker: I had the airspace over your head!!
[21:06:25] * cpm hasn't flown since last millenia.
[21:06:29] * hparker moves!!!
[21:06:31] <aldin> cpm: it uses webmailAFAIK
[21:06:39] <cpm> contact your ISP
[21:06:40] <rob0> Aluminum showers in Russell, KS today.
[21:06:46] <hparker> lol
[21:07:11] <kokoko1> rob0, ok looking anything to look into master.cf ?
[21:07:38] <rob0> We did O'Hare sequencing out there, and we had a military operations area usually used by F16's and B1's from McConnell.
[21:07:42] *** meandtheshell has quit IRC
[21:07:59] <hparker> Nice
[21:08:43] <rob0> kokoko1: master.cf != amavisd.conf
[21:08:53] * hparker sees his provider is hiring for admin, emails inquiring about remote.. Driving 60 miles a day doesn't sound like fun
[21:09:13] * cpm would love driving only 60 miles a day
[21:09:32] <smesjz> lo cpm & hparker & rob0
[21:09:37] <aldin> cpm: if i send mail from my isp to gmail.com will i see his mail servers in header?
[21:09:39] <cpm> smesjz !
[21:09:40] <hparker> Heya smesjz
[21:09:43] <smesjz> me!
[21:09:48] <cpm> aldin, yes
[21:09:49] <rob0> smesjz is here! Hide the silverware!!
[21:09:59] <cpm> hide the rob0 s
[21:10:04] *** hoodow has left #postfix
[21:10:07] <smesjz> o_O, it's rob0... save women and sheeps first!
[21:10:28] <cpm> no no, pillage the Sheep, rape the, ,
[21:11:24] *** hoodow has joined #postfix
[21:11:30] *** MicW has quit IRC
[21:17:00] <aldin> works works works!!!!!
[21:17:05] <aldin> thank u guys!!!!
[21:17:11] <aldin> i can send mails!!!!!
[21:17:12] *** war has quit IRC
[21:17:14] <aldin> oh man
[21:17:26] <aldin> i am doing this all day and finally it works
[21:17:31] * kokoko1 ponders
[21:18:17] *** Nockian has joined #postfix
[21:18:30] <Dominian> cpm: We raped the horses and rode off on the women!  - the Three Amigos
[21:18:48] <Dominian> something to that effect
[21:19:00] *** ph1zzle has joined #postfix
[21:19:06] <ph1zzle> hey guys
[21:20:26] <ph1zzle> real quick question, if my postfix server only allows mynetworks to be 127.0.0.1/8 but my destination to be all the domains I own, will it still accept mail from anywhere as long as it's only addressed to the domains listed in mydestination?
[21:20:54] <sepski> yes
[21:21:16] <rob0> 127.0.0.1/8 (as your logs have probably told you) is not a valid CIDR expression. "Perhaps you wanted 127.0.0.0/8?"
[21:21:17] <sepski> and not otherways blocked in your resctrictions lines
[21:22:22] <rob0> mynetworks has nothing to do with what domain names you accept as final (or relay) destination. That controls relaying (from your users.)
[21:24:58] *** UQlev has quit IRC
[21:26:12] <ph1zzle> rob0, your right, wasn't thinking when I typed it
[21:26:28] <ph1zzle> ... although, is it not a valid cidr expression
[21:26:45] <ph1zzle> I thought any address in the subnet range can start... nm
[21:26:50] * ph1zzle isn't thinking
[21:27:39] <ph1zzle> anyways, mynetworks will allow me to specify which hosts I accept unrestricted mail destinations from, right?
[21:28:00] <Signum> ph1zzle: yep
[21:28:45] <ph1zzle> ok, now for mydestinations, any body should be able to send mail to this server from any host on any network as long as the the recipiant is on mydestinations
[21:28:46] <ph1zzle> ?
[21:28:47] <ph1zzle> yes?
[21:29:09] <Signum> ph1zzle: yep
[21:29:24] <Signum> ph1zzle: unless you say so otherwise in your smtpd_*_restrictions
[21:29:32] <ph1zzle> ok
[21:29:36] <ph1zzle> excellent
[21:29:40] <ph1zzle> thats all I needed to know
[21:30:32] <ph1zzle> like a jackass I was used as a spam host bot yesterday with our work mail server because like an asshole I allowed my networks to be anybody which... well kinda fucked us up
[21:31:05] <ph1zzle> I thought I needed that option in order to allow anyone to send mail to our destinations at allowing anyone to connect under mynetworks and... ya
[21:31:36] *** cpm has quit IRC
[21:32:58] <ph1zzle> anyways, is there a spot where I can see all the e-mail addresses that were sent to?
[21:33:15] <Signum> ph1zzle: logfile?
[21:33:32] <ph1zzle> yeah
[21:33:45] <ph1zzle> just the standard mail.log in /var/log?
[21:33:48] <Signum> yup
[21:33:51] <ph1zzle> ok
[21:33:54] <ph1zzle> fair enough
[21:33:55] <ph1zzle> lol
[21:36:02] *** w0rd54 has joined #postfix
[21:37:33] <Signum> It's 7331 day today apparently.
[21:38:17] *** Yaroon has joined #postfix
[21:38:35] <Yaroon> Does anyone know of a way to send messages tagged as spam to another mailbox than the user it was intended for
[21:38:38] <Yaroon> ?
[21:39:20] <Signum> Yaroon: use a mail filter like procmail for local accounts or maildrop for virtual accounts
[21:39:28] *** jbsn has joined #postfix
[21:39:34] *** meandtheshell has joined #postfix
[21:41:22] <jbsn> if I am using a transport map, do I need to specify relay_domains for every domain, or can I simply use relay:[server.whatever.com] in the transport map ?
[21:41:46] <Signum> jbsn: you also need relay_domains.
[21:42:07] <jbsn> Signum, can I specify relay_domains as a map, or do I have to list every domain in the config file? :)
[21:42:12] <Signum> jbsn: first Postfix will need to be allowed to receive/accept the email. only then will it read the transport_maps to figure out what to do with it
[21:42:31] <Signum> jbsn: you can use a map. domain name on the LHS. anything you like on the RHS
[21:42:59] <jbsn> Signum, cool thanks.. have a lot of domains handled by this server group, was hoping I could use a map :)
[21:43:39] <Signum> jbsn: use hash, ldap, mysql, pgsql... whatever you like
[21:52:28] <Yaroon> If /etc/procmailrc finds a rule for a message, will it still be processed by the user's ~/.procmailrc ?
[21:52:37] *** SSL has joined #postfix
[21:53:12] <Yaroon> Let's say /etc/procmailrc finds a message to be spam and moves it to a special spammail-users's inbox, a mailbox that the admin checks...
[21:53:26] <Yaroon> Can $HOME/.procmailrc overrule it?
[21:54:03] <SSL> i don't have static ip and i'm using dyndns, i triyed to configure main.cf, but i can't send mail to external, it work just on lan
[21:54:23] *** aldin has quit IRC
[21:54:50] <SSL> i put on myhostname = my dyndns host
[21:55:03] <SSL> what else i must do
[21:56:02] <Signum> Yaroon: ~/.procmailrc is run after /etc/procmailrc. so /etc/procmailrc should not deliver the mail anywhere. perhaps just tag it or remove headers.
[21:56:24] <Signum> SSL: what is the error message you get?
[21:56:25] <mh_le> hey Signum
[21:56:25] <Yaroon> Signum: well, this guy I know has a mailserver and he doesn't want spam to go to its users.
[21:56:29] <Signum> mh_le: evening :)
[21:56:40] <mh_le> Signum: how goes?
[21:56:41] <Yaroon> He wants to take those spam messages out, and users only download good mail.
[21:56:57] <SSL> 5.7.1 relay access denied
[21:56:57] <Signum> Yaroon: you could then filter out spam and deliver it to some global quarantine.
[21:57:21] <Signum> SSL: where did the mail originate from. a system on your lan?
[21:57:30] <SSL> yes
[21:57:33] <Yaroon> Signum: yes, like having /etc/procmailrc check for spam and send it to /var/spool/mail/spam (the spam user's inbox)
[21:57:38] <Signum> mh_le: crappy day... fire alert in one of the computer centers... :(
[21:57:46] <mh_le> ouch
[21:57:52] <Signum> Yaroon: yep
[21:57:53] <SSL> email originale user@dyniphost
[21:57:54] <mh_le> Signum: was the fire bad?
[21:58:20] <Signum> mh_le: no real fire. the company had an electrical problem. just that the alarm didn't go off properly and a coworker was nearly suffocated in there.
[21:58:30] <Signum> SSL: did you send the mail from a computer in your lan?
[21:58:40] <SSL> yes
[21:58:57] <ph1zzle> hey guys, is there a way to create a fake mail server in the sense that it says it's sending mail to anywhere in the world but it never does, yet it looks legitimate to the spammer?
[21:58:58] <SSL> i'm using thunderbird
[21:59:08] <Signum> SSL: is your "mynetworks" variable set up properly?
[21:59:23] <Yaroon> Signum: the trick, I think would be to _not_ DROPPRIVS, and to set $MAILDIR in /etc/procmailrc to /var/spool/mail/spam
[21:59:25] <SSL> mynetworks =  192.168.0.0/24, zawya.servegame.org
[21:59:26] <Yaroon> (I hope)
[21:59:28] <SSL> i put this
[21:59:38] <SSL> sorry for the smap
[21:59:48] <Signum> SSL: the latter "zawya..." is wrong
[21:59:52] <mh_le> Signum: suffocated??
[21:59:55] <SSL> ohh
[22:00:02] <SSL> what i must do?
[22:00:03] <Signum> SSL: you just want the IP network in there
[22:00:09] <Signum> SSL: which IP did you send the email from?
[22:00:32] <SSL> from lan
[22:00:36] <Signum> mh_le: we have a CO2 fire extinguishing system. and when a fire is detected you have an alert for 30 seconds until the rooms get flooded
[22:00:41] <Signum> SSL: from within 192.168.0.0/24?
[22:00:45] <SSL> yes
[22:00:46] <SSL> right
[22:00:53] <Signum> mh_le: something went really really wrong...
[22:01:03] <mh_le> Signum: :(
[22:01:06] <SSL> nooo i mad a mistake
[22:01:07] <SSL> sorry
[22:01:14] <SSL> it's not 192.168.0.0
[22:01:21] <SSL> it's 192.168.1.0
[22:01:23] <SSL> okkk
[22:01:24] <SSL> i change this
[22:01:32] <Signum> SSL: you better do :)
[22:01:38] <SSL> thanks:))))
[22:02:06] <mh_le> Signum: did I ask you about the smtp mysql stuff?
[22:02:07] <SSL> let's try again
[22:02:41] <Signum> mh_le: perhaps
[22:03:34] <mh_le> Signum: well what I'm trying to do it having postfix authorize agaist a mysql table for outgoing mail
[22:03:44] <Signum> mh_le: tough job :)
[22:03:51] <mh_le> I've read a bunch of docs, but can't make heads or tails of it
[22:04:04] <mh_le> Signum: that's not what I wanted to hear ;)
[22:05:14] *** terje has left #postfix
[22:05:16] <Signum> mh_le: well, with "pwcheck_method: auxprop" and "auxprop_plugin: sql" etc. it's fairly easy
[22:05:51] <SSL> The mail system
[22:05:51] <SSL> <mwalol at hotmail dot com>: host mx3.hotmail.com[65.54.244.72] said: 550 Your e-mail
[22:05:51] <SSL>     was rejected for policy reasons on this gateway. Reasons for rejection may
[22:05:51] <SSL>     be related to content such as obscene language, graphics, or spam-like
[22:05:51] <SSL>     characteristics (or) other reputation problems. For sender troubleshooting
[22:05:51] <SSL>     information, please go to http://postmaster.msn.com.  Please note: if you
[22:05:53] <SSL>     are an end-user please contact your E-mail/Internet Service Provider for
[22:05:54] <SSL>     assistance. (in reply to MAIL FROM command)
[22:05:57] <SSL> i got this
[22:06:03] <SSL> why i can't send to hotmail?
[22:06:47] <Signum> SSL: your IP address is probably blacklisted
[22:06:57] <SSL> ok thanks it work anyway
[22:07:15] <Signum> SSL: you better send all your mail through the MX relay of your ISP
[22:07:49] <SSL> how to know the mx relay of my isp
[22:08:18] <mh_le> Signum: this is my /etc/postfix/sasl/smtp.conf: http://www.pastebin.ca/519933
[22:08:27] <mh_le> but for some reason it isn't working...
[22:09:04] <mh_le> SHIT
[22:09:09] <Signum> SSL: ask them
[22:09:17] <Signum> mh_le: which distribution again?
[22:09:22] <mh_le> ubintu
[22:09:34] <Signum> mh_le: then the file must be called smtpd.conf - not smtp.conf
[22:09:37] <SSL> ok thanks bro
[22:10:25] <mh_le> Signum: sorry the file was smtpd.conf
[22:12:25] <Signum> mh_le: my system may not be using the most up-to-date version of cyrus sasl. but are you sure it's called sasl_pwcheck_method instead of pwcheck_method?
[22:13:40] <rob0> Furthermore, I would think log_level 0 might make debugging more difficult.
[22:13:56] <mh_le> Signum: no I'm not...
[22:14:44] <mh_le> Signum: I'm also concerned that the query it's performing is incorrect
[22:15:12] <Signum> mh_le: enable the mysql logging and check the query
[22:18:40] *** roe_ has quit IRC
[22:19:30] <SSL> Signum please where can i change the mx relay
[22:20:10] <Signum> SSL: relayhost
[22:20:30] <SSL> don't work
[22:20:45] <Signum> do work!
[22:21:05] <SSL> not found
[22:21:21] <Signum> mh_le: thanks for your database password btw :)
[22:21:35] <SSL> it's a file or a executable
[22:21:40] <Signum> a setting
[22:21:42] <Signum> !relayhost
[22:21:43] <knoba> Signum: 'relayhost' : a configuration parameter in the main.cf: The default host to send non-local mail to when no entry is matched in the optional transport(5) table. When no relayhost is given, mail is routed directly to the destination.
[22:21:51] <SSL> hehe
[22:21:52] <SSL> ok
[22:22:00] <SSL> i'm a noob
[22:22:49] <mh_le> Signum: the mysql logs doesn't say thing thing usefull
[22:24:42] <mh_le> anything even
[22:25:48] *** roe_ has joined #postfix
[22:27:49] *** Twister has joined #postfix
[22:28:50] <Signum> mh_le: did you enable them? :)
[22:29:10] <Signum> mh_le: [mysqld] -> log=
[22:32:02] *** thojo has quit IRC
[22:32:14] <Twister> hey all, I have an interesting question. Please forgive me if im in the wrong place for this.
[22:32:21] <Twister> I run both Postfix as my mta and spamassassian on a mail gateway.  Our pbx sends voicemails to our email but in a strange codec that requires a special codec from toshiba to listen to. the problem is since i push email to our mobile devices i would liek to be able to listen to those voice messages also, however since its a propritary codec wm5 cant read it and there are no wm5 software from toshiba.  the idea i had was to somehow catch the message when it
[22:35:27] *** pirho has joined #postfix
[22:42:14] *** hoodow has left #postfix
[22:45:01] *** Ryushin has quit IRC
[22:47:25] *** roe_ has quit IRC
[22:48:57] <Twister> i also use mailscanner if that helps any
[22:49:12] *** smesjz has quit IRC
[22:49:32] <Dominian> Twister: Unless there is a way to send the attached file to the cell phone.. you're probably SOL
[22:50:04] <Twister> the attached file is sent to the cell phone with the email
[22:50:21] <Dominian> ok.. so...
[22:50:36] <Twister> im not even opposed to the system creating a new email, attaching the file and sending it to the original recipient
[22:50:37] <Dominian> what does it have to do with postfix then.... I mean its completely on the phone to do the conversion..
[22:50:52] <Twister> but the problem is the phone cant
[22:50:57] <Twister> because i cant get the codec
[22:51:09] <Dominian> Then I'm not sure what you can do..
[22:51:21] <Twister> and i realize that postfix cant do the conversion itself
[22:51:47] <Twister> and wasnt even sure if i was asking the right program, i just wanted to start here and see if anyone had any ideas since this is the mta
[22:53:08] <Dominian> yeah.. I dunno
[22:53:25] <Dominian> I mean no matter what.. the phone will have to play it.. unless there's a codec for windows you can use..
[22:53:40] <Twister> yea, i understand that
[22:53:58] <Twister> i just want to try to get the file into something that the phone can play
[22:54:00] <Dominian> Unless I'm misunderstanding the situation completely lol
[22:54:09] <Twister> and theres a codec for windows, just not the mobile
[22:54:15] <Dominian> Twister: Well, where are the voice messages coming from? The carrier?
[22:54:17] <Twister> and the codec wont install on the mobile
[22:54:27] <SSL> Signum it work fine, thanks for all
[22:54:43] <Twister> comming from our pbx
[22:54:50] <Dominian> Twister: where is the voicemail coming from.. ok.. you rown PBX.. what PBX is it?
[22:55:02] <Twister> Toshiba Strata CTX
[22:55:05] <Twister> 640
[22:55:16] <Dominian> Twister: Is there no way to change the format of voice jmessages?
[22:55:30] <Dominian> Twister: I know on most PBX systems the administrator has the ability to change the codec it uses.
[22:55:33] <Twister> there is but ive tried every format thats on the box
[22:55:36] <Twister> and none of them work
[22:55:40] <Dominian> It doesn't do wav?
[22:55:47] <Twister> its a wav
[22:55:55] <Twister> just...a very strange one..
[22:56:01] <Dominian> odd
[22:56:09] <rob0> Sounds like a crappy proprietary product trying to lock you in.
[22:56:10] <Twister> glad im not the only one that thought that
[22:56:11] <Dominian> You may want to talk to the manufacturer of the cell phones or talk to the carrier.
[22:56:23] <Twister> rob..you hit the nail on the head
[22:56:30] <Dominian> Because if it is standard wav.. the phone should be able to play it
[22:56:40] <Dominian> and I hate toshiba PBXs
[22:56:44] <Dominian> just an FYI :)
[22:56:45] <Twister> so do i
[22:56:56] <Twister> unfortuinatly i inherited it when i took this job :(
[22:56:56] <Dominian> I'd rather use Lucent.
[22:56:59] <Dominian> ouch
[22:57:01] * rob0 <3 Asterisk
[22:57:02] <Twister> id rather use asterisk
[22:57:05] *** roe_ has joined #postfix
[22:57:06] <Dominian> asterisk is nice
[22:57:10] <Dominian> but most places don't use that
[22:57:13] <Twister> ive used lucent
[22:57:22] <Twister> inherited one of those at my last job
[22:57:25] <Twister> wasn't a fan
[22:57:27] <Dominian> heh
[22:57:34] <rob0> most? I'm aware of quite a few.
[22:57:36] <Twister> well
[22:57:37] <Dominian> nor I, but with lucent I could at least figure out how to do what you are wanting to ;)
[22:57:47] <Dominian> rob0: the ones I've ran into.. aren't asterisk
[22:58:04] <Twister> actually i cant say it was lucent..was actually labeled avaya
[22:58:07] <Twister> but same thing
[22:58:25] <Twister> was a parter acs system
[22:58:32] <many> avaya?
[22:58:35] <many> holy shit
[22:58:36] <Twister> ya
[22:58:43] <Twister> oh here we go
[22:58:44] <many> ive seen that replaced by asterisk :)
[22:59:02] <rob0> I'm fine, thanks.
[22:59:05] *** etaylor has joined #postfix
[22:59:05] <Twister> yea, i was one of those replacments lol
[22:59:36] <many> anyway, that seems offtopic:P
[23:00:00] <Twister> id love to be one of those replacments here but they wont let me /sadface
[23:00:04] <Twister> yea i know
[23:00:14] <Twister> amazing how one topic can quickly transition like that
[23:00:15] *** roe_ has quit IRC
[23:00:21] <Dominian> Twister: talk them into going with a VoIP carrier then ;)
[23:00:43] <Twister> LOL...cant get enough bandwidth in here for that
[23:04:41] <Dominian> How much bandwidth you got?
[23:05:01] *** pbh has joined #postfix
[23:05:14] *** the_sniff has quit IRC
[23:05:22] <Twister> t1 for our data traffic and a 3/1 cable connection for our 6 voip phones
[23:05:49] <Twister> cant get anything higher than 3/1 here
[23:06:04] <Twister> unless i went with a ds3 or an oc
[23:06:15] <pbh> I have this error on my maillog: Relay Access Denied, this only happends when I sent an email to a non-local address...
[23:06:19] <Dominian> Twister: why not just do bonded T1?
[23:06:20] <Twister> which costs way more than the company is willing to spend
[23:06:42] <Dominian> get a second T1.. bond them.. be happy
[23:06:45] <pbh> any ideas how to solve it?
[23:07:07] *** gpled has joined #postfix
[23:08:37] <pbh> I have this error on my maillog: Relay Access Denied, this only happends when I send an email to a non-local email address... any ideas how to solve this problem?
[23:08:45] <gpled> has anyone worked with  SMTP Access Policy Delegation in bash?
[23:08:46] *** hemry has quit IRC
[23:09:21] <hparker> !mynetworks
[23:09:22] <knoba> hparker: 'mynetworks' : a configuration parameter in the main.cf: The list of "trusted" SMTP clients that can relay email.
[23:09:28] <hparker> pbh: ^^^^^^^^^^^^^^^^
[23:09:36] <rob0> gpled: ooooh fun :)
[23:09:56] <gpled> pbh: smtpd_recipient_restrictions = permit_mynetworks ?
[23:10:08] <mindcooker> warning: table "mysql:/usr/local/etc/postfix/mysql/transport_maps.cnf": empty lookup result for: "xpto.blogdns.org" -- ignored
[23:10:10] <pbh> yes I have that
[23:10:13] *** killown has joined #postfix
[23:10:37] <mindcooker> any ideas?
[23:10:38] <mindcooker> :/
[23:11:19] <pbh> gpled: yes I have that
[23:11:28] <gpled> pbh: check mydomain and myorigin
[23:11:46] <pbh> gpled: give me a sec
[23:12:25] <pbh> gpled: myorigin = $mydomain
[23:12:33] *** killown has quit IRC
[23:13:41] <pbh> gpled: seems I don't have any mydomain
[23:14:22] <gpled> pbh: hope thats it :)
[23:14:32] *** olinux has joined #postfix
[23:15:14] <gpled> rob0: can i talk you into helping me make at test SMTP Access Policy Delegation in bash?
[23:15:30] <gpled> just need a little help with catching the vars in bash
[23:16:00] *** sepski has quit IRC
[23:17:04] <Twister> ok...Dominian. heres an even easier question. can i take an email and run it through a command line program (like a perl script)
[23:17:05] <gpled> pbh: i just hard coded mine in main.cf   mydomain = example.com
[23:17:21] <pbh> gpled: I entered: mydomain = mydefaultdom.com still same error: Relay Access Denied...
[23:17:22] *** pirho_ has joined #postfix
[23:17:38] <gpled> pbh: did you restart postfix?
[23:17:42] <pbh> yes
[23:17:52] <pbh> gpled: yes
[23:18:06] <pbh> gpled: what else could I check?
[23:18:29] *** pirho has quit IRC
[23:18:32] <gpled> inet_interfaces = all
[23:19:21] <pbh> gpled: yes, I have that same setting
[23:20:05] <gpled> what is mynetworks_style =
[23:20:06] *** pirho_ has quit IRC
[23:20:11] <hparker> What do you have for $mynetworks?
[23:21:29] <pbh> hparker: I have, mynetworks = localhost,xx.xx.xx.xx,127.0.0.1
[23:22:05] <hparker> Are you in xx.xx.xx.xx?
[23:22:17] <hparker> Or on the machine locally?
[23:22:18] *** FlashNet3 has quit IRC
[23:22:18] <pbh> gpled: I don't have mynetwork_style
[23:22:29] <pbh> hparker: yes
[23:22:46] <pbh> hparker: that is the external IP of the server
[23:22:59] <hparker> Where are you trying to mail from?
[23:23:31] <pbh> hparker: from outside, as an user
[23:23:52] <hparker> That IP isn't in mynetwroks.. If you don't have static IP, use SASL
[23:24:30] <pbh> hparker: that IP is static
[23:24:46] <hparker> Your IP, not the servers IP
[23:25:04] <pbh> hparker: ok
[23:25:23] <hparker> pbh: Do you have a static IP?
[23:25:41] <pbh> hparker: I don't, the server yes
[23:25:56] <hparker> Then you need to use SASL
[23:26:02] *** FlashNet3 has joined #postfix
[23:27:13] <pbh> hparker: how can I enable it?   I have most of it setup, but I know is not completed... what parameters can I check?
[23:27:32] <hparker> `grep SASL main.cf` to start with
[23:27:45] <hparker> Err.. grep sasl main.cf
[23:27:57] <gpled> grep -i  :)
[23:28:03] <pbh> ok :)
[23:28:23] <hparker> Or that
[23:28:50] <hparker> Fighting with a freakin' centos box with some screwed up perl atm... Damn binary distros
[23:29:13] <gpled> hmm, i guess he could add his current ip address to $mynetworks to test it
[23:29:29] <hparker> For a temp test that would work
[23:29:55] <gpled> pbh, do you have a domain you can use?
[23:30:04] <gpled> domain name
[23:30:15] <gpled> like pbh.example.com
[23:30:33] <hparker> Without a static IP I kinda doubt it :P
[23:30:34] <pbh> yes
[23:31:10] <gpled> you can put a cron job, to update your ip to that domain
[23:31:51] <pbh> I tried using that format: pbh.example.com and the email was not being delivered to the mailbox, it said it was on the log, but it really didn't
[23:32:54] <pbh> hparker: I have this: smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_non_fqdn_sender,permit
[23:33:13] <hparker> !cheatsheet
[23:33:14] <knoba> hparker: 'cheatsheet' : http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt : A HOWTO for pre-DATA spam control.
[23:33:19] <hparker> pbh: See ^^^
[23:34:02] *** fujin has joined #postfix
[23:34:35] <rob0> It is now safe to turn off your computer.
[23:36:24] <pbh> hparker: I had that same url on my bookmark... that's how I started blocking the spam, but now I can't get email sent from the server to a non-local email
[23:37:19] *** roe_ has joined #postfix
[23:38:13] * hparker cries
[23:39:00] <hparker> You eithe rneed to use SASL or your IP needs to be in mynetworks.. The link was to show you the prefered order of things
[23:39:34] <pbh> hparker: talking about enabling sasl: I have this line: smtpd_sasl_type = dovecot
[23:40:28] <hparker> That's a start
[23:40:37] <pbh> hparker: I even created the CA, cert and key files
[23:40:53] *** roe_ has quit IRC
[23:41:20] <pbh> hparker: I have them correctly setup with their correct path (the above files)
[23:41:46] *** prebur has quit IRC
[23:41:58] <mindcooker> I'm getting this error with postfix+postfixadmin+mysql
[23:42:03] <hparker> pbh: Kinda busy fighting this damned centos system atm, sorry
[23:42:04] <mindcooker>  warning: table "mysql:/usr/local/etc/postfix/mysql/transport_maps.cnf": empty lookup result for: "xpto.blogdns.org" -- ignored
[23:42:19] <dakoo> centos
[23:42:20] <mindcooker> what might be wrong?
[23:42:53] * hparker kix yum and rpms in the junk
[23:43:04] <pbh> hparker: that's ok... I have the same Centos on the server I'm working on too..
[23:43:14] <rob0> yum
[23:43:27] <hparker> pbh: Sorry to hear that :P
[23:43:50] <pbh> hparker: yep, it is very crappy
[23:44:05] * hparker likes his gentoo
[23:44:12] <dakoo> what is the package system on this centos then
[23:44:16] *** war has joined #postfix
[23:44:20] <dakoo> and why did you choose it for your server?
[23:45:10] <hparker> It's not mine ;)
[23:46:15] <pbh> hparker: I have this line commented out: #smtpd_sasl_auth_enable = yes, I was trying to get it to work 4 months ago, but I couldn't finish the setup... I don't even remember what was the problem..
[23:48:57] <dakoo> what does this server do? just email?
[23:49:57] <pbh> email and hosting
[23:50:16] *** prebur has joined #postfix
[23:52:40] <pbh> I got this error now that I set smtpd_sasl_auth_enable = yes :  fatal: no SASL authentication mechanisms
[23:56:00] *** higuita has quit IRC
[23:58:03] <gpled> hparker: i use centos.  like yum :)  might be able to help
[23:58:14] *** higuita has joined #postfix
[23:58:25] <hparker> Just a messed up perl, getting through it... Just a PITA
[23:58:56] <gpled> pbh: what distro you running?
[23:59:14] <pbh> gpled: Centos 4.2
[23:59:59] <gpled> im thining sasl might not be in the default postfix install, on centos.  been a while sense iv looked at that

top