[00:08:32] *** subsume has joined #postfix [00:10:29] *** arkibott has quit IRC [00:14:20] *** F6F has joined #postfix [00:15:15] *** edman007|work has left #postfix [00:16:14] *** Tinozaure is now known as _Tino [00:16:26] *** _Tino is now known as Tinozaure [00:21:14] *** karega has joined #Postfix [00:22:19] <karega> hello [00:22:34] <karega> what is the name of the postfix configuration file? [00:23:45] <jduggan> (main|master).cf [00:27:28] *** martianixor has quit IRC [00:29:14] *** GetDarker` has joined #postfix [00:29:24] <sahil> karega: rtfm. [00:38:18] *** subsume has quit IRC [00:39:42] <karega> What are you talking shit about sahil, you bitch ass [00:41:23] <thumbs> karega: be respectful. [00:43:35] *** xpoint has quit IRC [00:46:39] *** GetDarker` has quit IRC [00:47:48] *** dan__t has quit IRC [00:50:19] <sahil> karega: good luck getting help in here, tough irc guy. [00:51:16] <sahil> karega: disrespectful drivel + clear display of idiocy (who the hell doesn't read the basic Postfix documentation before asking for help in here?) will not get you very far. just get a gmail.com and be done with it. [00:54:26] *** frod has joined #postfix [00:54:57] <frod> hello all .. [00:55:07] <sahil> hi frod. [00:55:47] *** higuita has quit IRC [00:57:07] *** subsume has joined #postfix [01:02:58] <frod> is there a way to tell postfix to use port 2525 to contact other e-mail servers [01:03:08] <frod> instead of 25 ?? [01:03:59] <vice-versa> think about that for a minute [01:04:53] <frod> we are trying to do this because our service provider donst let packets tru port 25 [01:05:13] <frod> this will only work for our systems .. [01:05:19] *** war9407 has quit IRC [01:05:20] <frod> i know that in advanced .. [01:05:34] *** Tykling has left #postfix [01:05:45] <frod> we wii only be able to use intracompany mails .. [01:06:12] *** Juspion has joined #postfix [01:06:25] *** pirho has quit IRC [01:06:35] *** Fallenou has quit IRC [01:07:22] *** jonez_ has joined #postfix [01:08:22] *** jonez has quit IRC [01:10:15] <subsume> Is this legal? def email_comment(sender, comment, request, **kwargs, extra_recipients=[]): [01:11:09] *** cilly has joined #postfix [01:11:13] <subsume> wrong channel [01:11:22] <sahil> yes, wrong channel indeed. [01:12:07] <sahil> frod: yes, postfix can be configured to connect to any port on another server, and that server must be configured to *listen* to that same port. [01:13:11] *** dan__t has joined #postfix [01:14:11] *** karega has left #Postfix [01:17:06] *** frod has quit IRC [01:17:21] *** frod has joined #postfix [01:40:34] *** Inssomniak has joined #postfix [01:41:39] <Inssomniak> Hi all, I dont know if this is the right channel to ask, but the spamassassin channel is dead, and if anyone uses it, may could help me figure out why DOS_OE_TO_MX gets set off? [01:41:47] *** Asche has joined #postfix [01:41:53] <Asche> hi [01:44:36] <Danskmand> Hi :-) - I have the problem that when I receive new mails the recIpient "hbrolarsen at <mydomain dot de>" gets changed to "<admin at aktinet dot de>. I found this in /var/log/mail: "Sep 29 00:39:19 ext-fw postfix/smtpd[6538]: maps_find: virtual_alias_maps: mysql:/etc/postfix/mysql-virtual.cf(0,lock|fold_fix): hbrolarsen at aktinet dot de = admin [01:44:36] <Danskmand> Sep 29 00:39:19 ext-fw postfix/smtpd[6538]: mail_addr_find: hbrolarsen at aktinet dot de -> admin [01:45:00] <Danskmand> How can I prevent this ? [01:46:48] <vice-versa> remove the alias [01:47:26] <Danskmand> You mean in the databases ? [01:47:41] <vice-versa> yes [01:48:33] <Danskmand> Omg.....I've been working on this the whole day....doesnt work...Can I work on this from local ? [01:49:25] <vice-versa> rephrase [01:52:18] <Danskmand> I have a client called "heidisql"...I want to connect to my server with that program.....I get a "cannot connect",,,So I create a SSH-tunnel on port 3306 and 10061 and connect to 127.0.0.1 - then I get a SQL error: Lost connection to MySQL server during query.....So I am able to connect...But whats wrong ? [01:54:04] <frod> in order ti use the transports file what do i have to setup on the main.cf or master.cf [01:55:12] <Danskmand> frod: Use transport_maps = hash:/etc/postfix/transport [01:55:21] <Danskmand> In main.cf... [01:55:44] <frod> thanks [01:55:47] <vice-versa> !maincf transport_maps [01:56:18] *** gonewestcoast has joined #postfix [01:56:31] <Danskmand> You are welcome .... [01:57:01] <Danskmand> Vice - can you help me ? - pleeease ? [01:57:50] <Danskmand> Or vice-versa: [01:58:41] *** pitakill has joined #postfix [01:58:59] <vice-versa> I would just ssh into the server and use the mysql cli client [02:01:39] <Danskmand> I can do that ? [02:02:53] *** [shg] has joined #postfix [02:03:00] <vice-versa> in theory yes [02:03:32] <[shg]> Anyone have the specific issue when setting up postfix using mysql with this error? postfix/virtual: fatal: unable to use my own hostname [02:03:50] <[shg]> I've set the myhostname in main.cf which resolves to the server but still get that error. [02:04:01] <Danskmand> Can you tell me how to read this: dbname = mail [02:04:01] <Danskmand> table = virtual [02:04:58] <Danskmand> But wait a minute....Can I just enter the commands like they are in mysql-virtual.cf ? [02:06:24] <vice-versa> Danskmand: http://dev.mysql.com/doc/refman/5.0/en/tutorial.html [02:07:20] <[shg]> Ooh Ooh, Me next! Point me to a doc that I can read and fix my problem! :P [02:07:31] <vice-versa> !virtual [02:07:34] <knoba> vice-versa: "virtual" : a way to configure additional domains and user accounts (that do not need to exist in your /etc/passwd). See: http://www.postfix.org/VIRTUAL_README.html [02:12:12] *** Juspion has quit IRC [02:13:10] *** madrescher has quit IRC [02:36:26] *** c00l2sv has quit IRC [02:39:17] *** Chiku has joined #postfix [02:39:19] <Chiku> hello [02:39:40] <Chiku> I need help about enable postfix with apache chrooted [02:40:06] <Chiku> apache chrooted from /var/www/ [02:40:16] <Chiku> what should I ln -s? [02:40:45] <Chiku> /var/spool/postfix/ into /var/www/ ? [02:41:38] <Chiku> or does postfix has socket like mysql? [02:43:08] *** RaceCondition has quit IRC [02:44:33] <sahil> why is postfix even related to apache? [02:45:20] <Chiku> because I I use phpmail() [02:45:28] <Chiku> from website [02:45:39] <sahil> configure the web site to use SMTP instead. [02:46:00] <Chiku> yes that's 1 way [02:46:21] <Chiku> but I want to learn to to put postfix inside apache chroored [02:46:40] * sahil doesn't support chroot [02:46:43] <sahil> good luck though. [02:46:43] <Chiku> like I learned mysql inside apache chrooted [02:47:20] <Chiku> just need to link mysql.sock [02:47:27] <Chiku> but I don't know about postfix [02:49:21] <Chiku> how postfiox decides to send email? when there is email inside /var/spool/postfix/maildrop/ ? [02:52:53] *** c00l2sv has joined #postfix [02:58:33] *** frod has quit IRC [03:03:52] *** F6F has quit IRC [03:12:18] <[shg]> Oh, vice-versa that link didn't help at all. [03:12:28] <[shg]> Didn't even give me an idea, so just to let you know. Thanks for the try though. [03:14:52] *** higuita has joined #postfix [03:17:02] *** Danskmand2 has joined #postfix [03:17:09] <Danskmand2> But now it works ... [03:17:35] *** dan__t has quit IRC [03:17:48] <Danskmand2> And now I'll take a nap - its 3:17 am here :-) [03:18:24] *** Danskmand2 has left #postfix [03:18:40] *** rcsu_ has joined #postfix [03:18:43] *** Danskmand has quit IRC [03:24:32] *** c00l2sv has quit IRC [03:25:14] *** alienbrain has quit IRC [03:25:41] *** AcTiVaTe has quit IRC [03:27:08] *** Tinozaure is now known as _Tino [03:27:17] *** _Tino is now known as Tinozaure [03:34:18] *** rcsu has quit IRC [03:47:45] *** Asche has quit IRC [03:50:21] *** mavrick61 has quit IRC [03:51:27] *** mavrick61 has joined #postfix [04:43:27] *** gonewestcoast has quit IRC [04:49:19] *** gonewestcoast has joined #postfix [04:56:55] <vice-versa> [shg]: bummer [05:03:07] *** goldfischli has joined #postfix [05:19:16] *** goldfisc1li has quit IRC [05:22:42] *** magyar has joined #postfix [05:43:15] *** Thorn has quit IRC [06:04:37] *** magyar has quit IRC [06:07:50] *** sc68cal has joined #postfix [06:08:22] *** saurabhb has joined #postfix [06:09:08] *** Haris1 has joined #postfix [06:10:58] *** giskard has joined #postfix [06:11:00] <giskard> hi * [06:11:20] <giskard> dude what should this mean: Sep 29 06:05:28 mail postfix/trivial-rewrite[11028]: fatal: proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf(0,lock|fold_fix): table lookup problem ? [06:13:38] <Haris1> giskard: Dude, use common sense [06:13:46] *** magyar has joined #postfix [06:13:48] <vice-versa> dude [06:14:17] *** BartVB_ has joined #postfix [06:14:30] <hparker> d00d [06:14:53] <Haris1> dUde [06:15:06] *** subsume has quit IRC [06:27:35] <giskard> Haris1 it would be cool if you cant point me to something useful :( [06:28:06] <giskard> if i don't bother you too much. (even if this is a dumb quetion because at the moment i don't see the point of that error. in fact postfix is sending mails) [06:30:26] <vice-versa> are there and relevant warnings prior to the fatal: [06:30:59] *** Siegfried has joined #postfix [06:40:08] <Haris1> giskard: It seems your postfix server is unable to query mysql to go about its job [06:41:00] <Haris1> giskard: That error was most probably triggered when a mail came in for a virtually hosted domain, hosted on this box [06:41:16] <Haris1> giskard: or it was trying to forward mail for a domain hosted locally [06:41:39] <giskard> Haris1 i got this only one time. [06:42:01] <Haris1> in that case, must'v been the first case [06:43:28] <Siegfried> i have a general email question, about headers, do you think it's the right channel to ask? [06:44:13] <Haris1> Siegfried: I ask the question. I don't ask to ask. [06:45:40] <Siegfried> let's say my email is siegfried at something dot com, there is another mail called another at something dot com (same domain), i received a mail, in the headers it says delivered to siegfried at something dot com, for another at something dot com [06:45:59] <Siegfried> does it mean another at something dot com forwards to me or maybe i was in BCC? [06:48:30] <Siegfried> or CC.. [06:48:44] <Siegfried> i don't know if it means only 1 thing [06:49:03] <Siegfried> and which [06:49:24] *** bhagat has joined #postfix [06:55:24] <Haris1> do you have any lkogs to corborate this? [06:55:28] <Haris1> logs+ [06:55:38] <Haris1> coroborate+ [07:04:00] <Siegfried> http://pastebin.com/m896ac1a [07:04:48] *** vexellon has quit IRC [07:04:57] <Siegfried> is another at mydomain dot com forwarding to me at mydomain dot com ? [07:05:08] <Siegfried> or it can also be a CC or BCC? [07:05:17] <Siegfried> maybe this format is special to qmail.. [07:05:28] *** jeffspeff has joined #postfix [07:05:43] <Siegfried> for <another at mydomain dot com>; [07:05:49] <Siegfried> this is why i wonder [07:07:25] <vice-versa> forged would be my guess [07:10:06] <Siegfried> another at mydomain dot com exists, the fact is i want to know if this mailbox is fowarding to me or if it's possible that the FOR doesn't mean anything and that i was in CC or BCC [07:12:38] <Siegfried> i thought there was "for" only for mail redirects [07:12:44] <Haris1> check the list of forwarders/aliases for this email account [07:12:45] <Siegfried> but i'm not 100% sure [07:12:55] <Siegfried> the problem is that i cannot check [07:13:08] <Siegfried> it's not my server [07:13:40] <Haris1> Have you for turned on catch-all this domain, to point to your account ? [07:13:52] <Haris1> ..catch-all for+ this domain.. [07:14:00] <Siegfried> no but i don't manage the domain either [07:14:10] <Siegfried> i can't ask, can't check anything [07:14:14] <Siegfried> i can only guess [07:14:18] <Haris1> #qmail may be able to help better [07:14:24] <Siegfried> ok thanks [07:19:20] <Motoko-chan> Why #qmail? [07:20:06] <Siegfried> the server is qmail so the headers may be different.. [07:21:04] <Motoko-chan> Ah. [07:21:59] <Motoko-chan> If it is a qmail forward/alias, you'll see multiple delivered-to lines. [07:22:00] *** hparker has quit IRC [07:22:20] * Motoko-chan unfortunately uses qmail internally at the job [07:24:15] <Siegfried> well there's only my email as delivered to [07:25:12] *** dan__t has joined #postfix [07:26:49] <Motoko-chan> Then you were listed directly somewhere. [07:28:04] <Siegfried> CC/BCC for sure? [07:28:24] <Siegfried> another@ wasn't an alias then? [07:28:45] <Motoko-chan> No, it would display [07:28:50] <Motoko-chan> Let me paste some headers. [07:31:33] <Motoko-chan> http://paste.animeneko.net/pastebin.php?show=d477bf6dc [07:31:34] <Motoko-chan> There [07:31:45] <Motoko-chan> That's a message to a forwarding address. [07:32:00] <Motoko-chan> It goes to an "alert" address, which forwards off to individuals. [07:32:29] <Motoko-chan> You'll see the first delivery on line 4 [07:32:39] <Motoko-chan> Then it forwards to my box, and you see that on line 1 [07:33:06] <Siegfried> i see [07:33:15] <Siegfried> thanks a lot Motoko-chan [07:33:27] <Siegfried> any guess why i got the mail? CC? [07:33:40] <Motoko-chan> If you aren't in the CC line, it was probably a BCC. [07:33:47] <Motoko-chan> Look at the headers [07:34:56] *** f3ew has joined #postfix [07:42:10] <giskard> another question for you, do you know why when i add content_filter = smtp-amavis:[127.0.0.1]:10024 [07:42:27] <giskard> postfix doesn't deliver mail (via dovecot)(as lda) [07:42:36] <giskard> mail stands a lot of time into amavis.. [07:43:11] <Motoko-chan> Make sure AMaViSd-new is set to deliver back into Postfix, and Postfix is expecting that. [07:58:01] *** jeev_ has joined #postfix [07:58:57] *** jeev has quit IRC [07:59:00] <giskard> Motoko-chan, http://paste.debian.net/18166/ [07:59:04] <giskard> do you see something wrong? [07:59:47] <Motoko-chan> Looks okay to me looking quickly [08:00:02] *** jeev_ is now known as jeev [08:00:03] *** Tykling has joined #postfix [08:25:40] *** sophokles has joined #postfix [08:49:43] *** rcsu_ is now known as rcsu [09:04:31] *** sophokles has quit IRC [09:06:20] *** sophokles has joined #postfix [09:07:03] *** denis_ has joined #postfix [09:08:36] *** Siegfried has quit IRC [09:08:43] *** jeffspeff has quit IRC [09:13:30] *** madrescher has joined #postfix [09:18:33] *** subsume has joined #postfix [09:18:33] *** madrescher has quit IRC [09:28:27] *** frod has joined #postfix [09:31:08] *** phnord has joined #postfix [09:32:50] *** frod has quit IRC [09:42:05] *** madrescher has joined #postfix [09:45:38] *** subsume has quit IRC [09:50:20] *** Chiku has quit IRC [09:56:14] *** pitakill has quit IRC [09:58:53] *** war9407 has joined #postfix [09:59:28] *** jelly has quit IRC [09:59:30] *** stockholm has joined #postfix [09:59:34] <stockholm> hi [09:59:47] <stockholm> how can i send out mail over a given interface/ip? [09:59:59] <sysmonk> !smtp_bind_address [10:00:00] <knoba> sysmonk: "smtp_bind_address" : a configuration parameter in the main.cf: An optional numerical network address that the SMTP client should bind to when making a connection. [10:00:04] <sysmonk> stockholm: ^^ [10:00:30] *** jelly has joined #postfix [10:00:32] <stockholm> i would even like to send mails of a given domain over one ip and other domains over an other ip. is that possible? [10:00:42] <sysmonk> hm... [10:01:00] <sysmonk> transport_maps + transports in master.cf + smtp_bind_address for each transport [10:02:01] <stockholm> this is for spam-filter avoiding purposes, so that hotmail, yahoo and friends dont sort me out if a given domain is decided to be a spammer [10:02:18] <stockholm> s/sort out/filter out/ [10:08:58] *** F6F has joined #postfix [10:09:09] *** giskard has left #postfix [10:16:24] *** Motoko-chan has quit IRC [10:21:27] *** harobed has joined #postfix [10:22:32] *** mojobo has joined #postfix [10:22:46] *** mshadle has joined #postfix [10:23:01] *** BartVB_ is now known as BartVB [10:23:15] <mshadle> for some reason postfix is logging to syslog-ng twice for everything. could someone help me figure out why? [10:23:48] <mojobo> Hi, if I've got several services that I want to run the e-mail thru (eg. spamassassin, autoreply, maildrop) - shall I then create a bash-script that will handle all these scripts, and run the script by piping in master.conf? [10:23:57] <sysmonk> is it really twice, or is it systemng bug? [10:26:47] <mshadle> no other programs are logging twice [10:28:27] <mshadle> ive killed both syslog-ng and postfix [10:28:41] <mshadle> restarted it.. dont have this problem on my ubuntu boxes. just this pain in the ass redhat box [10:30:45] *** BuenGenio has joined #postfix [10:30:55] <mshadle> doh i found it ;) [10:30:56] *** mshadle has left #postfix [10:35:36] *** Zeit|awy_ has joined #postfix [10:42:37] <mojobo> Anyone regarding question above? [10:43:02] *** Zeit|awy has quit IRC [10:46:08] *** RaceCondition has joined #postfix [10:55:54] <Roobarb> mojobo: I would feed spamassasin via amavisd-new througn a content_filter, maildrop should be a mailbox_command and an autoreply is none of postfix's business [11:02:02] *** mark-use has joined #postfix [11:02:15] *** Zeit|awy_ has quit IRC [11:11:29] *** Fallenou has joined #postfix [11:11:33] *** sc68cal_ has joined #postfix [11:11:43] *** sc68cal_ has quit IRC [11:27:25] *** fleximus has joined #postfix [11:27:26] *** sc68cal has quit IRC [11:30:31] *** mark-use_ has joined #postfix [11:36:18] <BuenGenio> what kind of encryption does postfixadmin use to encrypt superadmin passwords?? [11:39:29] *** mark-use has quit IRC [11:39:33] *** mark-use_ is now known as mark-use [11:44:26] *** pirho has joined #postfix [11:53:45] <fleximus> Are there any known cases where postifx delivers a mail multiple times to a remote system? [11:54:24] <sysmonk> yes, if the connection times out but the remote server did accept the mail, but postfix didn't get a notification abuot it [11:55:06] <sysmonk> i.e. postfix sends all the data and times out before getting an OK from server [11:55:06] *** xpoint has joined #postfix [11:55:16] <fleximus> sysmonk: okay but if the mail got delivered at the first try and then removed from the queue, there is no chance, right? I mean I only got one entry from postfix/smtp... [11:56:24] <f3ew> fleximus right [11:56:40] <fleximus> So I can safely assume that the accepting mta does something weird with the final reciving mailserver. [11:56:52] <fleximus> or anything in between them [11:57:16] <fleximus> that's why I love postfix, hehe :-) [11:58:06] <Belgarath> why ? [12:04:11] <Trengo> fleximus you can check the received headers at the end recipient [12:04:35] <Trengo> you can check where they are being duplicated by checking the IDs [12:06:40] *** dan__t has joined #postfix [12:07:39] <BuenGenio> ok, is there a way to get postfix to use short usernames (without TLD) for loggin in? [12:08:01] <BuenGenio> using mysql for virtual alias/domain maps [12:08:04] <BuenGenio> and postfix admin [12:08:34] <fleximus> Trengo: that will be the next step. Hopefully the end-user will cooperate. [12:08:44] *** mark-use has quit IRC [12:08:51] <BuenGenio> ideally it would need to figure out which emailaddress to lookup based on username (name.surname) @ SMTP domainname [12:10:24] <Trengo> fleximus he's the one complaining, yes? [12:10:46] <Trengo> if he doesn't cooperate, you can't find out whats wrong :P [12:11:04] *** luke-jr has quit IRC [12:11:17] *** luke-jr has joined #postfix [12:12:32] *** mark-use has joined #postfix [12:13:52] <fleximus> Trengo: Yeah, I could ask the provider to cooperate but this can only be achieved if the customer is cooperating, too. [12:14:09] <fleximus> in the end I tried my best :-) [12:14:31] <Trengo> fleximus if he wants it fixed, he'd better cooperate :) [12:15:15] *** cpm has joined #postfix [12:19:30] *** mark-use has joined #postfix [12:41:04] *** madrescher has joined #postfix [12:41:58] *** gutocarvalho has quit IRC [12:43:34] *** gutocarvalho has joined #postfix [12:48:57] *** Orchun has joined #postfix [12:53:07] *** c00l2sv has joined #postfix [13:01:54] *** cilly has quit IRC [13:06:38] *** pirho has quit IRC [13:15:34] *** nonsequitir_ has joined #postfix [13:20:33] *** rootsvr has joined #postfix [13:22:16] *** lambda has joined #postfix [13:23:48] *** zaarg has joined #postfix [13:24:13] <nonsequitir_> Finally have my postfix/dovecot email system up and running. I had a question. I'm using dovecot as my transport, but the SQL I have queries for a username when the mail might be to an alias (i.e., postmaster). Any way to handle this? [13:24:35] <zaarg> my spam dameon died and now i have a huge mail queue! what steps should i take to reduce the mail queue as quickly as possible and accept new mails? it's increasing quickly... [13:24:52] <zaarg> i have tried removing bounces and such but didn'ts eem to make a big difference [13:28:20] <cpm> how huge is huge? (hint qshape deferred) [13:28:48] <cpm> fix your spam daemon [13:31:42] <zaarg> it's fixed now [13:31:46] <zaarg> 9050 [13:32:27] <cpm> okay, so mail *is* being processed, yes? [13:32:59] <zaarg> i believe so [13:33:18] *** hever has joined #postfix [13:34:05] <cpm> you can do a few things. 1) (my pick) is just leave it be, it will processes all the queued mail in it's own time. 2) hand it a postqueue -f to flush the queue [13:34:39] *** gutocarvalho has quit IRC [13:36:01] *** pirho has joined #postfix [13:36:20] <sysmonk> or 3. (my pick) remove them all! :) [13:36:50] <cpm> yes yes, ! kill all the mail (spam) [13:36:56] <cpm> all mail is spam! [13:37:02] <cpm> Yi Yi Yi! [13:43:34] <Roobarb> "postqueue -f" might gum it up even more. /me votes for #1 [13:45:36] <sysmonk> postqueue -f might lead to #3 [13:45:36] <sysmonk> ;) [13:46:07] <BuenGenio> is there a way to get postfix to use short usernames (without TLD) for loggin in? [13:46:10] <BuenGenio> ideally it would need to figure out which emailaddress to lookup based on username (name.surname) @ SMTP domainname [13:46:21] <BuenGenio> (incoming) [13:48:27] <sysmonk> are you talking about sasl or incoming mail for user at domain dot com ? [13:49:05] <zaarg> i intially did postqueue -f [13:49:10] <zaarg> and it seemed to make the problem worse :) [13:49:18] <zaarg> and the logs told me off [13:49:30] <Roobarb> then log out of the server and come back in an hour [13:49:49] <Roobarb> there is very little you can do to speed up delivery of 9000 messages [13:52:37] <cpm> a watched queue never delivers [13:53:11] <Roobarb> unless you postconf -e "gofastpleaseimnotreallywatching = 1" [13:53:44] <cpm> hrmmm [13:53:48] <cpm> good point [13:54:17] <cpm> but once qmgr figures out you are lying to it, , , there is no telling how it might react. [13:55:47] <bda> Violently. With an axe. While telling someone offscreen it's a trick. [13:58:41] <BuenGenio> sysmonk, yes, incoming mail [13:58:58] <BuenGenio> right now the query is SELECT CONCAT(........) WHERE username='%s' [13:59:49] <BuenGenio> i'd like it to be WHERE username='%s@%d' - where %d is the domain name on which the active connection is comming in at [14:00:05] <sysmonk> not possible, unless you have different ip's for different domains [14:00:17] <BuenGenio> shaizer [14:00:35] <BuenGenio> any possible work-around ? [14:00:50] <BuenGenio> the clients *really* want short usernames... [14:00:59] <sysmonk> have uniq usernames? [14:03:21] <BuenGenio> that could be an option, though it would need to look up the usernames in two places - short short username field & then the standard email field, in case there's no short username... [14:09:39] *** pirho has quit IRC [14:12:07] *** Verilium has quit IRC [14:24:58] *** pirho has joined #postfix [14:27:06] *** inflex has joined #postfix [14:27:14] <inflex> Anyone here use alterMIME with Postfix? [14:27:54] *** rootsvr has quit IRC [14:30:08] *** Zonei has joined #postfix [14:32:32] <nonsequitir_> When postfix/virtual complains of permission denied accessing, say, virtual-mailbox-maps.cf Is that access to that file or the result containing the vmail directory? [14:35:02] *** noesnada has joined #postfix [14:35:14] <Zonei> Hi. I want to setup my Postfix as outgoing server. I guess that's relay? Anyways, I want to allow outgoing only if the user authenticates via TLS. I don't know what to look for in docs or google. Any help? [14:37:11] *** pirho has quit IRC [14:38:54] *** eanxgeek has joined #postfix [14:39:42] *** randra has joined #postfix [14:42:19] *** gutocarvalho has joined #postfix [14:42:42] <sysmonk> !smtpd_tls_auth_only [14:42:43] <knoba> sysmonk: "smtpd_tls_auth_only" : When TLS encryption is optional in the Postfix SMTP server, do not announce or accept SASL authentication over unencrypted connections. [14:42:43] <sysmonk> Zonei: ^^ [14:43:09] *** inflex has left #postfix [14:43:42] <Zonei> sysmonk: yes, but how and whre do I setup usernames and passwords for authentication? Also, they're virtual, not unix-accounts (ie no pem). [14:43:52] <sysmonk> !sasl [14:43:53] <knoba> sysmonk: "sasl" : SASL is 'Simple Authentication and Security Layer', necessary for SMTP AUTH, and provided to Postfix by addin software. Cyrus SASL and/or Dovecot IMAP/POP3 can provide SASL. See http://www.postfix.org/SASL_README.html for details. [14:43:54] <sysmonk> Zonei: ^^ [14:44:13] *** bhagat has quit IRC [14:44:23] <Zonei> sysmonk: sasl, thanks. [14:51:51] *** noesnada has quit IRC [15:06:06] *** pulsar has quit IRC [15:06:11] *** pulsar has joined #postfix [15:06:17] <lambda> !geylisting [15:06:18] <knoba> lambda: Error: "geylisting" is not a valid command. [15:06:22] <lambda> !greylisting [15:06:23] <knoba> lambda: Error: "greylisting" is not a valid command. [15:07:00] <lambda> since i do greylisting behind a proxy i can't have any smtp session [15:07:09] *** RoyK has joined #postfix [15:07:34] <lambda> although it works well with telnet on 127.0.0.1 [15:08:05] <lambda> i used this paper http://www.postfix.org/SMTPD_POLICY_README.html#greylist [15:08:38] <RoyK> hi all. I've setup postfix to allow mail relay from 127.0.0.0/8 on my os x laptop, which is fine. Now I want postfix to setup an ssh tunnel for each message that is sent. ssh keys are setup and this is nice, but how can I have postfix initiate an ssh connection to the relay host on each message? [15:08:53] <Dominian> wtf [15:09:02] <Dominian> postfix was not meant to do that chief. [15:09:28] <RoyK> something like '| ssh -C remote_user@remote_host /usr/sbin/sendmail -bm' [15:09:47] <RoyK> Dominian: I don't care :) - is it possible? I'd guess it should be [15:09:58] <Dominian> I have no idea, but you're going to find that you fail more than you succeed when you try to get postfix to do something it was never meant to do [15:10:31] <RoyK> Can postfix send data to another process with a pipe instead of using smtp? [15:10:38] <RoyK> I guess that's what I'm looking for [15:10:48] <Dominian> I guess I don't understand the reasoning.. which is why I'm confused. [15:10:51] *** hever has quit IRC [15:11:03] <f3ew> RoyK man 8 pipe [15:11:26] <RoyK> f3ew: thanks [15:11:31] <f3ew> It might be easier to setup SSL [15:11:37] <f3ew> or stunnel [15:11:43] <f3ew> or even nc [15:11:51] <RoyK> Let me try this :) [15:12:57] <brd> find another program to manage the ssh tunnel [15:12:59] *** Balu has quit IRC [15:14:08] *** saurabhb has quit IRC [15:19:24] *** Zonei has left #postfix [15:23:21] *** pirho has joined #postfix [15:25:15] *** madrescher has quit IRC [15:35:34] *** Haris has quit IRC [15:36:44] *** fleximus has left #postfix [15:37:27] *** _Driver_ has joined #postfix [15:40:25] <roe_> I'm sending an email to a non local domain, but I get "Recipient address rejected: Access denied;" [15:40:33] <roe_> from the local server [15:43:13] <roe_> and it should be relaying through my relayhost, so I shouldn't be seeing that at all [15:48:45] *** _Driver_ has quit IRC [15:53:07] *** Virus_FFF has joined #postfix [15:53:26] *** seekwill has joined #postfix [15:56:27] *** Jax has joined #postfix [16:00:31] *** phaidros has joined #postfix [16:00:51] <phaidros> how would one find out if mails get routed through spamassassin? [16:02:44] *** _Driver_ has joined #postfix [16:04:07] *** F6F has quit IRC [16:08:28] <roe_> your logs should tell you [16:10:01] *** RoyK has left #postfix [16:10:19] <phaidros> roe_: which log includes spamassassin logs? [16:10:53] <phaidros> /v/l/spamassassin/* only reports starts & stops. or does /v/l/mail.? include spamreports? [16:10:55] <roe_> phaidros, that depends on where you told it to log [16:10:59] <phaidros> :) [16:11:06] <roe_> look at /var/log/mail.log [16:11:57] <phaidros> well, in mail.log only amavis says 'Blocked SPAM' [16:12:33] <phaidros> I just want to find out if my master/main.cf is correct and if spamassassin is in use of postfix .. coz getting to much spam lately :) [16:13:04] *** _Driver_ has quit IRC [16:14:23] <roe_> well you should have configured SA to add headers into the messages it scanned with a report of what it found so that is one way to check [16:15:52] <phaidros> ok, thats via /etc/s-a/s-a.conf ? or via master.cf? [16:16:03] <phaidros> (headers include only amavis & postgrey) [16:16:24] <vice-versa> !gtube [16:16:25] <knoba> vice-versa: "gtube" : Generic Test for Unsolicited Bulk Email - an eicar.com like spam signature that always should trigger spam filters. See http://spamassassin.apache.org/gtube/ [16:16:57] <phaidros> thx vice-versa [16:17:10] *** BuenGenio_ has joined #postfix [16:18:24] <roe_> this is soo odd, if I manually connect from my mta to my relayhost and send the mssage I am trying to send it works fine, however from my mua to my mta I get "Recipient address rejected: Try again later" [16:18:41] <roe_> for some reason my mta thinks it is the final destination for all domains [16:18:53] <roe_> at least that is how I interpret that error [16:18:56] <vice-versa> !showme [16:18:57] <knoba> vice-versa: "showme" : Please pastebin the output from the following as root, uname -a;postconf -h mail_owner mail_version;echo;postconf -n;echo;cat `postconf -h config_directory`/master.cf [16:19:18] <vice-versa> !relevant [16:19:18] <knoba> vice-versa: "relevant" : Please pastebin the relevant mail log excerpts for your issue. See the !logs channel factoid if you do not know where your mail logs are located. See the !pastebin channel factoid if you do not know what a pastebin is. [16:19:30] *** felix-da-catz has joined #postfix [16:19:57] <BuenGenio_> hey vice-versa [16:20:02] <vice-versa> hey [16:20:15] <BuenGenio_> anyone familiar with postfixadmin? what format does it store it's passwords in? [16:21:29] <phaidros> BuenGenio_: md5, or system php settings or cleartext, chosen by config.inc.php [16:22:01] <BuenGenio_> must have missed it in the settings, urgh... [16:22:14] <phaidros> np :) [16:22:57] <phaidros> ah, latest version even has: md5crypt = internal postfix admin md5 .. whatever that internal means :) [16:22:58] *** BuenGenio has quit IRC [16:23:15] <roe_> here is all the info: http://www.pastebin.ca/1213640 [16:24:00] <BuenGenio_> vice-versa, how's things? [16:24:09] <vice-versa> BuenGenio_: good, how are the outhouse submissions working out? [16:24:39] <BuenGenio_> nicely [16:24:52] <BuenGenio_> plus it was much easier than dealing with the clients >D [16:25:02] <vice-versa> :) [16:25:15] <BuenGenio_> hey, send me some geographical details... [16:25:38] <BuenGenio_> gonna submit something your way, for your consideration [16:25:44] <vice-versa> cool [16:27:19] <roe_> am I crazy? because I can't find anything wrong [16:28:13] <BuenGenio_> people who think they're crazy and thing there's something wrong with it are the ones with the problem ... [16:28:15] <BuenGenio_> so you're good [16:29:15] *** cyril_sneer has joined #postfix [16:29:17] <roe_> well now my self esteem issue is solved for the day, all I need to do is be able to email people about it ;) [16:29:44] <BuenGenio_> haha [16:32:44] *** dft has joined #postfix [16:32:56] <dft> morning [16:34:00] <f3ew> lo [16:34:39] <cyril_sneer> hi [16:39:08] <roe_> the odd thing, I can send from localhst (webmail) with no issue [16:40:07] *** _Driver_ has joined #postfix [16:40:17] <BuenGenio_> phaidros, so will mysql's encrypt() work with postfix admin? [16:41:32] <phaidros> nevertried, but should :) [16:45:34] <cyril_sneer> anyone knows a working and stable version for storing mails into database? [16:45:42] *** hparker has joined #postfix [16:45:42] <cyril_sneer> (mysql) recommended [16:45:56] <seekwill> maildb? [16:46:12] <seekwill> dbmail? [16:46:13] [16:46:19] <seekwill> I know many people on it [16:46:27] <seekwill> Why do you want to store email in a database? [16:47:24] <shasta> "because i've got lots of cpus and rams and they're bored. I also love repairing tables and explaining customers what happened and why they can't access their emails" [16:47:34] [16:47:39] <seekwill> shasta: False! [16:47:43] <seekwill> shasta: InnoDB :) [16:47:48] <cyril_sneer> ahh [16:47:56] <cyril_sneer> yeah thats what i meant ;) [16:48:08] <cyril_sneer> anyone has expierience with it ? [16:50:13] <vice-versa> roe_: read some documentation and start over [16:50:17] <vice-versa> !basic [16:50:17] <vice-versa> !standard [16:50:17] <vice-versa> !sasl [16:50:18] <knoba> vice-versa: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [16:50:19] <knoba> vice-versa: "standard" : Your question is probably answered in http://www.postfix.org/STANDARD_CONFIGURATION_README.html [16:50:20] <knoba> vice-versa: "sasl" : SASL is 'Simple Authentication and Security Layer', necessary for SMTP AUTH, and provided to Postfix by addin software. Cyrus SASL and/or Dovecot IMAP/POP3 can provide SASL. See http://www.postfix.org/SASL_README.html for details. [16:51:23] <roe_> wow, "start over" is the advice? [16:51:40] *** mojobo has quit IRC [16:52:29] <cyril_sneer> whats your question @ roe [16:52:31] <cyril_sneer> ? [16:53:17] <roe_> I'm sending an email to a non local domain, but I get "Recipient address rejected: Access denied;" [16:53:36] <cyril_sneer> do you send from localhost!? [16:54:20] <shasta> !relay_denied [16:54:21] <knoba> shasta: "relay_denied" : \"554 5.7.1 <RECIPIENT@RCPT_DOMAIN>: Relay access denied; from=<SENDER_ADDRESS> to=<RECIPIENT@RCPT_DOMAIN> proto=ESMTP helo=<HELO>\": This typically means that CLIENT_IP is not in mynetworks (and did not AUTH), and that RCPT_DOMAIN was not recognized as one of this Postfix's domains (not listed in mydestination, relay_domains or virtual_*_domains). [16:56:29] <vice-versa> roe_: yes, after seeing your pastebin, it's the best advise I'm willing to offer [16:59:24] *** cyril_sneer has quit IRC [17:00:07] *** subsume has joined #postfix [17:01:28] *** Jax has quit IRC [17:02:26] *** Ethuntu has joined #postfix [17:02:28] <Ethuntu> hi guys [17:02:41] <Ethuntu> anyone feel nice enough to help a newb out? :) [17:02:56] <Ethuntu> Having some problems with postfix, I can issue the mailx command it looks like it goes through ok but I don't get any email [17:03:39] <roe_> vice-versa, well thanks for advice [17:03:53] <roe_> (not meant sarcastically) [17:04:14] <shasta> Ethuntu, logs will tell you more. [17:05:10] <Ethuntu> Where should I look? [17:05:18] <Ethuntu> I was going to get wireshark on teh go but im using ubuntu on virtual pc [17:07:10] *** lambda has quit IRC [17:07:26] <Ethuntu> not sure where postfix logs [17:07:33] <vice-versa> !logs [17:07:34] <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. [17:07:46] <Ethuntu> ;O [17:07:47] <Ethuntu> thanks [17:09:05] <roe_> shasta, I am familiar with relay access denied, but this is just "access denied" I believe they are different errors [17:12:04] <Ethuntu> logs say it goes through ok? :) [17:12:05] <Ethuntu> heh [17:12:14] <Ethuntu> says sent to mailbox then "removed" [17:12:40] <vice-versa> roe_: it's because you have an implicit reject in your smtpd_recipient_restrictions [17:12:50] <roe_> that needs to be there [17:13:14] <roe_> the only mail that leaves this server is from sasl authenticated users [17:13:43] <roe_> and the only mail that comes to this server is from the gateway, which is in my networks [17:13:58] <roe_> er, s/my networks/mynetworks [17:14:54] <roe_> and sasl is working just fine [17:19:10] <roe_> mail isn't hitting the relayhost at all which is the weird thing [17:25:09] *** VaNNi has quit IRC [17:26:36] <roe_> well, got one step closer [17:29:34] *** denis_ has quit IRC [17:36:01] *** VaNNi has joined #postfix [18:00:45] *** phnord has quit IRC [18:04:12] *** havvg has joined #postfix [18:04:48] *** Fallenou has quit IRC [18:05:09] *** Fallenou has joined #postfix [18:09:07] *** BuenGenio has joined #postfix [18:10:39] *** nonsequitir_ has quit IRC [18:15:45] *** harobed has quit IRC [18:20:52] *** madrescher has joined #postfix [18:29:36] *** BuenGenio_ has quit IRC [18:32:34] *** mren has joined #postfix [18:33:03] <mren> hi [18:38:00] *** pitakill has joined #postfix [18:38:09] *** mark-use has quit IRC [18:39:40] <mren> I noticed that my postfix (2.5.5) accepts mail which is sent w/ a user defined relay, but I don't want to relay that mails (maybe UBE/UCE, don't know), how can I stop postfix from accepting that mails? Posted a log entry and ponstconf -n here http://postfix.pastebin.com/d7b888b5a [18:40:08] *** sophokles has quit IRC [18:45:16] *** pitakill has quit IRC [18:46:40] *** BuenGenio has quit IRC [18:49:32] *** Orchun has quit IRC [18:51:53] *** havvg has quit IRC [18:53:48] <vice-versa> mren: looks like someone is taking advantage of a logic flaw in your smtpd_recipient_restrictions with the roleaccount_exceptions recipient access map [18:54:51] *** luke-jr is now known as luke-jr_ [18:54:55] *** luke-jr_ is now known as luke-jr [18:55:52] <mren> vice-versa: I'm not entirely sure what you mean, sorry. [18:56:27] <vice-versa> move reject_unauth_destination so it's directly after permit_mynetworks in smtpd_recipient_restrictions [18:56:45] *** Severed_Head_Of_ has quit IRC [18:57:10] *** Severed_Head_Of_ has joined #postfix [18:57:53] <mren> done, thx vice-versa [19:08:07] *** Kapaneus-0 has joined #postfix [19:08:10] <Kapaneus-0> ehlo [19:08:13] <Kapaneus-0> so... [19:08:26] <vice-versa> 250-Kapaneus-0 [19:08:30] <Kapaneus-0> getting some strange relay access denied...but only from two hosts [19:08:51] <Kapaneus-0> that is, it's not a general error...just a couple of remote smtp servers unable to deliver messages [19:09:36] <Kapaneus-0> i don't actually see the RCPT denied error from my server's maillogs, but the returned messages from the people who tried to email my server have in their reply [19:09:49] <Kapaneus-0> so if i cannot find their relay error on my mailserver...can i assume it's their f'n problem? [19:10:20] <Kapaneus-0> they've been able to email before, it's only happened recently. i haven't updated anything on my server (dns, etc) [19:11:29] <vice-versa> sounds like it, relay!=deliver [19:12:50] <Kapaneus-0> yeah, and in looking at the maillogs, i don't see that the message ever reached the mailserver [19:13:03] <Kapaneus-0> only evidence i have of the error is what the person actually forwarded to the user on another account [19:14:26] <Kapaneus-0> so i guess, for a starters...how to determine if my server is denying the remote smtp server if i don't see evidence of it in my logs [19:14:42] <vice-versa> it's hard to speculate without having anything relevant to review [19:14:43] *** Virus_FFF has quit IRC [19:14:51] <Kapaneus-0> right, tell that to the boss :) [19:15:03] <Kapaneus-0> my evidence is from the person who tried to email my server/user [19:15:09] *** gonewestcoast has quit IRC [19:15:16] <Kapaneus-0> they got the reply back, relay access denied..blah blah... [19:15:29] <Kapaneus-0> i grep for the sender's email address, server host, etc...nothing [19:15:36] <Kapaneus-0> so i have to assume it never reached my server [19:15:44] <vice-versa> right, which we can't see unless you're willing to share [19:15:54] <Kapaneus-0> eh? [19:16:02] <Kapaneus-0> i can grep the logs, i'm not that n00b :) [19:17:05] *** kreg_ is now known as Kreg [19:17:35] *** denis_ has joined #postfix [19:17:39] <vice-versa> you said you had a ndr forwarded to you correct? [19:18:30] <vice-versa> that should be enough to ascertain whether it's on your end or not [19:21:14] <Kapaneus-0> yah [19:21:35] <Kapaneus-0> i grep'd out of my logs anything with RCPT reject [19:21:45] <Kapaneus-0> then i grep'd for the person's email addresses [19:21:48] <Kapaneus-0> nothing [19:21:57] <Kapaneus-0> and i even looked at the range of time they said they sent the email [19:22:54] <vice-versa> grep for Relay access denied [19:23:52] <vice-versa> that will list any relay attempts that were rejected by your mta [19:24:42] <vice-versa> but I doubt it's your mta, as by the sounds of things they're trying to deliver a message not relay one off your mta [19:25:06] <vice-versa> hence my relay!=deliver point earlier [19:25:47] <Kapaneus-0> right, it was a delivery attempt. of course there are relay attempts littered all over the logs, all of them appropriately rejected [19:26:03] <vice-versa> indeed [19:26:07] *** imi_ has joined #postfix [19:26:13] <Kapaneus-0> i grepped out the attempts and searched from there the smtp servers and the email addresses of the people who tried to send a message and go that error [19:26:18] <Kapaneus-0> none of them found :( [19:26:38] <vice-versa> which we both more or less expected [19:26:58] <vice-versa> it's out of your hands at this point [19:27:17] <Kapaneus-0> i was hoping that wasn't the conclusion...hehe [19:27:25] <Kapaneus-0> you see, if it was my problem, i could 'try' to fix it [19:27:36] <Kapaneus-0> but seeing how it's not, the boss isn't trying to hear that [19:27:38] <Kapaneus-0> oh wells [19:28:17] *** carl- has joined #postfix [19:31:03] <vice-versa> well just try to explain the relay!=deliver point to your boss, and if he's willing to finance the diagnostics and rectification of someone else's mta you're all for it [19:31:21] <vice-versa> 10 t0 1 it get's dropped in a heartbeat ;) [19:31:51] <Kapaneus-0> i'll try...:) [19:32:03] <xpoint> facebook makes random helo pr ip, pretty clever from there side [19:32:38] <xpoint> outbound mail servers on /21, hmm [19:32:57] <Kapaneus-0> wut [19:33:35] <xpoint> if one of there ips is blacklisted we try another in /21 :) [19:34:43] <xpoint> and if facebook hit a server that have greylist, uh we try to send from another server again [19:35:07] <xpoint> how stupid can admins be today ? [19:38:05] <seekwill> xpoint: "we try another"? you mean they try another IP? [19:38:37] <xpoint> seekwill, facebook use internal relayhost mtas [19:38:44] <seekwill> Ah [19:39:03] <seekwill> Do you know what kind of MTA they use? [19:39:10] *** denis_ has quit IRC [19:39:15] <xpoint> if mails get tempfails move it to another internal mta until delivered [19:39:52] *** alienbrain has joined #postfix [19:40:03] *** gonewestcoast has joined #postfix [19:41:25] <xpoint> seekwill, sendmail 8.13.7 [19:41:43] <vice-versa> xpoint: hehe, from a greylist client whitelisting on one of our MTAs [19:41:45] <vice-versa> # Facebook crap [19:41:45] <vice-versa> tfbnw.net [19:41:57] *** denis_ has joined #postfix [19:42:34] <xpoint> mails that get tempfails should stay on the senders ips to get past greylist [19:43:18] *** jp- has quit IRC [19:44:08] <xpoint> and if internal relayhost is used AFTER tempfiles (postfix failback_relay) should happend only to one mta that do not do the same on the internal network, else loops and bad things happend [19:45:11] *** dmnd has joined #postfix [19:45:12] <dmnd> hi [19:45:17] <xpoint> vice-versa, try explain postmaster it on tfbnw.net why sendmail sooks :) [19:45:24] <dmnd> can someone help me, i cannot start postfix because of this error: Sep 29 19:45:22 mx0 postfix/postsuper[9044]: fatal: scan_dir_push: open directory bounce/8/8: Not a directory [19:46:26] <xpoint> nfs mount ? [19:46:41] <dmnd> nope [19:46:51] *** githogori has quit IRC [19:46:54] <dmnd> ext3 [19:47:19] <xpoint> i am out of help so [19:47:41] <cpm> http://readlist.com/lists/postfix.org/postfix-users/8/44163.html [19:47:56] <seekwill> xpoint: Just don't greylist facebook! :P [19:48:23] <cpm> dmnd, see my posted link [19:48:36] <vice-versa> looks like queue corruption to me [19:48:41] <dmnd> ah ok... [19:48:47] <xpoint> seekwill, i use policyd with innodb [19:49:00] <cpm> long uptime on that box? [19:49:10] <xpoint> seekwill, not cluebringer :) [19:51:45] *** A|3x has joined #postfix [19:51:55] <dmnd> 300 days cpm [19:52:14] <xpoint> http://bugs.gentoo.org/show_bug.cgi?id=238806 seekwill [19:52:26] * cpm isn't a big fan of large uptimes. [19:52:34] <cpm> sounds like file system corruption to me. [19:52:42] <cpm> but 300 isn't that bad [19:53:41] <xpoint> means that the kernel is 300 days old [19:54:09] <vice-versa> at least... [19:57:18] *** gpled has joined #postfix [19:57:36] <dmnd> xpoint :) [19:57:42] <dmnd> at least, kernel is from 2004 [19:57:50] <dmnd> its running gentoo and we cannot upgrade that thing [19:58:00] <dmnd> because of the lovely distro changes ;)\ [19:58:04] <vice-versa> O.o [19:58:12] <gpled> in main.cf i have smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/reject_domain.list [19:58:29] <vice-versa> dmnd: 2.4? [19:59:00] <gpled> in reject_domain.list i have: macys.p0.com REJECT [19:59:11] <dmnd> 2.1.5 [19:59:13] <seekwill> xpoint: Gentoo is a piece of crap. They fucked up their MySQL build and users complain in #mysql all the time. [19:59:30] <dmnd> gentoo is indeed crap :) [19:59:45] <gpled> should that reject and email from server macys-16.macys.p0.com ? [19:59:49] <dmnd> they changes the baselayout 4 times [19:59:52] <A|3x> i have set up postfix master.cf to use spamassassin and it scans and flags my incoming and outgoing mail, is there any way to make it flag only my incoming mail? [20:01:49] <gpled> please post reply, will be back shortly [20:03:48] <dmnd> what parameters should i use with fsck to probably fix it? [20:03:59] <dmnd> i unmounted the queue partition now [20:03:59] <xpoint> seekwill, gentoo is not prebuildt crap, we get the sources [20:05:09] <xpoint> fsck /partion [20:05:14] <dmnd> ok [20:05:39] <xpoint> if it says clean, then fsck -f /partion [20:05:51] <seekwill> xpoint: Yeah, because Gentoo knows better than MySQL on how to compile :) [20:05:59] * vice-versa has updated many dated production gentoo servers without issues [20:06:14] <seekwill> But we're not going to get into a distro war :) [20:06:14] <dmnd> xpoint: it said the filesystem was modified [20:06:52] <xpoint> seekwill, welll i do not write c code, but i fixed plenty of makefiles in policyd before 1.80 releases [20:08:06] <xpoint> dmnd, try one more time this time it should say no changes / errors [20:08:18] <seekwill> xpoint: I'm not talking about policyd... Just MySQL. [20:08:41] <xpoint> seekwill, nope you talk about prebuildt crap :) [20:08:57] <vice-versa> now there's a piece of crap [20:09:08] *** growltiger_ has joined #postfix [20:09:13] *** Severed_Head_Of_ has quit IRC [20:10:10] <xpoint> seekwill, and funny to see c programmers know there goto [20:12:26] *** Severed_Head_Of_ has joined #postfix [20:14:49] <dmnd> xpoint: i have done the fsck now, but it wont start yet... because the postfix's integrity failed? [20:14:59] <dmnd> and the same scan_dir_push error [20:15:11] <vice-versa> postfix check [20:15:42] <dmnd> postsuper: fatal: scan_dir_push: open directory bounce/8/8: Not a directory [20:15:50] <dmnd> its a file [20:15:51] <dmnd> :) [20:15:58] <dmnd> so its correct on that [20:15:59] <dmnd> hehe [20:16:01] *** gonewestcoast_ has joined #postfix [20:18:10] <dmnd> ok, i removed the file and it starts ok [20:18:20] <dmnd> some corrupted emails (6) but what the heck ;) [20:18:38] <xpoint> no it was currupt fs [20:18:57] <xpoint> dont blame postfix [20:20:07] <dmnd> hehe sorry, yes it was the fs [20:20:08] <dmnd> ;) [20:20:28] <vice-versa> but what the heck ;) [20:20:32] <gpled> no one knows? [20:21:22] <vice-versa> gpled: yes, stick around I'll be back in a few hours [20:21:31] <gpled> vice-versa: k [20:21:35] <gpled> im in and out [20:22:03] <xpoint> sender what ? [20:22:37] <dmnd> didnt know about postfix check, thanks for the help xpoint [20:22:43] <xpoint> postconf -n [20:28:36] *** growltiger_ has quit IRC [20:31:51] *** eanxgeek has quit IRC [20:32:09] <A|3x> i have set up postfix master.cf to use spamassassin. however, it scans and flags both, inbound and outbound messages. is there a way to tell postfix to send only inbound mail to spamassassin? [20:32:14] * sysmonk makes some homoe vine [20:32:40] *** eanxgeek has joined #postfix [20:36:26] *** gonewestcoast has quit IRC [20:40:51] <vice-versa> A|3x: yes [20:41:17] <A|3x> i have read about 2 was but both of them will not work for my setup [20:41:39] <A|3x> they say i can either use different ip addresses or ports [20:42:21] <A|3x> this [20:42:22] <A|3x> 123.456.78.90:smtp inet n - n - - smtpd -o content_filter=spamassassin [20:42:22] <A|3x> 10.0.0.1:smtp inet n - n - - smtpd [20:42:24] <A|3x> or [20:42:30] <A|3x> 26 inet n - n - - smtpd -o content_filter=spamassassin [20:42:30] <A|3x> smtp inet n - n - - smtpd [20:43:14] <A|3x> the problem is my users connect from outside [20:43:15] <dmnd> NOoo [20:43:20] *** dmnd has left #postfix [20:43:47] <gpled> A|3x: you have many different domains? [20:43:55] <A|3x> yes [20:44:00] <vice-versa> just filter on recipient domains with a recipient access map [20:44:24] <A|3x> where can i find documentation about this? [20:44:39] <A|3x> the problem is i have to modify this map every time i add another domain [20:45:07] <A|3x> postfix has access to the list of local mailboxes, so, why can't it have some rule to do this [20:45:09] <gpled> A|3x: how are you adding new domains to your mail system? [20:45:29] <A|3x> i have set up mysql database with local addresses [20:45:37] *** holiday40 has joined #postfix [20:45:56] <A|3x> i followed part of this guide: http://workaround.org/articles/ispmail-etch/ [20:46:07] <gpled> think you can have recipient access maps that use mysql [20:47:18] <A|3x> do you know where i could find good documentation about this? [20:49:40] *** theshadow has joined #postfix [20:51:24] <gpled> http://www.postfix.org/DATABASE_README.html [20:52:31] <theshadow> Alright I edited my main.cf file to have the virtual_alias_domains = vdomain1.com vdomain2.com vdomain3.com and virtual_alias_maps = hash:/etc/postfix/virtual I then edited the virtual file to have webmaster at domain1 dot com myuser . I then did postmap /etc/postfix/virtual and restarted postfix. [20:52:52] <theshadow> If I send an email from the terminal on the server via echo Stuff | sendmail webmaster at domain1 dot com [20:52:55] *** githogori has joined #postfix [20:53:09] <theshadow> I get the email but if I send it from thunderbird via IMAP the mail never arrives [20:53:30] <theshadow> I don't see anything in the logs but does anyone have an idea? [20:53:41] *** growltiger_ has joined #postfix [20:53:58] <holiday40> not postfix i know: can someone recommend a channel to discuss spamhaus use/abuse? [20:55:13] <vice-versa> theshadow: yeah, the mail not going where you think it should [20:56:09] <gpled> holiday40: you have an easy question? [20:56:29] <holiday40> yes, here goes... [20:56:50] <holiday40> some other's mail server is using the spamhaus PBL wrongly. our customers' email originates from an address on the pbl (of course) and is properly relayed through our email server to their email server. they reject the email because it originates from an address on the pb. i'm looking for links that spell out in plain terms they're being stupid. for some reason they choose to ignore paragraph 6 of http://www.spamhaus.org/faq/answers.lasso?section=Spamha [20:57:57] *** growltiger_ has quit IRC [20:58:10] <gpled> holiday40: can you tell me the ip address? [20:58:16] <gpled> if not, i understand [20:58:17] *** UdontKnow has quit IRC [20:58:24] *** growltiger has joined #postfix [20:58:26] *** roe_ has quit IRC [20:58:28] <holiday40> sure, just a second. [20:58:31] <vice-versa> holiday40: like they're checking all the received from headers or some shit [20:58:32] *** roe_ has joined #postfix [20:59:24] *** magyar_ has quit IRC [20:59:25] *** Kapaneus-0 is now known as king-noob [20:59:26] <holiday40> yes, i know. dumb. [20:59:38] <holiday40> gpled: 216.189.134.140 [21:02:04] <theshadow> vice-versa: could you be more specific? because sending mail to my user at the server address still works? so where else would it go? [21:02:10] <theshadow> How could I tell? [21:02:33] *** m1n3s6 has joined #postfix [21:03:25] <vice-versa> because it's a local submission, as in directly queue [21:03:55] <gpled> holiday40: what is your email servers ip address? [21:04:06] <holiday40> 216.189.129.3 [21:04:08] <theshadow> vice-versa: right... but if I send an email from my client to myuser at literaladdress dot com it works I get that mail [21:04:29] <theshadow> its the alias that isn't working when I send it from the same account except to webmaster at domain1 dot com [21:04:49] <mren> bye [21:04:52] *** mren has left #postfix [21:06:10] <A|3x> gpled: i am having problems figuring out exactly what to do to have different smtp rules for local mail boxes in master.cf [21:06:23] <vice-versa> theshadow: then try the same with the alias [21:07:00] <gpled> holiday40: only thing i can think of, is try to explain that they are checking to far down in the header. i understand what you are saying. it is almost if they where saying, hey man, you are sending from 10.0.0.0 ip address. [21:07:56] *** growltiger_ has joined #postfix [21:08:21] <theshadow> if I send it to webmaster@literaladdress it gets bounced back [21:08:32] <gpled> holiday40: do you know what mail server software the bad server is using? [21:08:40] <holiday40> i've tried, believe me. that is why i'm looking for something official. but if they don't believe (or understand) the pbl link from spamhaus, i'm probably just wasting my breath on them ... [21:08:49] *** Severed_Head_Of_ has quit IRC [21:09:10] <vice-versa> holiday40: prove it to someone, rip the received from header out before relaying it [21:09:48] <gpled> holiday40: i feel your pain. i had an instance where i could not connect to a port 25 on a customers server. it was a routing issue. from my side, there was not port 25 to connect to. [21:10:03] <vice-versa> theshadow: I meant with the alias mapping [21:10:07] <gpled> they keeped saying, send and email, so they can give the error message to their isp [21:10:22] <holiday40> haha [21:10:38] <theshadow> vice-versa: in the virtual file (the one you run postmap against) is it supposed to be <destination email><tab><destination user>? [21:10:53] <vice-versa> sigh [21:11:01] <holiday40> i dunno what they're using gpled. I have the smtp server... want it? [21:11:13] <gpled> no matter how many times i tried to explain to them, you cant have a smtp message until my server can connect to their port 25, they could not understand, why i would just not send the email [21:11:25] *** brancaleone has joined #postfix [21:11:43] <vice-versa> theshadow: webmaster at domain1 dot com myuser at domain1 dot com [21:11:46] <holiday40> it's like saying, is your phone service out? no problem, just call for assistance :) [21:12:00] <gpled> holiday40: just telnet to their ip address on port 25. often it will tell you what they are running [21:12:58] <holiday40> did that, no identifyable info, that I recognize. [21:13:38] <holiday40> here, i'll paste what I saw... [21:13:56] <gpled> if its big, put it in pastebin [21:14:13] <holiday40> not large, but using pb anyways of course [21:14:32] <holiday40> http://pastebin.com/m21c0ab4f [21:15:16] <holiday40> we're a small isp, they're ... probably bigger :) [21:15:20] <gpled> o joy. is that a city server? [21:15:30] <holiday40> state of minnesota [21:15:49] <gpled> govs are fun. they probably just have 1 it guy for the state [21:16:53] <theshadow> vice-versa: forgive me you want me to send an email to those two addresses? [21:16:56] <holiday40> would not surprise me [21:17:19] <vice-versa> theshadow: no, make that your alias mapping [21:17:26] <theshadow> oooh [21:17:27] <gpled> maybe just call them on the phone and ask to talk to the mail server people. be polite. they guy is probable over worked and under paid [21:17:30] <theshadow> one sec [21:18:17] *** BuenGenio has joined #postfix [21:19:25] *** dan__t has joined #postfix [21:19:32] <vice-versa> holiday40: I would try what I suggested earlier about removing the header first to prove your suspicion first [21:19:41] *** BuenGenio has quit IRC [21:20:32] *** BuenGenio has joined #postfix [21:20:57] *** Severed_Head_Of_ has joined #postfix [21:22:32] <gpled> vice-versa: ooo, thats a cool idea [21:23:43] *** growltiger has quit IRC [21:25:40] *** brancaleone has quit IRC [21:25:40] *** BuenGenio has quit IRC [21:25:47] *** BuenGenio has joined #postfix [21:27:34] <holiday40> perhaps they will see the light if i show them, in that way... perhaps they will see it as merely as tampering... we'll see. [21:27:35] *** Motoko-chan has joined #postfix [21:28:58] <holiday40> thanks gpled, vice-versa [21:30:31] *** BuenGenio has quit IRC [21:32:53] *** BuenGenio has joined #postfix [21:33:15] <gpled> holiday40: good luck [21:35:02] *** cpm has quit IRC [21:35:57] <vice-versa> holiday40: if that's a concern get permission from someone above you [21:36:38] *** lambda has joined #postfix [21:36:43] *** BuenGenio has quit IRC [21:36:58] <lambda> goog evening [21:37:11] <vice-versa> so far [21:37:15] *** growltiger_ has quit IRC [21:38:14] <seekwill> Permission is overrated [21:38:14] <seekwill> Easier to get forgiveness than permission. Just do it, like Nike [21:38:36] *** BuenGenio has joined #postfix [21:38:44] *** subsume has quit IRC [21:38:50] <vice-versa> s/get/beg for/ [21:39:27] <holiday40> i would just do it, no need for asking anybody for permission. [21:39:52] *** shinao1 has joined #postfix [21:40:03] <lambda> i run a mail exchanger behing a proxy i don't administer | since the proxy IMO has too lacky and permissive restrictions i bounce many many messages back to him [21:40:11] *** BuenGenio has quit IRC [21:40:23] <lambda> do you think it is a real problem for the people running their proxy ? [21:40:45] *** BuenGenio has joined #postfix [21:41:07] *** BuenGenio has quit IRC [21:41:55] *** juliux has joined #postfix [21:43:46] <A|3x> gpled: i can't seem to find much documentation about "recipient access maps" [21:44:21] <lambda> and since a few hours i setup greylisting wich improved the rhytm at infernal rate [21:45:05] <vice-versa> !access [21:45:06] <knoba> vice-versa: "access" : http://www.postfix.org/SMTPD_ACCESS_README.html : An overview of access(5) controls in the Postfix smtpd(8) SMTP server. [21:45:07] * vice-versa pokes knoba [21:45:39] <lambda> do you think the upstream smtp proxy has something to worry about the my policy ? [21:47:04] <vice-versa> as long as you're bouncing before queue I can't see how [21:47:06] *** subsume has joined #postfix [21:47:15] *** Dominian_ has joined #postfix [21:47:35] <xpoint> A|3x, why not use amavisd-new, then the problem you have now it more somple to archive [21:47:44] *** Dominian has quit IRC [21:47:51] *** Dominian_ is now known as Dominian [21:47:55] *** barnie has quit IRC [21:47:55] *** _barnie has joined #postfix [21:48:08] *** _barnie is now known as barnie [21:49:40] *** subsume has left #postfix [21:51:12] *** gonewestcoast_ has quit IRC [21:51:26] *** seekwill is now known as i_heart_zombies [21:51:54] <A|3x> xpoint: what is the solution with amavisd-new? [21:52:16] <xpoint> policy banks [21:53:02] * vice-versa fails to see what's so difficult about filtering based on recipient domains [21:53:52] <xpoint> http://readlist.com/lists/lists.sourceforge.net/amavis-user/0/1943.html A|3x vice-versa [21:54:34] <xpoint> there is 2 kinds of people in world, one that can use google, and the others :-) [21:54:46] <gpled> amavis-new if you want to do virus checking and spam checking. but amavis is kind of clunky [21:55:03] <xpoint> gpled, nope [21:55:44] <xpoint> gpled, what A|3x try to do without amavisd is clunky [21:56:01] <theshadow> vice-versa: Sorry I forgot to thank you I figured it out. the domain1.com wasn't resolving to the correct IP address. [21:56:09] *** eanxgeek has quit IRC [21:56:17] <xpoint> for good spam filtering its olso good to learn ham [21:56:20] <gpled> if he cant get it with out amavis, another layer is just going to make it harder [21:56:48] <vice-versa> theshadow: np, like I said earlier, the mail wasn't going to where you thought it was ;) [21:57:01] <vice-versa> xpoint: I surely hope that google comment wasn't meant for me [21:57:19] <xpoint> vice-versa, :) [22:01:05] <A|3x> thanks for your help xpoint gpled [22:01:22] *** randra has quit IRC [22:01:36] <A|3x> i will try out amavisd [22:01:38] *** i_heart_zombies is now known as seekwill [22:03:11] *** denis_ has quit IRC [22:24:47] *** chadmaynard has joined #postfix [22:25:31] *** cremetorte has joined #postfix [22:28:00] <cremetorte> hi i followed a guide but now get error [22:28:02] <cremetorte> http://nopaste.org/p/aOEXmXUzib [22:28:31] <brd> !guide [22:28:31] <knoba> brd: Error: "guide" is not a valid command. [22:28:36] <brd> !howto [22:28:36] <knoba> brd: Error: "howto" is not a valid command. [22:28:40] <brd> boo [22:28:53] <vice-versa> !tutorial [22:28:54] <knoba> vice-versa: "tutorial" : A very common problem is that some people prefer to follow a step-by-step tutorial that shows them how to setup their mail server without reading the documentation or understanding what they are doing. If something goes wrong, they have no clue whatsoever about where to look for hints, and they sometimes decide to start from scratch using a different tutorial. This is not The Proper Way. [22:29:08] <brd> vice-versa: thanks [22:30:18] <cremetorte> yeah i did read the docu, but did not understand how to finally set up ... thats true [22:32:34] <xpoint> bad guides [22:32:50] *** alienbrain has quit IRC [22:32:59] <xpoint> and you did not post postconf -n as in topic says [22:33:25] <vice-versa> actually, pasetbin this... [22:33:29] <vice-versa> !showme [22:33:29] <knoba> vice-versa: "showme" : Please pastebin the output from the following as root, uname -a;postconf -h mail_owner mail_version;echo;postconf -n;echo;cat `postconf -h config_directory`/master.cf [22:34:23] <xpoint> but shourt, problem is that virtual cant create files in this /home/vmail/ with the uid in virtual_uid_maps [22:35:40] <xpoint> showme is confusing for beginners :) [22:37:01] <vice-versa> pfft, topic also says "know your unix basics" [22:37:05] <cremetorte> so [22:37:13] <vice-versa> cremetorte: ls -ld /home/vmail && id vmail [22:37:24] <cremetorte> virtual_uid_maps=static:5000 and owner of any subdir in vmail is also 5000 [22:37:33] <cremetorte> sec [22:37:38] <xpoint> id vmail [22:37:45] <imi_> hey. i have problems with my postfix virtual and mailman. postconf -n and the output in the log i get when sending message to mailman mailing list: http://nopaste.com/p/axU6B7uEnb - can any1 help me about this ? [22:38:20] <Dominian> er [22:38:25] <Dominian> what the hell transport are you using? [22:38:36] <Dominian> it things the to is your transport command.. and that is completely wrong [22:38:40] <cremetorte> so ls -ld /home/vmail && id vmail is: [22:38:41] <cremetorte> drwxr-xr-x 3 vmail vmail 4096 2008-09-29 21:49 /home/vmail/ [22:38:41] <cremetorte> uid=5000(vmail) gid=5000(vmail) Gruppen=5000(vmail) [22:38:46] <Dominian> mailman unix - n n - - pipe flags=FR user=mailman argv=/usr/local/mailman/bin/postfix-to-mailman.py ${nexthop} ${user} [22:38:56] <Dominian> that's what mine is in my master.cfg [22:39:03] <Dominian> and in /etc/postfix/transport I have [22:39:20] <Dominian> lists.whatever.tld mailman: [22:39:28] *** F6F has joined #postfix [22:40:36] <cremetorte> looks good in my beginners eyes Oo [22:40:52] <xpoint> cremetorte, chmod go-rwx /home/vmail [22:42:01] <cremetorte> and then retry sending / receiving mail [22:42:03] <cremetorte> ? [22:42:33] <xpoint> maybe [22:42:37] <vice-versa> I doubt it's going to help [22:43:12] <xpoint> problem is to find where permissions denied is hidded [22:43:54] *** carl- has quit IRC [22:44:02] <vice-versa> right, keep moving down the directory structure [22:44:15] <vice-versa> ls -ld /home/vmail/galaxy-adventures.net/ [22:44:24] <cremetorte> yes i'll do [22:44:57] <cremetorte> h1399012:~# ls -ld /home/vmail/galaxy-adventures.net/ [22:44:57] <cremetorte> drwxr-xr-x 3 vmail vmail 4096 2008-09-29 21:49 /home/vmail/galaxy-adventures.net/ [22:44:57] <cremetorte> h1399012:~# ls -ld /home/vmail/galaxy-adventures.net/admin/ [22:44:57] <cremetorte> drwxrwxrwx 6 vmail vmail 4096 2008-09-29 22:31 /home/vmail/galaxy-adventures.net/admin/ [22:45:15] <xpoint> virtual in postfix dont need write or read on group / others [22:45:52] *** rcsu has quit IRC [22:46:10] <cremetorte> yes i know but i wanted to get sure, so this wont probably be the error [22:46:16] <xpoint> so make sure all subdirs in /home/vmail is owned by id 5000 [22:46:39] <cremetorte> they are [22:47:13] <gpled> /etc/postfix/reject_domain.list macys.p0.com REJECT [22:47:15] <xpoint> still permission denied ? [22:47:40] <gpled> this hits: /usr/sbin/postmap -q "macys.p0.com" /etc/postfix/reject_domain.list [22:47:54] <cremetorte> system created /home/vmail/ga...net/admin/new its owned by root [22:48:01] <gpled> this does not: /usr/sbin/postmap -q "1.macys.p0.com" /etc/postfix/reject_domain.list [22:48:17] <xpoint> cremetorte, there you go [22:48:19] <gpled> any ideas how to get 1.macys.p0.com to hit? [22:48:38] <xpoint> postfix cant write to a dir owned by root [22:49:01] <cremetorte> yes i will try [22:49:31] <xpoint> cremetorte, i say fix: cd /home/vmail && chown -R vmail * [22:50:33] <xpoint> gpled, add .macys.p0.com to the file [22:50:50] *** Severed_Head_Of_ has quit IRC [22:50:54] <gpled> xpoint: thats what i though. but that makes both fail [22:50:58] *** growltiger_ has joined #postfix [22:51:18] <xpoint> gpled, 2 lines one with the . and one without [22:51:35] <gpled> xpoint: did not try that. will do [22:52:05] *** jp- has joined #postfix [22:54:09] <cremetorte> it finally worked [22:54:12] <cremetorte> thanks to everyone [22:54:18] <xpoint> np [22:54:57] <cremetorte> goddamnit i thought i would never bring this to work ;) its my first server :D thanks a lot [22:55:22] <xpoint> cremetorte, and may last server ? :) [23:00:17] <imi_> can any1 help about mailman? when i try to send mail to a list i get postfix/virtual[28884]: B6263C4F99: to=<|/var/lib/mailman/mail/mailman post mailman at my dot host.name>, orig_to=<mailman at my dot host.name>, relay=virtual, delay=0.09, delays=0.06/0.02/0/0.01, dsn=5.1.1, status=bounced (unknown user: "|/var/lib/mailman/mail/mailman post mailman at my dot host.name") [23:00:26] <imi_> my postconf -n at: http://nopaste.com/p/axU6B7uEnb [23:00:46] <cremetorte> so last questin: is it possible to create a "catch all " mail account ? [23:01:29] *** alienbrain has joined #postfix [23:01:55] <xpoint> imi_, virtual cant give mailman mails [23:02:50] <xpoint> imi_, remove mailman alias table where the mailman: is in [23:02:52] *** felix-da-catz is now known as felix-da-catz_zz [23:03:06] <xpoint> from the virtual table [23:03:08] <imi_> its in /etc/aliases [23:03:43] <xpoint> imi_, show postconf -n [23:04:04] <imi_> http://nopaste.com/p/axU6B7uEnb [23:04:36] <imi_> can it be problem i want to use same host for virtual and mailman ? [23:05:21] <xpoint> imi_, virtual_alias_maps = hash:/var/lib/mailman/data/aliases, mysql:/etc/postfix/mysql_virtual_alias_maps.cf < change to virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf [23:05:38] <imi_> tried it :| [23:06:05] <imi_> then i get: [23:06:06] <xpoint> virtual_alias_maps cant do pipes [23:06:26] <gpled> .macys.p0.com and macys.p0.com REJECT. still can only get hits on macys.p0.com and not 1.macys.p0.com [23:06:35] <imi_> postfix/local[2164]: 187D2C4F99: to=<mailman@localhost>, orig_to=<mailman at hok dot sci.u-szeged.hu>, relay=local, delay=0.27, delays=0.06/0.02/0/0.2, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post mailman) [23:06:47] <imi_> Sep 29 23:04:34 vilma postfix/smtpd[2159]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <mailman-owner at hok dot sci.u-szeged.hu>: Recipient address rejected: User unknown in virtual mailbox table; from=<mailman-bounces at hok dot sci.u-szeged.hu> to=<mailman-owner at hok dot sci.u-szeged.hu> proto=ESMTP helo=<[127.0.1.1]> [23:06:49] *** holiday40 has quit IRC [23:07:38] <gpled> does it mater that reject_domain.list is type hash? [23:08:04] <xpoint> gpled, yes try pcre or regexp [23:08:41] <gpled> so hash is "static" only? [23:09:38] <xpoint> yes [23:09:58] <xpoint> imi_, where is your wan ip in main.cf ? [23:10:39] <xpoint> imi_, and is hok.sci.u-szeged.hu in mydestination ? [23:11:16] <xpoint> imi_, is mailman-owner at hok dot sci.u-szeged.hu in /etc/aliases ? [23:12:51] <xpoint> imi_, if your postfix running behind nat, then add proxy_interfaces=my.wan.ip to your main.cf [23:12:57] <imi_> myhostname [23:13:05] <imi_> and myorigin [23:13:16] <imi_> its not behind nat [23:13:36] <xpoint> olso mydestination if tthat domain is not wirtual hosted [23:13:45] <imi_> mailman-owner: "|/var/lib/mailman/mail/mailman owner mailman" [23:13:53] <imi_> its in aliases [23:13:56] <xpoint> then you still need a wan ip in mynetwork [23:15:24] <imi_> Sep 29 23:15:52 vilma postfix/smtpd[4696]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <mailman-owner at hok dot sci.u-szeged.hu>: Recipient address rejected: User unknown in virtual mailbox table; from=<mailman-bounces at hok dot sci.u-szeged.hu> to=<mailman-owner at hok dot sci.u-szeged.hu> proto=ESMTP helo=<[127.0.1.1]> [23:17:47] <xpoint> append_dot_mydomain = no < hmm [23:18:06] <A|3x> i get the following error in /var/log/maillog: postfix/smtp[16971]: fatal: chroot(/var/spool/postfix): Operation not permitted [23:18:11] <A|3x> any ideas? [23:18:34] <xpoint> A|3x, running postfix chrooted ? [23:18:48] <imi_> xpoint: tried to solve with google, but still doesnt work [23:18:51] <imi_> thats why i joined here [23:19:32] <xpoint> mailman-bounces at hok dot sci.u-szeged.hu < this should be a real mailbox email [23:19:36] <A|3x> xpoint: not sure, where would i find out? init script? [23:20:10] <xpoint> A|3x, the errror says you do [23:20:27] <imi_> xpoint: k, then i add into mysql [23:20:31] *** gutocarvalho has quit IRC [23:21:15] <xpoint> imi_, NO do not just add to mysql, change the destination in the alias to one mailbox [23:22:00] <imi_> hm wait [23:22:05] <imi_> without add into mysql [23:22:10] <imi_> i cant send mail to mailman@... [23:22:20] <imi_> i can* [23:22:21] <imi_> i mean [23:22:33] <xpoint> yes could be same email addresse as root goes to [23:22:47] <gpled> for type regexp would i use something like this? /*\.macys\.p0\.com/ REJECT [23:22:53] * sysmonk likes looking at how xpoint helps people [23:23:14] <sysmonk> gpled: yes, except there's no point in it having to start witih * [23:23:20] <xpoint> sysmonk, go away [23:23:33] <higuita> :) [23:23:43] <sysmonk> xpoint: sure, sure [23:23:46] <Dominian> heh [23:23:48] <sysmonk> xpoint: still mad at me because i was right? ;) [23:23:54] <gpled> lol [23:23:58] <xpoint> no i am not sur [23:24:16] <sysmonk> you're not sure that the error you said was a postfix error was really amavisd one [23:24:32] <sysmonk> and that after searching the postfix sources there wasn't any error like that [23:24:43] <sysmonk> and that the error was prefixed with amavisd/ ? [23:24:46] <cremetorte> how can i check if my mail server is an open relay? [23:24:46] <gpled> o, the joy of amavis [23:24:53] <sysmonk> !check [23:24:54] <knoba> sysmonk: "check" : You can check your spf / dkim / domain-keys settings by sending an email to check-auth at verifier dot port25.com. It will auto-respond with some debug informations about your settings and spam-score. [23:24:55] <sysmonk> cremetorte: ^^ [23:25:00] <sysmonk> oh damn, wrong one [23:25:24] <vice-versa> you made a mistake? [23:25:32] <xpoint> haha i like to see how bad sysmonk helps :) [23:25:44] <sysmonk> !relaytest [23:25:44] <knoba> sysmonk: "relaytest" : a public service to test if your mail server is an open relay. Just run "telnet relay-test.mail-abuse.org" or visit http://www.abuse.net/relay.html [23:25:47] <A|3x> i get the following lines in maillog: postfix/master[17415]: warning: process /usr/libexec/postfix/smtp pid 17419 exit status 1 [23:25:48] <A|3x> warning: /usr/libexec/postfix/smtp: bad command startup -- throttling [23:25:49] <sysmonk> gpled: ^^ [23:25:52] <sysmonk> damn [23:25:54] <sysmonk> cremetorte: ^^ [23:25:58] <cremetorte> thx [23:25:58] <cremetorte> ^^ [23:26:00] <A|3x> any ideas [23:26:01] <vice-versa> hahaha [23:26:16] * gpled sysmonk is making eyes at me :( [23:26:18] <cremetorte> The host rejected all attempts to relay a test message. [23:26:28] <cremetorte> i think this is positive :) ? sorry my english is soo bad -.- [23:26:30] <sysmonk> gpled: nah [23:26:33] <gpled> lol [23:26:34] <sysmonk> i'm a bit tired today [23:26:44] <sysmonk> i've been making some home vine for all the evening [23:26:48] <sysmonk> 20liters of it [23:26:55] * sysmonk tired tired tired [23:27:11] * xpoint hands sysmonk some tire [23:27:17] <higuita> A|3x: check your /var/log/mail* logs to see if ti gives out more info [23:27:59] <gpled> sysmonk: that hard to make? [23:28:32] <sysmonk> gpled: i've been smashing the juice out of apples for the whole evening [23:28:41] * gpled hands sysmonk a glass [23:28:41] <Dominian> wth [23:28:47] <sysmonk> do you know how much apples you need to **** to get 20l of juice?:) [23:29:01] <gpled> lol [23:29:01] <A|3x> higuita: i see 3 lines over and over: postfix/smtp[17021]: fatal: chroot(/var/spool/postfix): Operation not permitted, postfix/master[16967]: warning: process /usr/libexec/postfix/smtp pid 17005 exit status 1, warning: /usr/libexec/postfix/smtp: bad command startup -- throttling [23:31:52] <A|3x> ah, setenforce 0 fixes things [23:32:30] <vice-versa> meh, selinux [23:32:30] <imi_> xpoint: now if i send mail to mailman at hok dot sci ... i get: mailman at localhost dot sci.u-szeged.hu [23:32:37] <imi_> localhost.sci ? [23:33:43] <vice-versa> !selinux [23:33:44] <knoba> vice-versa: "selinux" : To test if selinux is enabled, as root, /usr/sbin/sestatus -v | to test if selinux is your problem temporarily disable it with setenforce 0, try running postfix again, setenforce 1 to restore selinux. If postfix ran with selinux mode off, try fixfiles restore /etc/postfix, if no joy after that consult your system documentation. [23:35:45] *** cremetorte has quit IRC [23:36:44] *** Zblakany has joined #postfix [23:39:20] <gpled> xpoint: thanks for the regexp tip [23:39:32] <xpoint> np [23:41:25] <gpled> sysmonk: you have a good recipe for your vino [23:42:35] <sysmonk> suuuuure, it's my first time :)) [23:43:39] *** BartVB has quit IRC [23:43:40] *** TDT has quit IRC [23:44:42] <gpled> realy? [23:45:14] <gpled> let me know how it goes. its on my todo list [23:46:09] *** RonJeremy is now known as keffer [23:46:44] <sysmonk> gpled: it's been on my todo list for 3 years o_o [23:47:16] *** RonDamon has joined #postfix [23:47:22] <RonDamon> hi [23:48:17] <gpled> 250 hello [23:49:16] <RonDamon> 220 hello :-P [23:49:54] <gpled> :) [23:55:19] *** lambda has quit IRC [23:56:45] <seekwill> 550 Received data before BANNER [23:59:42] *** pirho has quit IRC