Switch to DuckDuckGo Search
   August 17, 2008  
< | 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 | >

Toggle Join/Part | bottom
[00:06:45] *** rcsu_ has joined #postfix
[00:08:44] *** goldfischli has joined #postfix
[00:20:36] *** rcsu_ has quit IRC
[00:21:56] *** rcsu has quit IRC
[00:24:47] *** goldfisc1li has quit IRC
[00:39:49] *** xpoint has quit IRC
[00:56:33] *** Haris has quit IRC
[01:03:21] *** EthicHackman has joined #postfix
[01:04:57] *** Haris1 has joined #postfix
[01:09:34] *** githogori has joined #postfix
[01:20:26] *** EthicHackman has quit IRC
[01:28:28] *** hever has quit IRC
[01:43:47] *** bimbomio has quit IRC
[01:55:02] *** action09 has joined #postfix
[01:55:08] <action09> hi all
[02:00:32] *** Azrael has joined #postfix
[02:04:28] <ph8> hi all, i have my own content filter ('myfilter') which determines whether a mail is being routed to localhost in which case spamc is used to deliver it, or externally in which case we don't want to spam check (outgoing mail gets tagged as [SPAM]) - that all works fine but now i want to route mail to yaa so it can autorespond for certain addresses - any idea how i'd do that?
[02:06:47] *** war9407 has quit IRC
[02:11:27] *** mgeary has joined #postfix
[02:13:36] *** mgeary has quit IRC
[02:14:03] *** mgeary has joined #postfix
[02:14:07] <mgeary> hi folks
[02:14:37] <action09> hi all :) if i'd use virtual transport and dovecot ai'd use "postconf -e virtual_transport=dovecot" but if i haven't virtual domains.. what can i use please ? :)
[02:14:46] <mgeary> hey, do i understand correctly that i should not list a virtual domain in the virtual file AND in mydestination ?
[02:15:05] <Faxe> yes, you do
[02:15:26] <mgeary> ok, so is it permissible to have NO entry for mydestination ?
[02:15:40] <mgeary> since i only have virtual domains?
[02:16:15] <ph8> yep (what about localhost though?)
[02:16:22] <Faxe> use default (postconf -d mydestination) or set to localhost
[02:17:12] <mgeary> k, trying that
[02:18:39] <mgeary> hrm
[02:20:01] <mgeary> doing that and sending a test bounced it: "(User unknown in virtual alias table)"
[02:24:11] *** Iron_Blood has joined #postfix
[02:24:21] <Iron_Blood> Hello all
[02:24:23] <ph8> does anyone know if i can content filter only for a specific domain? e.g. @autoreply.foo.com
[02:25:23] *** hparker has quit IRC
[02:25:57] *** mgeary has left #postfix
[02:26:02] *** hparker has joined #postfix
[02:28:35] *** Iron_Blood has left #postfix
[02:29:18] *** matlab has joined #postfix
[02:29:21] *** matlab has left #postfix
[02:29:48] *** Iron_Blood has joined #postfix
[02:31:36] <Iron_Blood> Hey, could I get some help with my mail server. (I am a linux noob)
[02:36:15] <ph8> you're an irc noob as well, don't ask to ask just ask
[02:37:04] <Iron_Blood> imap login jeremy password
[02:37:04] <Iron_Blood> imap NO STARTTLS required
[02:37:14] <Iron_Blood> What does No Stattls mean?
[02:38:27] <shasta> TLS == Transport Layer Security
[02:39:38] <shasta> but IMAP something you fetch your emails from; offtopic here
[02:39:47] <shasta> this is #postfix, a Postfix MTA support channel
[02:40:30] <Iron_Blood> There isnt an IMAP channel
[02:40:40] <Iron_Blood> So people pointed me here
[02:40:43] <ph8> what imap software are you using?
[02:42:54] <Iron_Blood> no idea
[02:42:56] <Iron_Blood> how do I find out?
[02:44:01] <Iron_Blood> courier-imap courier-imap-ssl
[02:44:05] <Iron_Blood> does that help?
[02:44:15] *** Niklas- has quit IRC
[02:44:18] *** Niklas- has joined #postfix
[02:44:41] <shasta> try #courier perhaps then
[02:44:53] <shasta> out of curiosity, why do you run your own mail server?
[02:45:18] <Iron_Blood> I told my friend I could help them with there server
[02:45:37] <Iron_Blood> Me personally
[02:45:47] <Iron_Blood> I wouldnt bother with my own mail server
[02:45:57] <Iron_Blood> since there is hotmail gmail etc..
[02:48:14] *** action09 has quit IRC
[03:07:54] *** action09 has joined #postfix
[03:09:30] <action09> n8
[03:13:29] *** githogori has quit IRC
[03:17:15] *** F6F has quit IRC
[03:24:17] *** Iron_Blood has quit IRC
[03:34:59] *** F6F has joined #postfix
[03:35:55] *** action09 has quit IRC
[03:48:20] *** gonewestcoast has joined #postfix
[03:58:16] *** mavrick61 has quit IRC
[03:59:24] *** mavrick61 has joined #postfix
[04:54:56] *** hparker has quit IRC
[04:56:55] *** Haris1 has quit IRC
[05:04:29] *** Haris1 has joined #postfix
[05:04:59] *** duli has joined #postfix
[05:17:13] *** goldfisc1li has joined #postfix
[05:17:43] *** F6F has quit IRC
[05:29:44] *** Faxe has quit IRC
[05:34:09] *** goldfischli has quit IRC
[05:34:11] *** hark has quit IRC
[05:54:59] *** pickcoder has joined #postfix
[05:56:51] *** Motoko-chan has joined #postfix
[06:06:00] *** spy6 has quit IRC
[06:08:18] *** dusty_ has quit IRC
[06:09:55] *** dusty_ has joined #postfix
[06:38:01] *** duli has left #postfix
[06:44:49] *** EasilyOdd has joined #postfix
[06:46:49] *** spy6 has joined #postfix
[07:05:52] *** pickcoder has quit IRC
[07:13:32] *** rubyphyte has joined #postfix
[07:17:42] <rubyphyte> how would I find out which messages are getting rejected by postfix? For some reason messages from cell phones (via sms) don't arrive at my own server (they arrive at my other email accounts). I'm using vhcs2 to administer the server
[07:18:26] <vice-versa> !logs
[07:18:27] <knoba> vice-versa: "logs" : by default, postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /etc/syslog.conf or grep -rl `postconf -h syslog_name` /var/log/* should tell you where logs are going.
[07:22:11] *** EasilyOdd_ has joined #postfix
[07:24:24] *** EasilyOdd has quit IRC
[07:51:40] *** Haris1 has quit IRC
[07:52:06] *** [uni] has quit IRC
[07:55:57] *** rubyphyte has left #postfix
[08:03:30] *** Haris1 has joined #postfix
[08:07:06] *** Zeit|awy_ has quit IRC
[08:14:17] *** Spec has joined #postfix
[08:26:59] *** _Driver_ has quit IRC
[08:30:12] *** x-spec-t has quit IRC
[08:32:05] *** _Driver_ has joined #postfix
[08:36:45] *** x-spec-t has joined #postfix
[08:37:00] *** vecsig has joined #postfix
[08:37:12] <vecsig> is it possible to make always_bcc happen AFTER alias expansion and not before?
[08:38:40] *** j_s has joined #postfix
[08:39:15] *** x-spec-t has quit IRC
[08:39:44] *** x-spec-t has joined #postfix
[08:41:17] *** Spec[x] has joined #postfix
[08:50:53] *** _Driver_ has quit IRC
[08:51:32] *** vecsig has quit IRC
[08:52:52] *** Spec has quit IRC
[08:53:25] *** Spec has joined #postfix
[08:57:21] *** x-spec-t has quit IRC
[08:58:49] *** Spec[x] has quit IRC
[08:59:41] *** x-spec-t has joined #postfix
[09:02:44] *** Spec[x] has joined #postfix
[09:09:04] *** Spec[x] has quit IRC
[09:09:43] *** Spec[x] has joined #postfix
[09:11:24] *** Spec has quit IRC
[09:12:22] *** Spec has joined #postfix
[09:13:08] *** chare has joined #postfix
[09:13:59] *** chare has left #postfix
[09:17:09] *** skyweb has joined #postfix
[09:17:44] *** x-spec-t has quit IRC
[09:18:10] *** x-spec-t has joined #postfix
[09:25:08] *** x-spec-t has quit IRC
[09:25:33] *** x-spec-t has joined #postfix
[09:26:07] *** Motoko-chan has quit IRC
[09:27:52] *** Spec[x] has quit IRC
[09:29:38] *** Spec has quit IRC
[09:39:18] *** Azrael has quit IRC
[09:39:18] *** tshine has quit IRC
[09:39:18] *** dragonheart has quit IRC
[09:39:18] *** Lukemob has quit IRC
[09:39:18] *** AllenJB has quit IRC
[09:39:19] *** tkooda_ has quit IRC
[09:39:19] *** chrisq has quit IRC
[09:39:19] *** jeev has quit IRC
[09:39:19] *** glitch- has quit IRC
[09:40:11] *** Azrael has joined #postfix
[09:40:11] *** tshine has joined #postfix
[09:40:11] *** dragonheart has joined #postfix
[09:40:11] *** Lukemob has joined #postfix
[09:40:11] *** AllenJB has joined #postfix
[09:40:11] *** tkooda_ has joined #postfix
[09:40:11] *** jeev has joined #postfix
[09:40:12] *** glitch- has joined #postfix
[09:40:12] *** chrisq has joined #postfix
[09:40:29] *** alienbrain has joined #postfix
[09:44:39] *** Spec has joined #postfix
[09:50:54] *** Spec[x] has joined #postfix
[09:59:12] *** war9407 has joined #postfix
[09:59:57] *** x-spec-t has quit IRC
[10:02:32] *** x-spec-t has joined #postfix
[10:05:54] *** Zeit|awy has joined #postfix
[10:06:23] *** Spec has quit IRC
[10:07:01] *** Spec has joined #postfix
[10:15:15] *** xous has quit IRC
[10:19:17] *** Spec[x] has quit IRC
[10:21:45] *** Spec[x] has joined #postfix
[10:24:49] *** bimbomio has joined #postfix
[10:26:48] *** Spec has quit IRC
[10:27:18] *** Spec has joined #postfix
[10:28:03] *** x-spec-t has quit IRC
[10:31:20] *** amrit is now known as amrit|zzz
[10:32:44] *** x-spec-t has joined #postfix
[10:39:08] *** miobimbo has joined #postfix
[10:40:09] *** Spec[x] has quit IRC
[10:40:53] *** Spec[x] has joined #postfix
[10:48:10] *** Spec has quit IRC
[10:50:47] *** x-spec-t has quit IRC
[10:56:41] *** Haris1 has quit IRC
[10:57:19] *** bimbomio has quit IRC
[10:57:24] *** _Driver_ has joined #postfix
[10:59:44] *** Spec has joined #postfix
[11:02:43] *** Haris1 has joined #postfix
[11:02:52] *** x-spec-t has joined #postfix
[11:07:16] *** F6F has joined #postfix
[11:07:23] *** xpoint has joined #postfix
[11:15:03] *** Vivek has joined #postfix
[11:15:41] *** Spec[x] has quit IRC
[11:17:32] *** Spec has quit IRC
[11:20:36] *** Vivek has quit IRC
[11:21:16] *** x-spec-t has quit IRC
[11:21:47] *** Vivek has joined #postfix
[11:23:03] *** Spec has joined #postfix
[11:41:45] *** x-spec-t has joined #postfix
[11:44:46] *** Spec[x] has joined #postfix
[11:51:30] *** pirho has joined #postfix
[11:56:45] *** Spec has quit IRC
[11:57:14] *** Spec has joined #postfix
[11:59:56] *** x-spec-t has quit IRC
[12:03:00] *** Spec[x] has quit IRC
[12:09:40] *** Internat has quit IRC
[12:10:04] *** Internat has joined #postfix
[12:13:40] *** Internat has quit IRC
[12:15:47] *** Internat has joined #postfix
[12:30:42] *** skyweb has quit IRC
[12:52:47] *** action09 has joined #postfix
[13:30:45] *** action09 has quit IRC
[13:32:14] *** raz has joined #postfix
[13:33:13] <raz> hmm.. anyone know how to enable CRAM-MD5/DIGEST-MD5 with pwcheck_method=auxprop?
[13:33:32] <raz> google just refuses to tell me how to make sasl store/handle passwords in plain
[13:39:03] <raz> ah figured it out
[13:40:32] *** VaNNi has quit IRC
[13:48:38] *** dusty__ has joined #postfix
[13:49:10] *** dusty_ has quit IRC
[13:52:58] *** nitbix has quit IRC
[14:01:36] *** shinao1 has quit IRC
[14:05:22] *** shinao1 has joined #postfix
[14:14:08] *** carl- has joined #postfix
[14:14:24] *** goldfischli has joined #postfix
[14:17:42] *** _numbers_ has joined #postfix
[14:28:08] *** memic has joined #postfix
[14:31:21] <raz> hmm, how do i enable a SSL listener for postfix? (to have the full connection encrypted, not only TLS)
[14:31:45] *** goldfisc1li has quit IRC
[14:32:52] <wedge> raz: you mean for clients to send email?
[14:33:19] <wedge> courier-imap ssl , courier-pop3 ssl package works for that
[14:33:33] <raz> wedge, no, already found it. was looking for tls_wrapper_mode
[14:33:50] <raz> so now i'm supported TLS-auth and SSL-encryption for my clients
[14:34:35] <raz> i guess my on-wire security is on par with that now. in addition i only accept DIGEST-MD5/CRAM-MD5 for auth :)
[14:34:47] <raz> talk about paranoia
[14:39:53] <shasta> and then one only needs to get into your box, read the clients' passwords and you cat put that whole encryption thing up your a.. ;)
[14:40:03] <raz> hehe
[14:40:25] <shasta> s/cat/can/
[14:40:37] <raz> yea, probably i should rather use PLAIN over TLS/SSL
[14:41:05] <raz> but since i'm the only one using this box anyways i'm not that worried... ;)
[14:41:33] <raz> my only goal was to get safe smtp-auth for when i'm out of town with my lappy
[14:41:57] <raz> and then i got a bit carried away by all the features :)
[14:48:53] *** GER|deadman has joined #postfix
[14:49:22] <GER|deadman> hi
[14:53:11] <GER|deadman> i've got a litte problem with my mailserver, i've set it up with Postfix, Dovecot, amavis and mysql by following the articel "ispmail-etch" on workaround.org
[14:54:41] *** miobimbo has quit IRC
[14:54:42] <GER|deadman> i can sent mails from the mail accounts and i can retrive mails which were sent from the host
[14:54:50] <GER|deadman> using thunderbird
[14:55:55] <GER|deadman> but when i send a mail from anywhere else to my mailadress the mail never reaches the mailserver
[14:56:24] <vice-versa> as in nothing in your logs?
[14:57:09] <GER|deadman> nope there ist nothing in the logs.
[14:57:18] <vice-versa> check your mx records
[14:57:40] <GER|deadman> mhm ok. that's a good hint. thanks
[15:04:15] <vice-versa> np. first one's free ;)
[15:04:40] <GER|deadman> ^.^
[15:14:29] *** madrescher has joined #postfix
[15:17:54] <sysmonk> vice-versa: how much is the next one?
[15:20:31] <vice-versa> depends
[15:20:39] <sysmonk> on what? :)
[15:21:06] <vice-versa> how hard or stupid it is ;)
[15:21:45] <sysmonk> which costs more?
[15:21:48] <sysmonk> hard, or the stupid?
[15:22:18] <vice-versa> that's at my discretion
[15:23:00] <sysmonk> what's if it's a hard question but was asked in a stupid way?
[15:23:00] <sysmonk> ;)
[15:23:11] <vice-versa> double for those afflicted with fcdd
[15:25:15] <sysmonk> fcdd?
[15:25:19] <vice-versa> ask knoba
[15:25:30] <sysmonk> !fcdd
[15:25:31] <knoba> sysmonk: "fcdd" : you are apparently suffering from 'Factoid Comprehension Deficit Disorder', please reread the factoid knoba provided along with any accompanying URL links
[15:27:12] <vice-versa> !stupidbot
[15:27:13] <knoba> vice-versa: "stupidbot" : heh, more like dumb ass human!
[15:28:04] * vice-versa gives knoba a botsnack
[15:36:37] *** |robert| has joined #postfix
[15:37:37] *** pirho has quit IRC
[15:37:54] <|robert|> Hi, I've following problem: I've 2 instances of postfix configured in master.cf. For one I want to set virtual_mailbox_domains= and for the other not. but somehow postfix keeps ignoring it. if I set virtual_mailbox_domains in the main.cf it works.
[15:38:19] <|robert|> but in this case than for both instances
[15:49:21] <philip_> use something like
[15:49:25] <philip_> 127.0.0.1:10026 inet n - n - - smtpd -o
[15:49:29] <philip_> aeh
[15:49:29] <philip_> sorry
[15:49:41] <philip_> smtpd -o virtual_mailbox_domains=
[15:49:42] <philip_> etc
[15:49:46] <|robert|> did that
[15:49:50] <|robert|> it gets ignored
[15:49:53] <philip_> that doesn't work?
[15:49:53] *** hark has joined #postfix
[15:49:53] <philip_> hm
[15:50:11] <philip_> how do you figure it doesnt work?
[15:50:34] <|robert|> found just following http://www.irbs.net/internet/postfix/0507/0623.html
[15:50:57] <philip_> hehe
[15:50:59] <|robert|> because I get relaying denied if I specify it there and it works if i put it into main.cf
[15:51:05] <philip_> i was just trying to verify that assumption of mine
[15:51:20] <philip_> that it isn't probably smtpd who doesn't follow it
[15:51:30] <|robert|> my question is now how can I do want with an other way
[15:51:39] <philip_> ha
[15:51:41] <philip_> i see now
[15:51:47] <philip_> you specified the parameter in the master.cf?
[15:51:52] <|robert|> jo
[15:52:00] <|robert|> there it does not work and in main.cf it does
[15:52:01] <philip_> set it in the main.cf, then UNSET it in master.cf
[15:52:05] <philip_> with virtual_mailbox_domains=
[15:52:07] <philip_> on one line
[15:52:23] <|robert|> tried it too. didn't work (the unset part)
[15:52:24] <philip_> then it could/should work
[15:52:28] <philip_> hm
[15:52:44] <|robert|> Maybe there is other solution for my problem
[15:52:46] *** pirho has joined #postfix
[15:52:53] <philip_> perhaps you could use a different transport
[15:53:05] <|robert|> I have splitted domains. and this server is one of the imap servers
[15:53:22] <philip_> i don't get it
[15:53:28] <philip_> why don't you just use one postfix?
[15:53:54] <|robert|> I'll explain
[15:54:44] <|robert|> as we're a splited domain setup, the mailgateway (also a postfix) decides to which server the mail should be send. e.g. a at x dot x --> server1 b at x dot x --> server2
[15:55:01] <philip_> ah
[15:55:09] <philip_> i think i know what you need to do
[15:55:21] <|robert|> the first postfix instance on server1 should take the mails mails from the mailgateway and deliever it to the mailbox
[15:55:21] <philip_> you need to create a second instance of virtual in master.cf
[15:55:27] <philip_> with virtual_mailbox_domains unset
[15:56:06] <philip_> and then you need to define this transport in the second instances master.cf line
[15:56:08] <|robert|> the second instance on the server1 should send anymail (from a client or the webmail) to the mailgateway, as he is the only one who knows to which server the mail should go
[15:56:11] <philip_> with virtual_transport =
[15:56:54] <philip_> did you get that?
[15:57:14] <philip_> say yes, then i'll start asking some irritating questions about your setup ;)
[15:57:25] <|robert|> virtual is the maildrop program of postfix?
[15:57:47] <philip_> it is the transport for virtual domains
[15:58:14] <|robert|> hmm .. I've set the virtual_transport=maildrop (the maildrop programm of courier_imap)
[15:58:41] <|robert|> maildrop unix - n n - - pipe flags=DRhu user=mail argv=/usr/bin/maildrop -d ${user}@${nexthop} ${extension} ${recipient} ${user} ${nexthop}
[15:59:22] <philip_> i think this is wrong
[15:59:47] <|robert|> hmm .. ok. but at least it delives the mail correctly into the mailboxes
[15:59:57] <philip_> so
[16:00:01] <philip_> about your setup
[16:00:06] <philip_> how many real servers are there?
[16:00:24] <philip_> ie root-installations
[16:00:26] <|robert|> 1. mailgate (local)
[16:00:36] <|robert|> 2. mailrelay (remote data center)
[16:00:47] <|robert|> 3. ms exchange
[16:00:53] <philip_> ok
[16:01:03] <|robert|> 4. imap server (do save exchange licences)
[16:01:09] <philip_> so on mailrelay there is one postfix instance or two?
[16:01:25] <|robert|> forget mail relay in this setup
[16:01:52] <|robert|> the mailgateway distributes the mails between exchange and the imap (and does spam, virus, ...)
[16:02:26] <|robert|> 1-3 works for some time now, I'm just trying to put the imap server into this setup
[16:02:46] <philip_> aaah
[16:02:47] <philip_> i get it
[16:03:04] <philip_> and where do you keep the information what goes where?
[16:03:24] <|robert|> i could use the mailgateway as the smtp server for the clients and not the imap one, but than I've the login data of the clients on 2 machines
[16:03:34] <|robert|> mailgateway
[16:03:39] <philip_> i mean
[16:03:43] <philip_> sql, ldap, ...
[16:04:10] <philip_> or better yet, how do you know what goes where
[16:04:13] <philip_> is there something like
[16:04:33] *** pirho has quit IRC
[16:04:45] <philip_> only certain addresses go to the exchange, and default is the imap?
[16:04:57] <|robert|> no. the an ldap extract is done from the exchange and copied on every change to the mailgateway. it extracts the mail adressen (in and out seperate) and uses a local hash file
[16:05:17] *** pirho has joined #postfix
[16:05:18] <philip_> and default is the imap?
[16:05:34] <philip_> or does the imap also have an explicit recipient list?
[16:05:48] <|robert|> not really an default. as the mailgateway knows every adresse to be able to bounce stuff
[16:06:22] <philip_> is it set up like that or does the rejecting happen elsewhere?
[16:06:35] <philip_> like, on the external mailrelay
[16:06:45] *** rcsu has joined #postfix
[16:06:45] <philip_> (what i guess is used for incoming mails too9
[16:07:00] <|robert|> the mailrelay is only for outgoing mails and backupx mx
[16:07:29] <|robert|> the mailgateway normally the server over which all mails run
[16:08:17] <|robert|> mailrelay is only there if mailgateway fails and to sent mails to external addresses
[16:15:30] <philip_> one moment
[16:15:40] <philip_> i had a similar problem
[16:16:32] <philip_> what you want is
[16:16:36] <philip_> transport_maps
[16:17:42] <philip_> transport_maps (empty)
[16:17:42] <philip_> Optional lookup tables with mappings from recipient address to (message delivery
[16:17:45] <philip_> transport, next-hop destination).
[16:17:50] <philip_> and if i recall correctly
[16:18:07] <philip_> you can use a smarthost/SMTP server as a value to be returned for an email address
[16:18:39] <philip_> i did that once, but i'm not working for that company anymore, so i can't check
[16:19:44] <philip_> example.com smtp:bar.example:2025
[16:20:05] <philip_> you should be able to use an emailaddress too, according to the manpage
[16:20:27] <philip_> so it would be something like
[16:20:58] <philip_> john at doe dot com smtp:exchange.doe.com:25
[16:21:07] <philip_> barbara at doe dot com smtp:exchange.doe.com:25
[16:21:08] <philip_> ...
[16:21:14] <philip_> doe.com virtual
[16:21:18] <philip_> or whatever
[16:21:30] <philip_> as transport_maps
[16:21:58] <philip_> of course you can give a specific transport for each user
[16:23:07] <philip_> i'm pretty sure this is the right solution for the problem how i understood it :)
[16:23:39] *** Juspion has joined #postfix
[16:26:12] <adaptr> great flood, did you practice a lot ?
[16:27:21] <philip_> adaptr: thanks for the insight on the topic
[16:27:46] <adaptr> it's hardly an insight, it was staring me in the face! :D
[16:29:11] <ph8> hey guys, i'm making a php filter to handle autoresponding for me, it seems to loop indefinitely - i do an exit(0); at the end of the script (after forwarding it off to spamc for final delivery) but i'm missing something? what does a postfix filter need to return on success?
[16:29:23] *** EasilyOdd_ has quit IRC
[16:29:24] <ph8> my filter line: autorespond unix - n n - - pipe
[16:29:25] <ph8> user=filter argv=/etc/postfix/header_autoresponder.php ${sender} -- ${recipient}
[16:29:45] *** EasilyOdd has joined #postfix
[16:30:08] *** EasilyOdd has quit IRC
[16:30:38] *** |robert| has quit IRC
[16:44:23] <philip_> what seems to loop ph8
[16:44:33] <philip_> the script or master invoking the script?
[16:44:53] <ph8> presumably the master invoking
[16:44:59] <ph8> since the script has no loops that could produce this behaviour
[16:45:20] *** Haris1 has quit IRC
[16:45:21] <philip_> how do you know it is looping?
[16:45:40] <ph8> i have it send me a mail when it starts and i get about 50 then the original sender (my gmail) gets a message back from the MX saying 'too many hops'
[16:45:44] <philip_> i*m sorry that i ask those questions, but having certain grounds to stand on is easier
[16:45:50] <ph8> no probs
[16:46:17] <philip_> ok, so you do not actually see the master invoking it in logfiles?
[16:46:55] <philip_> you really should find the corresponding log entries for the invocation(s) of the scrip
[16:46:58] <philip_> t
[16:51:37] <ph8> ah i'll watch it in a sec
[16:52:44] <philip_> don't forget that sending an email from the filter might actually trigger your filter :)
[16:52:51] <philip_> better use syslog for that
[16:53:12] <philip_> http://at.php.net/syslog
[16:53:35] <ph8> it shouldn't do
[16:53:42] <ph8> the filter i'm sending it to is another one i made (but in bash)
[16:53:51] <ph8> which invokes spamc or sendmail directly
[16:53:56] <ph8> hmmm
[16:54:01] <ph8> point, perhaps spamc uses postfix
[16:54:03] <ph8> that would be weird
[16:54:27] <philip_> i just wanted to point out that debug with syslog is easier and less error prone
[16:54:32] <ph8> lets try stopping the forwarding temporarily and seeing if it repeats :p
[16:54:33] <philip_> and you can use it in production too ;)
[16:54:40] <ph8> ah thanks
[16:56:18] *** mulvane has joined #postfix
[16:56:25] *** mulvane has left #postfix
[16:56:28] *** [1]manic has joined #postfix
[16:58:45] <[1]manic> I'm trying to figure out how to get my postfix on freebsd to talk ssl to the relay server
[17:00:06] <[1]manic> is that TLS?
[17:00:17] <philip_> yes
[17:00:33] *** Haris1 has joined #postfix
[17:00:39] <philip_> do you share a common CA for both? like cacert?
[17:00:40] <[1]manic> then I am on the right documentation page at least
[17:01:11] *** [Gandhi] has quit IRC
[17:01:32] <[1]manic> philip_: are you asking me?
[17:02:01] <philip_> http://rafb.net/p/RhESWm61.html
[17:02:06] <philip_> use that
[17:02:18] <philip_> [1]manic: yes, but the bracket is "hard" to type ;)
[17:02:28] *** Juspion has quit IRC
[17:02:31] <[1]manic> just call me manic
[17:02:36] <ph8> philip_: right you are, it would appear it's looping through spamc!
[17:02:59] <philip_> [1]manic: yeah, but that i would have to type, so its just first letter(s) and tab ;)
[17:03:11] <[1]manic> we created our own CA when we built the server
[17:03:18] <philip_> ph8: so start using syslog for debugging and stop falling over your own feet ;))
[17:03:19] <adaptr> [1]manic: http://www.postfix.org/TLS_README.html
[17:03:32] <adaptr> lots of TLS client options
[17:03:42] <[1]manic> yes, I'm there adaptr
[17:03:48] <adaptr> oh good
[17:04:27] <[1]manic> my biggest problem is that I think it is partially set up already and I am not sure what *hasn't* been done yet
[17:04:41] <GER|deadman> aah, finale it's running. Thank your very much vice-versa. you were right. the first problem was the mx record
[17:04:51] <philip_> ph8: and use a different smtp: process in master.cf to inject the spamc returned mails
[17:05:00] <philip_> one where you unset your filtering options
[17:05:34] <philip_> [1]manic: start by figuring out what it is that doesn't work
[17:06:16] <philip_> like, are there log entries of failed tls negotiations? is the tcp stream unencrypted? (use tcpdump or ngrep for that)
[17:06:17] <[1]manic> could I assume OpenSSL is set up if I am already set up to SSH into the machine?
[17:06:42] <philip_> [1]manic: are you talking about libraries or functionality? :)
[17:07:22] <philip_> and you can assume openssl is there, at least all distributions i know have it in a default installation
[17:07:29] <[1]manic> i guess that answers my question philip, libraries are probably there, tls is disabled
[17:09:21] <philip_> except you are on a unix flavour, then you'd need to install it
[17:09:57] *** lunaphyte has quit IRC
[17:13:10] <[1]manic> the directions for the MX I will be relaying to are for connecting a client (i.e. outlook express) , so would it be reasonable to assume I only need the private key and not our CA?
[17:13:35] <philip_> NOBODY needs the private key except the server
[17:13:55] <philip_> you need the ca's certificate installed on the client
[17:14:20] <philip_> (and no, there is no way to use the private key of the server for that)
[17:14:39] *** GER|deadman has left #postfix
[17:14:53] <philip_> its not only dead wrong, its also technically impossible ;)
[17:15:22] <philip_> and do yourself a favour and use cacert for that
[17:15:52] <philip_> i stopped using my own CAs years ago
[17:16:02] *** lunaphyte has joined #postfix
[17:16:04] <philip_> it's just a big hassle imho
[17:16:05] <[1]manic> i am not sure I need a CA to relay to this server
[17:16:26] <philip_> i think you can use self-signed certificates
[17:16:49] <philip_> that would render your own CA useless
[17:17:23] <[1]manic> it says in the docs that for servers that are not public MX hosts, postfix supports configurations with no certificates.
[17:17:24] <philip_> but if you use your own CA, you need the issuing CAs certificate on the client
[17:17:38] <philip_> yes, thats what i just said
[17:17:53] <philip_> at least i guess it means what i just said ;)
[17:19:28] <philip_> mh, perhaps i wasn't to clear: there is a difference between using your own CA and self-signed certificates
[17:20:46] <[1]manic> i need postfix to mimic what outlook express would be doing
[17:20:58] <philip_> ok, i'm sorry, apparently i just talked bullshit :)
[17:21:15] <[1]manic> s'ok
[17:21:22] <philip_> [1]manic: did you look into the url i posted earlier?
[17:21:41] <philip_> http://rafb.net/p/RhESWm61.html
[17:21:43] <philip_> that one
[17:21:58] <[1]manic> ok, i just looked at it
[17:22:50] *** Tykling has joined #postfix
[17:23:15] <[1]manic> is that for main.cf ?
[17:24:26] <philip_> yep
[17:24:51] <sysmonk> new phases :)
[17:24:54] <sysmonk> or new nicks...
[17:26:10] <[1]manic> interesting, i have that in my main.cf already
[17:26:51] <[1]manic> this may turn out to be trivial (i hope)
[17:28:32] <philip_> [1]manic: use ngrep to see if tls isn't already working
[17:28:57] <[1]manic> ngrep: command not found
[17:29:11] <philip_> apt-get install ngrep
[17:29:28] <sysmonk> doh
[17:29:29] <sysmonk> man
[17:29:35] <[1]manic> ps -aux | grep tls
[17:29:37] <sysmonk> i hate people like you
[17:29:46] <philip_> ...?!
[17:29:46] <[1]manic> tlsmgr -l -t unix -u
[17:30:01] <sysmonk> philip_: WHY does he need ngrep?
[17:30:11] <sysmonk> why can't he do the same with the BASIC tools which come with the distro?
[17:30:22] <philip_> sysmonk: to see if postfix actually switches to tls
[17:30:29] <[1]manic> freebsd 6.2
[17:30:39] <philip_> because it is easier to use than tcpdump
[17:31:04] <sysmonk> [1]manic: use tcpdump, and by the way, update freebsd :)
[17:31:18] <sysmonk> philip_: right, using openoffice is easier than using vim
[17:31:25] <sysmonk> so lets install openoffice to edit the configuration files
[17:31:26] <philip_> ...
[17:31:33] <sysmonk> setenv DISPLAY mydesktop:0.0
[17:31:37] <sysmonk> openoffice-writer /etc/rc.conf
[17:31:41] <sysmonk> hooray! it's easier!
[17:31:41] <philip_> i see
[17:31:48] <philip_> i hate people like you too
[17:31:50] <philip_> assholes
[17:31:58] <philip_> i hate them bigtime
[17:32:08] <sysmonk> philip_: maybe it's time to install windows 'cause it's easier?
[17:32:09] <sysmonk> ;)
[17:32:24] <philip_> but hey, you aren't an asshole after all
[17:32:43] <philip_> you were just joining a lengthy discussion to point out something completely irrelevant
[17:32:57] <[1]manic> how would I simply set the port of the relayhost
[17:33:10] <sysmonk> [1]manic: host:port
[17:33:10] <[1]manic> nevermind!
[17:33:13] <philip_> [1]manic: use the normal :portnumber syntax
[17:33:58] <sysmonk> philip_: i haven't read all the discussion, i just came here. and saw something creepy :)
[17:34:11] <philip_> sysmonk: exactly my point
[17:35:11] * sysmonk shuts up and follows the discussion. maybe i'll see a "install lsof to see if postfix is listening on port 25" kind of stuff
[17:36:14] <shasta> (;
[17:36:23] *** rootsvr has joined #postfix
[17:36:42] <[1]manic> do I need the brackets around relayhost?
[17:37:13] <sysmonk> [1]manic: depends
[17:37:20] <sysmonk> [1]manic: brackets turn off mx lookups
[17:37:37] <sysmonk> i.e. if you set relayhost = domain.com - it will look up domain.com mx records and relay through them
[17:37:55] <sysmonk> if you set it to [domain.com] it will relay through the IP of domain.com
[17:38:43] <[1]manic> i think i should do [host]:port then
[17:38:51] <sysmonk> oh, and in your case, if you're using a nonstandard ( not 25) port, it's [domain.com]:port
[17:38:54] <sysmonk> ye
[17:39:25] <[1]manic> what is postfix' prefered way of being restarted?
[17:39:43] <sysmonk> postfix stop && postfix start
[17:39:53] <sysmonk> use your distro specific 'restard' procedure
[17:39:59] <sysmonk> if it's freebsd, then it's /usr/local/etc/rc.d/postfix restart
[17:40:05] <philip_> restard, bastart!
[17:40:07] <philip_> :P
[17:40:07] <sysmonk> s/restard/restart/
[17:40:08] <sysmonk> ;)
[17:40:12] <sysmonk> philip_: :P
[17:40:14] * philip_ now being an asshole too
[17:40:23] <sysmonk> ye, i have problems with typing
[17:40:27] * sysmonk is not a native-english speaker
[17:40:46] <shasta> postfix reload is enough
[17:40:54] <sysmonk> shasta: depends for what
[17:40:55] <shasta> noobs ;)
[17:41:00] <sysmonk> noob!
[17:41:00] <sysmonk> ;)
[17:41:09] <shasta> for relayhost change? :>
[17:41:20] <shasta> !boon
[17:41:21] <knoba> shasta: Error: "boon" is not a valid command.
[17:41:25] <sysmonk> relayhost change - yes
[17:41:48] <sysmonk> shasta: his question was generally about restarting, and not about reloading configuration
[17:46:16] <[1]manic> oh, how do i reload main.cf ?
[17:46:35] <sysmonk> [1]manic: postfix reload
[17:46:41] <sysmonk> or /usr/local/etc/rc.d/postfix reload :)
[17:46:51] <sysmonk> but not everything is 'reloaded'
[17:49:31] <[1]manic> how do I get postfix to change relayhost short of rebooting?
[17:51:13] <sysmonk> er, what?
[17:53:40] <[1]manic> ok, how do i debug messages not going through?
[17:53:52] <sysmonk> check the logs
[17:54:03] <[1]manic> duh, i knew that
[17:56:35] <vice-versa> apt-get install OpenOffice
[17:56:37] * vice-versa runs
[17:57:56] *** songyun has joined #postfix
[18:00:13] <songyun> I configured postfix in my desktop in my company's NAT. now, my postfix can send emails to any other Internet mailboxs , but failed to send to my company internal mailbox. It seems that my company doesn't setup MX service properly for internal network. By reading the mail log, it always tried to connect to DNSServer:25 instead of the correct one mailserver:25. what is the wordaround that I can use to fix this problem?
[18:00:45] <[1]manic> lost connection with [the relayhost] while recieving the initial server greeting
[18:01:10] <songyun> btw, both DNSServer and mailserver are internal addresses.
[18:01:12] <sysmonk> [1]manic: relayhost did not greet.
[18:01:31] <sysmonk> [1]manic: 1. it's not smtp out there 2. maybe it's smtp over tls
[18:02:05] <sysmonk> !transport_maps
[18:02:05] <knoba> sysmonk: "transport_maps" : a configuration parameter in the main.cf: Optional lookup tables with mappings from recipient address to (message delivery transport, next-hop destination). See transport(5) for details.
[18:02:07] <sysmonk> songyun: ^^
[18:02:11] <[1]manic> it is just an ordinary vanilla smtp server which wants ssl outgoing
[18:02:28] <sysmonk> songyun: just make 'domain.com smtp:[internalip]'
[18:02:41] <sysmonk> [1]manic: so it wants ssl! :)
[18:02:52] <songyun> sysmonk, thank you very much for the help. I will try to configure mail.cf.
[18:02:56] <sysmonk> [1]manic: that's not smtp, that's smtps
[18:03:14] <[1]manic> i knew that ;)
[18:03:30] *** sega01 has joined #postfix
[18:03:34] <sega01> hey
[18:04:27] <sysmonk> [1]manic: i didn't :)
[18:04:31] <sega01> any suggestions on how i would go about relaying all messages sent to servers without AAAA records through another host?
[18:04:35] <sysmonk> [1]manic: you have to set up some tls client side stuff
[18:04:37] <sysmonk> !tls_readme
[18:04:37] <knoba> sysmonk: "tls_readme" : http://www.postfix.org/TLS_README.html : Transport Layer Security (TLS/SSL) features in Postfix
[18:04:46] <sysmonk> [1]manic: read that and set it up correctly
[18:04:56] <sysmonk> there are to many params to say what's best for you
[18:05:54] <sysmonk> sega01: do you have ipv4 connectivity out there?
[18:06:11] <sysmonk> that is, is your postfix able to connect to servers with A records ?
[18:07:31] <sega01> yes, it can
[18:07:36] <sega01> but i'm on a dynamic IP
[18:07:44] <sega01> most sites block it :-(
[18:07:47] <sysmonk> if uf, that's bad ( that it can )
[18:08:02] <sysmonk> although, you could firewall out all connectivity to dst-port 25
[18:08:06] <sysmonk> and use fallback_relay
[18:08:18] <sega01> hmm, ok
[18:08:20] <sysmonk> !fallback_relay
[18:08:23] <knoba> sysmonk: "fallback_relay" : a configuration parameter in the main.cf: Optional list of relay hosts for destinations that can't be found or that are unreachable.
[18:08:28] <sysmonk> atleast you could try doing that :)
[18:08:43] <sega01> seems a little hackish, but definitely could work
[18:08:47] <sega01> thanks :-)
[18:09:27] <sysmonk> yeah, i don't see any other way of doing that
[18:12:48] *** rootsvr has quit IRC
[18:13:39] *** nardul has joined #postfix
[18:14:36] <nardul> I can't seem to figure out master.cf. I get "postfix/cleanup[19244]: fatal: unsupported dictionary type: mysql", where's it told to look there?
[18:15:04] <[1]manic> how do i determine which version of postfix i have?
[18:16:02] <sysmonk> nardul: you don't have mysql support compiled in. check that by using potsconf -m
[18:16:11] *** bimbomio has joined #postfix
[18:16:21] <sysmonk> nardul: if you don't see mysql in the output, then it's not compiled in with postfix
[18:16:30] <nardul> sysmonk, Thank you, centos, i didn't compile myself. So i need to turn it off.
[18:16:31] <sysmonk> [1]manic: postconf mail_version
[18:19:44] <songyun> sysmonk, I am sorry to trouble you again. I checked main.cf, it has a line transport_maps = hash:/etc/postfix/transport. then I added one line in the end of /etc/postfix/transport: domain.com smtp:mail.domain.com Then service reload and restart. but nothing changed. problem still exists... any ideas?
[18:20:24] <sysmonk> !postmap
[18:20:24] <knoba> sysmonk: "postmap" : a command to 'compile' text files to hash databases. Example: a file transport will be converted to transport.db by running 'postmap transport'. Your main.cf will contain something like transport_maps = hash:/etc/postfix/transport (without the '.db')
[18:20:25] <sysmonk> songyun: ^
[18:21:11] <songyun> sysmonk, thanks a lot. I am wondering why I saw binary file transport.db. this is the reason why... i am stupid.
[18:21:58] <sysmonk> good that some people still admit it :P
[18:23:36] <nardul> Does anyone know where i can find a package for centos compiled with mysql? I'm afraid of breaking things if i compile from source.
[18:24:47] <songyun> sysmonk, ^_^ it works perfectly right now. thanks a lot for your kind help!
[18:25:10] <sysmonk> songyun: np, 99.99$
[18:25:22] <sysmonk> nardul: try asking that on #centos ?
[18:25:39] <songyun> sysmonk, :)
[18:25:43] <nardul> sysmonk, Ofcourse, silly me
[18:34:02] <[1]manic> ok, after reading the instructions it appears that I have TLS on by default (for the client), TLS is what allows smtps connections isn't it?
[18:34:09] *** action09 has joined #postfix
[18:37:13] *** vecsig has joined #postfix
[18:37:23] <vecsig> is it possible to do always_bcc AFTER alias expansion?
[18:37:27] <[1]manic> does postfix restart do a restart of the tlsmgr ?
[18:37:39] <vecsig> so that it will bcc every single users' email, instead of just the alias itself
[18:38:59] <sysmonk> vecsig: afaik - no
[18:39:27] <sysmonk> you can ues the no_address_mappings in receive_override_options, but that will disable alias expansion too
[18:39:46] *** songyun has quit IRC
[18:39:56] <sysmonk> s/alias expansion/bcc/
[18:41:03] <sysmonk> vecsig: i'd offer you asking postfix-users mailing list
[18:41:28] <sysmonk> there are smarter people there :P
[18:51:34] <vecsig> so i wonder if i should do it in maildrop instead
[18:51:58] <vecsig> such as if there's a method in maildroprc filter to copy the message elsewhere before delivering
[19:10:15] <action09> ls
[19:10:17] <action09> oups
[19:11:45] <sysmonk> . ..
[19:11:58] <sysmonk> woops, it should have been . .. pr0n
[19:14:10] <action09> hehe
[19:18:16] <dusty__> Hey guys I am planning building a new mailserver. Need some advice on a few things.. It's more of a personal learning experience than offering hosting or financial gain etc.. I want to setup something like postfix+dovecot+amavis+mysql virtual domains/users.. I have 3 domains I want to use (and possibly host a couple of friends domains) and I want to use the mail accounts for personal and some friends. So I want a way to
[19:18:16] <dusty__> manage it a control panel to some extent, so users that I host their domains can control what they need and won't need to bother me, then likewise for users I give mail accounts to - I need a way for them to change passwords add/delete mail accounts etc - So my question is, what control panel? how do you guys administer your mailserver and offer users the ability to control things ?
[19:18:32] <dusty__> (Another thing I would like users to have control over is spam/virus checking provided by amavis).
[19:19:11] *** hparker has joined #postfix
[19:19:38] <sysmonk> we use custom coded stuff, but there are things like postfixadmin, maia and etc
[19:19:47] <sysmonk> i don't use em so i can't offer any
[19:22:15] <dusty__> Fair enough, I was thinking about coding my own php application, but I don't know enough about php to make it feasible.
[19:22:22] <dusty__> Could be a good learning curve though.
[19:22:40] <dusty__> Not heard of maia before, will google it now - thanks for that.
[19:22:50] <dusty__> Postfixadmin is a bit bland for what I want.
[19:22:55] *** action09 has quit IRC
[19:25:18] *** vecsig has quit IRC
[19:35:04] * hparker has had good results with end users admining their own email domains with postfixadmin
[19:36:57] *** gcleric has joined #postfix
[19:37:12] <dusty__> hparker, yes, but do you use amavis ?
[19:37:19] <hparker> yup
[19:37:25] <dusty__> hparker, postfixadmin breaks amavis mysql tables.
[19:37:34] <dusty__> because the id field is missing..
[19:37:36] <hparker> hasn't for me
[19:38:06] <dusty__> check your logs you will see that there are errors because of it.
[19:38:07] <hparker> I use a squirrelmail plugin to allow users to adjust white/blacklist, thresholds, etc
[19:38:10] <dusty__> unless you've tweaked it.
[19:38:33] <hparker> Not much, but I'm still running 1.x, haven't looked at 2.x
[19:38:38] <dusty__> ah
[19:39:00] <dusty__> how have you got yours setup then ?
[19:39:52] <hparker> Pretty stock 1.x install (had one bug to fix about the welcome email is all I remember), amavisd... Let me check the version
[19:41:00] <hparker> amavisd-new 2.4.1, and squirrelmail with a plugin for per user prefs, sitewide bayes (don't trust them enough not to poison it)
[19:41:18] <dusty__> hehe
[19:41:18] <hparker> I host like 40-50 domains like that
[19:41:19] <dusty__> ok
[19:41:27] <dusty__> hrm
[19:41:32] <hparker> Maybe it's closer to 30
[19:41:45] <dusty__> do you mind if I give you a shout when I setup mine then if I run into trouble ?
[19:42:02] <hparker> If i'm around, sure
[19:42:05] <dusty__> as i had trouble with postfix-dovecot-amavis-mysql-postfixadmin before
[19:42:06] <dusty__> ok
[19:42:18] <dusty__> infact i could show you the error i'll dig it out
[19:42:19] <hparker> I'm using courier
[19:42:22] <dusty__> see if you've seen it before
[19:42:24] <dusty__> ah
[19:42:29] <hparker> Don't think that would matter though
[19:42:34] <dusty__> it doesn't
[19:43:08] <dusty__> its just postfixadmin-mysql-amavis the issues arise
[19:43:25] <dusty__> i mean it all worked fine, just these errors, and specific parts of amavis wouldn't function(the mysql part)
[19:43:53] <hparker> Yeah, I'm hoping 2.x supports pgsql better then 1.x did... Then I can dump mysql on that server completely
[19:44:52] *** aron is now known as Aron
[19:47:06] <nardul> I'm having some problems. My current /virtualdir/ keeps having permissions altered. I'm using postfix to store the mails, how do i change the permissions with which postfix stores the mailfiles?
[19:47:53] *** humbolt has joined #postfix
[19:47:59] <humbolt> what is a Return-Path in the context of email headers?
[19:51:56] <hparker> humbolt: http://www.freesoft.org/CIE/RFC/822/28.htm
[19:53:31] <dusty__> hparker, Here it is: http://rafb.net/p/iOQ1OY79.html
[19:53:39] <dusty__> line 7
[19:54:05] <dusty__> also, why dump mysql over pgsql
[19:54:27] <hparker> cuz I prefer pgsql
[19:54:34] <dusty__> ok
[19:54:37] <nardul> Now there's a reason!
[19:54:53] <dusty__> I was just wondering if there was a specific reason that I should consider.
[19:55:39] <hparker> I remember the days of mysql eating data for no reason, still a bad taste in my mouth
[19:56:26] <hparker> I've never seen that error, let me poke my tables (which includes looking up the docs as mysql also doesn't make sense to me, pgsql does)
[19:57:43] *** action09 has joined #postfix
[20:00:13] *** cilly has joined #postfix
[20:00:43] <dusty__> if you need any help just shout i appriciate you helping me
[20:00:53] <dusty__> i can't see how your not getting that error though
[20:01:00] <dusty__> you might be and might not have noticed.
[20:01:31] <dusty__> because my setup is this: http://workaround.org/articles/ispmail-etch/ <-- that to a T. Only difference is i used postfixadmin mysql tables and whacked roundcube webmail in there.
[20:02:41] <hparker> I used the docs at postfixadmin's old site
[20:02:59] <hparker> I don't see an id :P
[20:05:18] <dusty__> I followed the postfixadmin docs too.
[20:05:21] *** action09 has quit IRC
[20:09:48] *** Blue_Mousey has joined #postfix
[20:10:04] <Blue_Mousey> What spamfilter do you recommend in combination with postfix?
[20:12:01] *** Aron is now known as aron
[20:18:00] <dusty__> hparker, Its the fact that amavis needs an id filed to look up user information and it does not exist int he default postfixadmin databases don't you use amavis sql lookups ?
[20:18:06] <dusty__> Blue_Mousey, amavis.
[20:18:32] *** master_o1_master has joined #postfix
[20:19:20] <hparker> dusty__: busy dealiing with kids atm, but yes.. I use a squirrelmail plugin to let them adjust stuff.. Don't think it was a standard amavisd lookup
[20:19:20] *** madrescher has quit IRC
[20:20:01] <dusty__> hparker, I know that feeling mate :-] - So you have turned off amavis lookups then ?
[20:20:11] <hparker> Looking at mailbox in phpmyadmin I do see this error though: PRIMARY and INDEX keys should not both be set for column `username`
[20:20:15] <dusty__> that would cause you not to get the errror
[20:20:38] <hparker> amavis does a lookup... Oh, wait.. that part is in pgsql
[20:20:49] <hparker> :P
[20:21:20] <dusty__> hparker, do this, grep "WARN: no such field in the SQL table" /var/log/mail.log
[20:21:27] <dusty__> or whereever you have your mail log?
[20:21:27] <hparker> I was wondering why I wasn't seeing what I was expecting in mysql
[20:21:34] <dusty__> heh
[20:21:55] *** action09 has joined #postfix
[20:22:14] *** humbolt has left #postfix
[20:22:23] <hparker> $ sudo grep SQL /var/log/mail.log
[20:22:23] <hparker> hparker@mail ~ $
[20:22:44] <hparker> As I said, my amavisd stuff is in pgsql
[20:23:09] <hparker> I set this up > 2 years ago and kind of forget what I did :P
[20:23:31] <dusty__> haha
[20:23:40] <dusty__> fair enough, perhaps I should look into using pgsql.
[20:23:47] <dusty__> That would solve this issue, and get what I want.
[20:24:08] <hparker> Table creation was Feb 28, 2006 at 07:53 PM
[20:24:12] <dusty__> As it's been 2 years for you, and you can't remember what database runs the backend - i'm guessing your setup is pretty self sufficient.
[20:24:16] <dusty__> ;)
[20:24:23] <hparker> yeah
[20:24:33] <dusty__> What are the differences in mysql to pgsql ?
[20:24:37] *** Azrael has quit IRC
[20:24:59] <hparker> It hasn't given me any grief, but got a new vhost going together with current packages
[20:25:12] <hparker> This isn't a good place to open that can of worms ;)
[20:27:18] *** xpoint has quit IRC
[20:28:46] <dusty__> hehe
[20:28:48] <hparker> i recommend using what you know, I know pgsql better
[20:29:01] <dusty__> Well I am unable to get it working with MySQL.
[20:29:13] <dusty__> I am open to learning new things (that is the whole point of this exercise anyways).
[20:29:23] <hparker> ahh
[20:29:32] <hparker> Well then... dive in!
[20:29:58] <hparker> I find the pgsql cli interface more intuitive
[20:29:59] <dusty__> Going to look at pgsql first though.
[20:30:08] <dusty__> Did you say you had the documentation from your setup handy ?
[20:30:24] <hparker> not really
[20:30:36] <dusty__> ok
[20:30:43] <dusty__> well the stuff at workaround.org is awesome.
[20:30:44] <hparker> If the wiki is still at high5.net, that's what I used
[20:30:53] <dusty__> I think it is, thanks.
[20:31:03] *** master_of_master has quit IRC
[20:32:31] <hparker> And http://squirrelmail.org/plugin_view.php?id=224 ... it's not been updated since 2005, one of the main reasons I've not upgraded amavisd-new
[20:33:37] <hparker> istr some quirk with it that I had to figure out... not sure what it was now
[20:39:20] <dusty__> ok
[20:39:28] <dusty__> thanks for the information and advice
[20:39:46] *** gcleric has left #postfix
[20:41:22] *** madrescher has joined #postfix
[20:41:36] <vice-versa> lol, pretty sad when a major drop in spam for a domain is a sign of something bad
[20:43:20] <dusty__> heh thats one way to put it
[20:47:02] <dusty__> "n addition to that, this tutorial covers the installation of Amavisd, SpamAssassin and ClamAV so that emails will be scanned for spam and viruses." <-- surely thats a bit of an incorrect sentence.
[20:47:08] <dusty__> SA/Clam are Amavis.
[20:51:03] *** githogori has joined #postfix
[20:52:22] <sysmonk> sa, clam and amavis are 3 different software
[20:52:27] <sysmonk> but mostly are used together
[20:55:48] <seekwill> Zimbra search blows
[20:56:12] <dusty__> sysmonk, i thought amavis == sa/clam binded together.
[20:56:21] <dusty__> how can you distinguish between amavis and sa/clam ?
[20:57:53] <sysmonk> dusty__: sa is for scaning for spam, clamavis is antivirus, amavisd is glue for em ;)
[20:58:06] <sysmonk> you can use both clam and sa directly
[20:58:07] <dusty__> heh
[20:58:12] <dusty__> i know that
[20:58:24] <dusty__> but amavis is not another product i would say sa/clam is amavis.
[20:58:32] <sysmonk> no, it's not
[20:58:52] <sysmonk> it's the same if you'd say that postfix is a pop3 server ... it's not
[20:58:59] <seekwill> It's not?
[20:59:03] <sysmonk> seekwill: it is!
[20:59:07] <seekwill> whew
[20:59:33] <dusty__> hrm ok
[20:59:36] <dusty__> I see what ya mean.
[21:11:42] *** hans67521 has joined #postfix
[21:12:03] <hans67521> hello
[21:12:29] <hans67521> using postix with smtp restrictions
[21:13:15] <hans67521> how can i disable these smtp restrictions for my network client?? cannot use my_networks
[21:13:40] <sysmonk> why not?
[21:14:42] <hans67521> because some clients work remotely over the internet and send and recieve mail from
[21:15:02] <hans67521> i did try sasl_authencicated permit but doesnt work
[21:15:12] <hans67521> any idee
[21:15:48] <sysmonk> if you have dynamic clients, then you should use sasl
[21:15:56] <sysmonk> if sasl didn't work, then you didn't configure it properly
[21:16:19] <vice-versa> for starters it's permit_sasl_authenticated
[21:17:04] <hans67521> permit_sasl_authenticated
[21:17:14] <hans67521> yes
[21:17:32] <hans67521> i use sasl and it works fine without the smtp restrictions
[21:17:41] <sysmonk> o_O
[21:18:08] <hans67521> with smtp restrictions it give my remote clients invalid helo command
[21:18:35] <sysmonk> put permit_sasl_authenticated before any other restrtictions
[21:18:35] *** madrescher has quit IRC
[21:18:37] <hans67521> or invaild fqdn
[21:19:13] <hparker> then they're in the worng order
[21:19:21] <vice-versa> you'll have to sort the logic out in your restrictions
[21:19:44] <hans67521> ok makes sense
[21:20:25] <hans67521> my sasl parameters are before my smtp_restrictions
[21:21:24] <vice-versa> pastebin the output from postconf -n
[21:21:27] <vice-versa> !pastebin
[21:21:27] <knoba> vice-versa: "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.
[21:23:27] *** alienbrain has quit IRC
[21:24:32] *** xous has joined #postfix
[21:27:45] <hans67521> ok thanks check out http://rafb.net/p/breeTm23.html
[21:31:01] *** Internat has quit IRC
[21:31:11] *** Internat has joined #postfix
[21:32:06] <hans67521> sorry wrong one please goto http://rafb.net/p/ebgZBv52.html
[21:32:09] <hans67521> thanks
[21:35:10] <vice-versa> that's not what was requested
[21:35:25] <vice-versa> ahh, nm
[21:40:51] *** raz has quit IRC
[21:40:57] <hans67521> o ok
[21:41:09] *** raz has joined #postfix
[21:41:20] <hans67521> but could you have a look
[21:42:30] *** madrescher has joined #postfix
[21:42:39] <vice-versa> yes I looked, you want something like the following which is loosely based on your's, http://rafb.net/p/xCdT9W66.html
[21:43:38] <vice-versa> you'll have to adjust it for your needs obviously but it should give you a pretty general idea of what you should be doing
[21:45:25] *** miobimbo has joined #postfix
[21:48:28] <hans67521> arg thanks you so much
[21:48:39] <hans67521> works!!!!!!
[21:50:34] *** hans67521 has quit IRC
[21:51:52] *** dhg has quit IRC
[21:59:50] *** Haris1 has quit IRC
[22:02:17] *** bimbomio has quit IRC
[22:02:54] *** Haris1 has joined #postfix
[22:07:28] *** JoeWulf has joined #postfix
[22:11:19] *** blackflag has quit IRC
[22:16:39] *** Joe_Wulf has quit IRC
[22:16:41] *** bimbomio has joined #postfix
[22:23:34] *** raz has quit IRC
[22:28:32] *** raz has joined #postfix
[22:32:54] *** miobimbo has quit IRC
[22:36:08] *** mrcoala is now known as MrCoala
[22:36:48] *** Ryushin has joined #postfix
[22:41:29] *** raz has quit IRC
[22:42:13] *** raz has joined #postfix
[22:42:48] *** carl- has quit IRC
[22:54:33] *** madrescher has quit IRC
[22:57:02] *** rcsu has quit IRC
[23:03:33] *** MrCoala is now known as mrcoala
[23:04:11] *** j_s has quit IRC
[23:07:44] *** raz has quit IRC
[23:07:58] *** raz has joined #postfix
[23:13:52] *** pitakill has joined #postfix
[23:17:23] *** hans67521 has joined #postfix
[23:18:21] <hans67521> Hi i am still struggling with my postfix config
[23:18:50] <hans67521> with my smtp restrictions to bypass sasl clients
[23:21:40] *** skyweb has joined #postfix
[23:29:36] *** hans67521 has left #postfix
[23:32:56] *** xpoint has joined #postfix
[23:34:32] *** [1]manic has left #postfix
[23:34:58] *** boink__ has joined #postfix
[23:35:28] *** raz has quit IRC
[23:35:33] *** boink__ is now known as raz
[23:40:04] *** hark has quit IRC
[23:40:34] *** hark has joined #postfix
[23:44:12] *** raz has quit IRC
[23:44:23] *** raz has joined #postfix
[23:47:18] *** GoGi has joined #postfix
[23:47:44] *** Blue_Mousey is now known as Muisje
[23:53:30] *** dhg has joined #postfix
[23:53:37] *** Ramattack has joined #postfix
[23:54:09] <sysmonk> don't join postfix :)
[23:55:12] <Ramattack> ;p
[23:55:19] <Ramattack> how do u do? :)
[23:55:27] <sysmonk> still alive
[23:55:28] <sysmonk> mostly
[23:55:38] * sysmonk took a 2-weeks vacation
[23:55:40] <Ramattack> I work now on an ISP :) :) :)
[23:55:50] <Ramattack> yep I'm now too on holidays
[23:55:55] <sysmonk> Ramattack: congrats, are they hiring new guys ? :)
[23:56:02] <sysmonk> a part-time new guys :)
[23:56:07] <sysmonk> a remote part-time new guys even
[23:56:27] <Ramattack> nope... they needed two new sysadmins....
[23:56:42] <Ramattack> and I just in that moment passed my curriculum
[23:56:51] <Ramattack> I went to the interview and I'm in :) :)
[23:56:57] <sysmonk> congrats
[23:56:58] <Ramattack> very happy :)
[23:57:00] <sysmonk> what isp is it?
[23:57:04] <Ramattack> Sarenet
[23:57:15] <sysmonk> sarenet.es ?
[23:57:20] <Ramattack> yep
[23:57:32] <Ramattack> dedicated mainly to give very good service to companies
[23:57:33] <sysmonk> doh, they don't even have an english website :(
[23:57:40] <Ramattack> nope...
[23:57:51] <Ramattack> has quite a lot clients in spain
[23:58:23] <Ramattack> it's a bit more expensive than others here... but the service is very very nice....
[23:58:39] <Ramattack> in terms of housing, dedicates machines, adsl, vpn... unless IMHO
[23:59:16] <sysmonk> still, no english website! :)
top

   August 17, 2008  
< | 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 | >