[00:01:00] *** slackjr has joined #postfix [00:02:45] *** chadmaynard has joined #postfix [00:03:40] *** AcTiVaTe has joined #postfix [00:03:47] *** mdiep has quit IRC [00:09:25] *** senzou has joined #postfix [00:09:26] *** j_s has quit IRC [00:13:38] <senzou> hi, maybe someone can help me with a freshly setup postfix system. it accepts mail without problems but when i try to send mail i get following error-message in the log postfix/sendmail[25670]: fatal: usage: sendmail [options] [00:20:07] *** mordaunt_ has joined #postfix [00:24:00] <bxz> higuita, when i try to send via www-data i get the following error - fatal: Recipient addresses must be specified on the command line or via the -t option [00:24:05] <bxz> ideas how to resolve that? [00:24:06] *** Draecos has quit IRC [00:24:47] <bxz> anyone here? [00:25:28] <sahil> bxz: yes. [00:28:33] *** alienbrain has quit IRC [00:28:52] *** hparker has joined #postfix [00:29:35] <bxz> sahil, how do i allow www-data to send stuff via apache? [00:29:39] <bxz> higuita, when i try to send via www-data i get the following error - fatal: Recipient addresses must be specified on the command line or via the -t option [00:29:52] *** Draecos has joined #postfix [00:30:05] <bxz> sahil, i get the following error when trying to submit an email from php [00:30:14] <bxz> postfix/sendmail[8466]: fatal: Recipient addresses must be specified on the command line or via the -t option [00:30:18] <bxz> what am i forgettting? [00:30:29] <sahil> to specify the recipient. [00:31:02] *** slackjr has quit IRC [00:31:35] *** slackjr has joined #postfix [00:31:44] <bxz> sahil, the email script is specifying the recipient .. what do i need to do there? [00:31:46] <bxz> add -f? [00:31:49] <bxz> add -t? [00:31:53] <sahil> the error is quite illuminating, and this is somewhat of a FAQ. you need to add -t [00:32:06] <bxz> where? [00:32:24] <sahil> in your php.ini, specify sendmail_path = /path/to/postfix/sendmail/binary -t [00:32:46] <sahil> it's probably thus: [00:32:50] <sahil> sendmail_path = /usr/sbin/sendmail -t [00:33:09] *** mordaunt_ has left #postfix [00:33:21] *** mordaunt has quit IRC [00:37:28] <bxz> i get more errors now [00:37:29] <bxz> error: to submit mail, use the Postfix sendmail command [00:37:29] <bxz> Aug 2 18:43:28 shablol postfix[8599]: fatal: the postfix command is reserved for the superuser [00:37:42] <bxz> reserved to superuser? [00:39:20] <bxz> sahil, are you there? [00:39:55] *** AcTiVaTe has quit IRC [00:40:11] *** hparker has quit IRC [00:40:14] <sahil> bxz: yes. [00:42:32] <sahil> bxz: i don't have enough information to help you, sorry. [00:42:35] <bxz> sahil, what does it mean with postfix command is resvered for superuser? when i try to send something from my php script [00:42:49] <sahil> if your script is really executing sendmail and NOT postfix command, then you should not get the error above. [00:43:49] <bxz> sahil, how do i find the path to postfix? [00:44:01] <bxz> sahil, i assumed that on ubuntu it is /usr/sbin/postfix [00:44:04] <bxz> -t -i [00:44:17] <sahil> i never told you to do that. [00:44:26] <sahil> 18:32 < sahil> sendmail_path = /usr/sbin/sendmail -t [00:44:56] <sahil> # whereis sendmail [00:44:59] <sahil> what is the output of that? [00:45:12] <bxz> /usr/sbin/sendmail [00:45:27] <bxz> i thought i needed to change the location of where sendmail is... [00:45:46] <bxz> sendmail_path = /path/to/postfix/sendmail/binary -t [00:46:35] <bxz> sahil, so i need to leave it the same? [00:46:52] <bxz> sendmail_path = /usr/sbin/sendmail -t [00:46:53] <bxz> ? [00:48:19] <sahil> was that already in php.ini? [00:48:34] <sahil> or did you put it there after i suggested it? [00:48:53] <bxz> it was already in the php.ini [00:49:42] <bxz> so what now? [00:50:26] <sahil> i dunno this is not a postfix issue [00:50:30] <sahil> it's a php/integration problem [00:50:42] <sahil> google for your error, there are plenty suggestions on the web as well. [00:50:59] *** Tykling has left #postfix [01:14:49] *** bxz has left #postfix [01:15:33] *** war9407 has quit IRC [01:19:43] *** JoeWulf has joined #postfix [01:21:59] <roe_> !basic [01:22:00] <knoba> roe_: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [01:24:40] <Landon> Aug 2 18:17:15 c29150 postfix/smtpd[15943]: warning: cannot get private key from file /etc/ssl/private/smtpd.key [01:24:40] <Landon> Aug 2 18:17:15 c29150 postfix/smtpd[15943]: warning: TLS library problem: 15943:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:105: [01:24:50] <Landon> looks like I missed a step there [01:25:02] <Landon> I would define the password to the key in main.cf somewhere> [01:25:03] <Landon> ? [01:26:17] <Landon> :\ wait, I can't use a password protected key? [01:29:45] *** Joe_Wulf has quit IRC [01:33:24] *** knoba has quit IRC [01:33:33] *** knoba has joined #postfix [01:35:04] <sahil> why don't you start with the basics and work your way up. try a password-less key. [01:37:36] <Landon> ah, I did, I was just hoping I'd be able to use one of my signed keys [01:38:01] *** dusty has quit IRC [01:43:59] *** dusty has joined #postfix [01:47:00] *** Juspion has joined #postfix [01:55:59] *** ^chadmaynard has joined #postfix [02:10:56] *** guest_594 has joined #postfix [02:11:33] *** chadmaynard has quit IRC [02:11:54] *** guest_594 is now known as chadmaynard [02:15:10] *** ^chadmaynard has quit IRC [02:19:32] *** F6F has quit IRC [02:25:14] *** ^chadmaynard has joined #postfix [02:25:55] *** jonez has joined #postfix [02:29:39] *** chadmaynard has quit IRC [02:29:51] *** Fallenou has quit IRC [02:30:14] *** ^chadmaynard is now known as chadmaynard [02:32:57] *** Juspion has quit IRC [02:41:04] *** toytoy has quit IRC [02:49:11] *** diveli has quit IRC [02:50:44] <magyar> how do i /dev/null a sender but only if the mail is to "MAILER-DAEMON" ? [02:51:13] <sahil> magyar: what problem are you trying to solve? [02:53:08] <magyar> sahil: one of my users went on vacation and set up a autoreply, I receive email for root and his bounces are coming to mailer-daemon [02:53:27] <magyar> autoreply on his outlook express never the less [02:53:36] <magyar> some people are just dumb [02:54:39] <magyar> i get all the bounces "Re: Undelivered Mail Returned to Sender" [02:56:10] <magyar> so someone fakes an email address a reply is sent, a bounce is sent back to the initial sender and because it comes from someones mailer-daemon, I get a vacation notice. [02:57:14] <sahil> so someone is faking his address; backscatter is coming to his address, but since he's got an autoreply,he too is generating backscatter? [02:57:17] <magyar> so, to the original question: "how do one /dev/null a sender but only if the mail is to "MAILER-DAEMON" ?" [02:57:34] <magyar> eheeh, yeap [02:57:34] <sahil> magyar: can't you stop *his* vacation responses from leaving your smtp server? or is he using another smtp server to send? [02:58:00] <sahil> best thing is to intercept his vacation responses and send _them_ to the abyss. [02:58:17] <magyar> sahil: I am the provider, so I dont mind coming in with the backscater [02:59:03] <magyar> sahil: dont really want to piss him off. Ill explain to him that he can set the vacation from his web portal [02:59:11] *** toytoy has joined #postfix [02:59:48] <magyar> for now, I just one to /dev/null anything he sends to mailer-daemon [03:03:09] <sahil> ok well do a recipient check, if mail is from him, send it to a restriction class [03:03:13] <sahil> err [03:03:27] <sahil> do a sender check, if it's him, send to restriction class which does a recipient_check for mailer-daemon [03:03:31] <sahil> destroy that [03:03:39] <sahil> this way you aren't stopping all messages to mailer-daemon [03:03:48] <sahil> (unless that's what you want, which is even more trivial to do) [03:06:09] <magyar> that sounds right [03:08:25] *** toytoy has quit IRC [03:09:07] *** tokam has joined #postfix [03:09:20] <tokam> hi what is the postfix virtual vacation feature? [03:09:24] *** Jense has quit IRC [03:09:50] <tokam> do i need sasl (simple security autentication layer) or isn't it simlple? [03:10:05] <tokam> should i buld my postfix with mysql support? [03:10:25] <sahil> tokam: depends on your needs, desires, and experience; there are no clear cut answers to many of your questions. sorry. [03:11:12] <tokam> i am a postfix noob i want to have a mail server on my pc which can recieve mails i want to connect with javax.mail to the serve and read my mails [03:11:33] <sahil> ok, enjoy. [03:11:34] <tokam> what does the virtual vacation feature do? [03:11:51] <tokam> how does postfix work with mysql and without it? [03:12:03] <tokam> is mysql faster? [03:12:11] <sahil> no. [03:12:12] <tokam> i have my own sql server running quit yet [03:12:15] <sahil> hash will be just fine. [03:13:29] <tokam> and the vacation thing? [03:13:33] <tokam> what does sasl do? [03:14:47] <shasta> !basic [03:14:48] <knoba> shasta: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [03:15:27] <tokam> ... [03:15:42] <tokam> if i install horde-webmail on my system does it replace postfix? [03:17:11] <Landon> you might want to hit up wikipedia to see how email works and how the parts are seperated [03:17:52] <tokam> :D [03:18:01] <tokam> i just want to develop my damn java programm :D [03:18:34] <Landon> ok then, how about you start with a basic postfix server and work your way up from there slowly :) [03:19:10] <Landon> don't go setting up every feature just because it sounds nifty, do some research about them on the postfix site, check out howto guides, etc [03:19:40] *** rcsu_ has joined #postfix [03:20:37] <tokam> please tell me now only what the virtual vacation feature for postfixadmin does [03:21:29] <tokam> i need to know it before compiling my postfix [03:22:23] *** Zblakany has quit IRC [03:23:24] <Landon> why not just install postfix with a package manager? [03:25:37] <tokam> i use a package manager [03:25:40] <tokam> its called emerge [03:26:01] <Landon> then just emerge it and don't worry about all these extras right now [03:26:21] <tokam> :D [03:26:36] <tokam> why dont you tell me what the virtual vacation feature is? [03:26:44] <tokam> be happy to have an interessted user like me ;) [03:27:10] <tokam> ok gentoo guys helped me :P [03:27:12] <tokam> instead of you [03:27:13] <tokam> :D [03:27:14] <Landon> I haven o f'ing clue [03:27:20] <Landon> and google gave no help eitherw [03:27:30] <Landon> which suggested it was probably something you don't need for a basic mail server [03:27:31] <Landon> ;) [03:27:36] <Landon> or it'd be better documented [03:27:52] <tokam> do you know what a useflag is? [03:27:57] <Landon> indeed [03:27:58] <tokam> i can explain you [03:28:02] <tokam> its a gentoo thing [03:30:11] <tokam> if you want [03:30:37] <tokam> on gentoo we just compile all packages, we can set useflags for the packages [03:30:47] <tokam> the flags tell the system what we want to use and what not [03:30:50] <Landon> yes, I know how gentoo goes about things [03:31:06] <tokam> i can the for postfix admin the flag vacation or not [03:31:26] <tokam> if i set it i compile your virtual vacation feature too, if not than not [03:31:27] <Landon> ok, so apparently you didnt hear what I said [03:31:33] <tokam> and my postfix will be fatser for my use [03:31:45] <tokam> Landon, you are not _bt [03:31:50] <tokam> or _bugz_ [03:32:09] <Landon> I said to be conservative, not enabling every feature willy nilly, now if you can't get a good idea of what a feature is via google, chances are you don't need it ;) [03:32:17] <Landon> and can safely compile without it and research it later to see if you need it [03:32:26] *** slackjr has quit IRC [03:32:28] <Landon> all the quicker to having your own mail server running [03:32:58] <tokam> yes [03:34:23] *** rcsu has quit IRC [03:41:41] *** knoba has quit IRC [03:42:40] *** knoba has joined #postfix [03:49:42] <sahil> magyar: all set? [03:59:52] *** lunaphyte_ has quit IRC [04:00:24] *** lunaphyte_ has joined #postfix [04:01:22] <magyar> sahil: piece of cake :) [04:02:39] *** slackjr has joined #postfix [04:03:46] <slackjr> hi, is there a way to make possible internal at domain dot net receives messages just from domain.net ( or users authenticated just in this mail server ) : [04:06:54] <magyar> slackjr: you neet to setup restriction classes [04:07:14] <magyar> !smtpd_restriction_classes [04:07:14] <knoba> magyar: "smtpd_restriction_classes" : a configuration parameter in the main.cf: User-defined aliases for groups of access restrictions. The aliases can be specified in smtpd_recipient_restrictions etc., and on the right-hand side of a Postfix access(5) table. [04:10:10] <sahil> magyar: glad it worked. sounded like a really nasty inbox flooding situation. [04:17:04] *** Azrael_- has quit IRC [04:17:17] *** Azrael_- has joined #postfix [04:23:03] <tokam> have to go now [04:23:05] <tokam> bye thanks [04:23:08] *** tokam has left #postfix [04:26:10] *** toytoy has joined #postfix [04:27:23] <sahil> magyar: is this a personal server or corp? [04:29:50] <slackjr> magyar: thanks for you help, but im still very confused, i want to make this "just @mydomain.net can send email to all at mydomain dot net" i just find ways to accept or deny the email [04:33:11] *** m0f0x has quit IRC [04:37:08] *** Juspion has joined #postfix [04:38:06] <sahil> slackjr: authenticated users can send to anyone in a typical setup, so that's already done. [04:38:46] <sahil> you could do a sender_access check to see if users are coming from domain.net within a restriction class as magyar suggested, BUT this is prone to address spoofing. [04:42:10] <slackjr> sahil: ok but how can i deny other emails to be delivered to all at mydomain dot net?? [04:43:17] <sahil> slackjr: see check_recipient_access and read man 5 access. [04:43:23] <sahil> you have to do a bit of reading. [04:44:11] <slackjr> sahil: ok thanks, im doing this right now.... [04:44:12] <sahil> slackjr: hint, within access(5), pay particular attention to the section titled HOST NAME/ADDRESS PATTERNS. [04:58:04] *** roe_ is now known as roe- [04:59:15] *** darkphader has quit IRC [05:13:38] *** tokam has joined #postfix [05:13:39] <tokam> hi [05:13:44] <tokam> postfixadmin says [05:13:45] <tokam> Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 [05:13:45] <tokam> Fatal error: Unknown: Failed opening required '/var/www/localhost/htdocs/postfixadmin/index.php' (include_path='.:/usr/share/php5:/usr/share/php') in Unknown on line 0 [05:13:49] <tokam> whats my mistake? [05:17:13] *** adaptr has quit IRC [05:17:25] *** adaptr has joined #postfix [05:17:35] <Landon> have you checked your permissions for htdocs? [05:17:46] *** pickcoder has joined #postfix [05:19:28] *** McJerry has joined #postfix [05:20:41] <tokam> how to set my permissions? [05:20:58] <tokam> have you got a tutorial? [05:21:03] <dragonheart> man chmod [05:21:40] <Landon> ^ [05:22:26] <dragonheart> http://www.amazon.com/LINUX-Administration-Dummies-Michael-Bellomo/dp/0764505890 perhaps [05:24:11] <Landon> a bit of the old handson doesnt hurt either [05:24:11] <tokam> omg [05:24:18] <tokam> i know how to set permissions [05:24:27] <tokam> but i dont know which your programm requires [05:24:36] <Landon> *facepalm* [05:24:48] <tokam> dragonheart, install your own gentoo first and than we talk about linux dummies [05:24:48] <tokam> :D [05:25:11] <Landon> gentoo isnt a ticket to not being a linux dummy [05:25:44] <tokam> :D [05:26:59] <Landon> why don't you go ahead and 777 /var ;) for a good time [05:27:05] <Landon> recursively [05:27:10] <tokam> no [05:27:11] <tokam> :D [05:27:21] <tokam> its very bad [05:27:31] <Landon> perhaps you might want to start by giving the user permissions to access the directory [05:27:35] <Landon> man chown [05:27:50] <tokam> i know chown [05:27:55] <tokam> i know many things [05:28:08] <tokam> nano /etc/X11/xorg.conf [05:28:09] <Landon> then put them to use [05:28:15] <tokam> cd /usr/src/linux [05:28:23] <tokam> make && make install && make modules_install [05:28:32] <tokam> popd pushd [05:28:34] <tokam> eselect [05:28:40] <tokam> cut [05:28:42] <tokam> grep [05:28:45] <Landon> what are you getting on about now? [05:28:52] <tokam> eix [05:28:56] <tokam> ls [05:28:57] <tokam> cd [05:28:58] <tokam> :D [05:28:59] <tokam> lol [05:29:03] *** pickcoder has quit IRC [05:29:13] <tokam> halt [05:29:16] <tokam> reboot [05:29:16] <Landon> no, seriously, what the hell? [05:29:20] <tokam> :P [05:29:29] <tokam> ps -al [05:30:28] <tokam> arp df du find ifconfig [05:30:38] <tokam> init [05:30:41] <tokam> netstat [05:30:51] <tokam> nslookup ping rm [05:30:54] <Landon> tokam: ? [05:30:57] <Landon> stop spamming [05:30:59] <tokam> ok [05:31:00] <tokam> sry [05:31:20] <tokam> dig is a nice command [05:31:39] <Landon> sure, but what does it have to do with the current discussion? [05:31:45] *** tcoppi has joined #postfix [05:32:24] <Landon> so back to where we were, did you try chowning the directory yet? [05:32:41] <tokam> because you adviced me to read the manpage for chown [05:32:52] <tokam> you said i dont know nothing about linux [05:32:57] <jeev> hey guys, ijust noticed my friends email is being bounced because his quota is full, i dont recall setting up quota!2 how can i disable it [05:32:58] <tokam> and i proved you the oposite [05:33:11] <Landon> just because you can recite a list of commands doesnt mean you have a mastery of linux [05:33:27] <tokam> ok [05:33:32] <tokam> but i have to go now [05:33:35] <tokam> /sbin/halt [05:33:37] <tokam> ;-) [05:33:40] <tokam> i am tired [05:33:45] <tokam> thanks for help mf Landon [05:34:42] <tokam> cya [05:34:53] *** tokam has quit IRC [05:35:16] *** Juspion has quit IRC [05:35:43] *** tcoppi has left #postfix [05:43:22] *** javagamer has joined #postfix [05:45:51] <javagamer> What should I do about "warning: do not list domain javagamer.net in BOTH mydestination and virtual_alias_domains" in mail.log if I want javagamer at mysite dot com, comment at mysite dot com, and support at mysite dot com all to go to the javagamer account? [05:49:37] *** Motoko-chan has joined #postfix [05:50:26] *** cathyal has joined #postfix [05:50:42] *** cathyal has left #postfix [05:51:22] *** chadmaynard has quit IRC [06:14:43] *** pickcoder has joined #postfix [06:50:56] *** pickcoder has quit IRC [07:15:31] *** slackjr has quit IRC [07:17:01] *** jeffspeff has joined #postfix [07:27:37] *** chadmaynard has joined #postfix [07:30:03] *** toytoy has quit IRC [07:37:10] *** toytoy has joined #postfix [07:42:49] <higuita> javagamer: choose one domain to be your $mydestination.. usually is the machine name, but can also be your primary account [07:43:20] <higuita> put all other in the virtual maps [07:43:46] <higuita> you can put the mydestination alias in the aliases file, and also do aliases in the virtual file [07:46:04] <higuita> guessing: mydestination=javagamer.net , virtual_maps -> javagamer at mysite dot com javagamer at javagamer dot net.\ncomment@mysite.com javagamer at javagamer dot net.\n etc [07:46:46] <higuita> or even @mysite.com @javagamers.net to one to one direct map for the domains [07:47:53] *** dinar has joined #postfix [07:48:05] <dinar> hello [07:48:12] <dinar> http://rafb.net/p/LJvc2P98.html [07:49:01] <higuita> yes... and? [07:50:34] *** DarKnesS_WolF has left #Postfix [07:50:55] <Landon> hm [07:51:07] <Landon> based on last time he was here, I think he wants to know if his mynetworks line is correct [07:51:26] <dinar> not only that [07:51:44] <higuita> Landon: so i would have to guess that :) [07:52:08] <dinar> maybe i need specify local_recipient_maps? [07:52:11] <Landon> dinar: what else then? [07:52:20] <Landon> fwiw my mynetworks is 127.0.0.1/8 [07:52:37] <dinar> and what about mynetworks? [07:53:01] <higuita> dinar: if you define inet_protocols to inet4, you can remove the ipv6 definitions from the mynetworks [07:53:26] <higuita> Landon: the correct is 127.0.0.0/8 [07:53:33] <higuita> not .1 [07:53:34] <Landon> yeah, just noticed that [07:53:50] <Landon> however, it works :) [07:53:59] <Landon> oh wait, I do have .0 [07:54:07] <Landon> curses, muscle memory [07:54:39] <higuita> dinar: by the way, inet_protocols is by default inet4 (unless debian changed that) [07:54:43] <higuita> hehehe [07:56:01] <higuita> also dinar, if the users are local, no need for local_recipient_maps, by default, all local users and aliases are accepted for mydestinations [07:56:32] <dinar> "inet_protocols (default: ipv4)" [07:57:18] <higuita> yes, i wrongly wrote inet4 instead of ipv4 :) [07:57:53] <dinar> 8 means that first 8 bits are... address of network? [07:58:29] <Landon> means the first 8 bits are the only ones that matter [07:58:35] <Landon> if I'm getting this right [07:58:49] <dinar> so other 24 bits are for computers inside the network? [07:59:12] <dinar> how can be so many computers in my computer? [07:59:34] <dinar> or near my computer [07:59:42] <dinar> one of them 127.0.0.1 [07:59:45] <Landon> the definition of anything 127.* is localhost [07:59:49] <dinar> what are others? [08:00:06] <dinar> 127.0.1.0 is also localhost? [08:00:09] <Landon> yes [08:00:19] <dinar> why so many addresses? [08:00:28] <dinar> +ports [08:00:29] <Landon> *shrug* simplicity [08:00:41] <dinar> (*ports) [08:01:03] <Landon> mynetworks looks like it isnt just *your* computer as well, unless thats how you set it [08:01:17] <Landon> looks like if you set it to a remote ip, that server can relay messages off of yours if it wants to [08:02:17] <dinar> i have used dpkg-reconfigure postfix [08:02:42] *** Zeit|awy_ has quit IRC [08:02:55] <dinar> what if to write 127.0.0.1? [08:03:16] <Landon> write it where? not sure what you're getting it [08:03:18] <Landon> at* [08:03:56] <dinar> in mynetworks= instead of 127.0.0.0/8 [08:04:16] <Landon> you could do that, but you might possibly run up against some snaggles [08:04:33] <Landon> if some program wanted to use 127.0.1.1 [08:04:55] <Landon> there's nothing wrong security-wise with using 127.0.0.0/8 [08:05:34] <dinar> what i should change in this config file? [08:06:00] <Landon> well [08:06:03] <Landon> are you having problems? [08:06:05] <dinar> (mails are not accpeted.) [08:06:12] <Landon> ok [08:06:35] <Landon> what address are you sending test emails to? [08:07:14] <dinar> mylinuxusername at mydomain dot dom [08:08:21] <dinar> ? [08:08:33] <dinar> what do you need to help me? [08:09:12] <Landon> note: I'm no guru on this [08:09:43] <Landon> is mail getting to your server at all? [08:09:50] <Landon> (check mail.log) [08:10:00] <dinar> Aug 2 20:36:12 dinar-desktop postfix/smtpd[1234]: NOQUEUE: reject: RCPT from a1234.awebmail.com[12.34.56.78]: 554 5.7.1 <dinar at domain dot dom>: Relay access denied; from=<dinar at awebmail dot com> to=<dinar at domain dot dom> proto=ESMTP helo=<a1234.awebmail.com> [08:10:34] <Landon> are you obfuscating your logs? [08:10:39] <dinar> yes [08:11:00] <Landon> it's not necessary 99% of the time and can possibly be a hindrance [08:11:48] <dinar> yes [08:12:03] <dinar> and in this case it is not necessary [08:12:46] <dinar> i replaced it yesterday, and copy-pasted now [08:13:32] <Landon> I see nothing glaringly obvious [08:13:47] <dinar> i also [08:14:00] <dinar> may be i should try in debian [08:14:20] <dinar> (in ubuntu now) [08:15:25] <dinar> i'll wait for some people that can help me [08:15:41] <Landon> for now, you might want to change mynetworks to 127.0.0.0/8 [08:15:47] <Landon> and take out the ipv6 stuff [08:15:52] <Landon> since you're not using that interface [08:21:51] <dinar> ok. [08:22:02] <dinar> still does not work. [08:22:26] <dinar> The error that the other server returned was: 554 554 5.7.1 <dinar at domain dot dom>: Relay access denied (state 14). [08:22:34] <Landon> wait [08:22:43] <Landon> you're trying to relay with another server? [08:22:49] <Landon> you have to put that servers [08:23:00] <Landon> IP in mynetworks if I'm understanding this right [08:24:14] <dinar> i think i want it to be open for all servers: for all people can send here mails of course or i did not undertood how it works. [08:24:37] <Landon> well, you dont necessarily want it to relay for all servers [08:25:16] *** adaptr has quit IRC [08:25:22] <dinar> (how then anybody send mails here?) [08:25:27] *** adaptr has joined #postfix [08:26:17] <Landon> relay is different than sending mails [08:26:33] <Landon> http://en.wikipedia.org/wiki/Open_mail_relay [08:27:07] <dinar> (how then to enable mails to come?) [08:27:29] <dinar> (i did read about open relays) [08:28:29] <dinar> as i understood open relay is only when anybody can send to anybody using my server. [08:28:48] <Landon> yes [08:30:11] <Landon> mynetworks has nothing to do with ability for people to send you email [08:42:59] *** Internat has joined #postfix [08:44:01] <dinar> hello can you help with basic configuration [08:44:31] <dinar> http://rafb.net/p/LJvc2P98.html [08:48:19] <sahil> dinar: can you RTFM? [08:49:53] <dinar> should i search something in a long http://www.postfix.org/postconf.5.html ? [08:50:18] <Landon> !basic [08:50:18] <knoba> Landon: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [08:53:22] <dinar> i have found a thing. [08:53:43] <dinar> myhostname = dinar-desktop [08:53:54] <dinar> it is not correct i think [08:55:24] <sahil> no, it's not. [08:55:38] <sahil> good practice to make that FQDN. [08:58:24] <Haris__> I sent mail from LAN for a production mail server. I see 3 lines. one for postfix/smtpd, one for postfix/cleanup and one for postfix/qmgr [08:58:34] <Haris__> does that mean postfix has totally skipped the content filter? [08:58:39] <Haris__> before sending mail out [08:58:43] *** Haris__ is now known as Haris [08:59:11] <sahil> Haris: show postconf -n (see topic). in that paste, also paste the logs that you're talking about. [08:59:17] *** j_s has joined #postfix [08:59:18] <dinar> and also i added mydomain = domain.dom [08:59:32] <sahil> dinar: please _read_ the basic documentation. [09:02:43] <dinar> ok it still does not work (i have tried to send one more time) [09:05:05] <Haris> http://pastebin.ca/1091566 [09:06:07] <Haris> its been 50000 lines in the log since then in a few minutes [09:06:15] <Haris> but I still haven't received that mail [09:07:51] <dinar> only the thing in http://www.postfix.org/BASIC_CONFIGURATION_README.html what can be incorrect is related with "Running Postfix daemon processes chrooted" i think [09:07:58] <Haris> I see the error [09:07:58] <sysmonk> noobattack at #postfix [09:08:05] <Haris> its on the amavis-new box [09:08:09] <Haris> clamd fails [09:08:21] <Haris> rather amavis fails to connect to clamd's socket [09:08:55] <dinar> i mean not correct in my configuration [09:08:55] <Haris> sysmonk: I was just going to say .. ** [09:09:04] <Haris> I am not a n00b [09:09:06] <Haris> :@ [09:09:19] <Haris> I just panic alot [09:09:46] <sysmonk> i wasn't refering to you only [09:10:15] <Haris> Well, I know [09:10:29] <Haris> but I certainly don't deserve to be part of that list :| [09:10:37] <sysmonk> mm, and i have 'dinar' on my ignore list [09:10:48] <Haris> content_filter is failing, that's why outgoing is not working [09:10:55] <Haris> I did find that out on my own :| [09:11:13] <dinar> so he does not see me? [09:11:13] <sysmonk> Haris: we... congrats ;) [09:11:50] <dinar> do you see me? [09:12:03] <Haris> Yes, I do dinar [09:12:27] <dinar> does sysmonk? [09:12:29] <Haris> http://pastebin.ca/1091573 [09:12:39] <Haris> ok, so here's the clamav version listing on lenny [09:12:45] <sahil> Haris: i don't see any errors in the first pastebin. [09:12:47] <Haris> and the libclamav warning I get from clamav [09:13:57] <sahil> this is not #clamav. [09:14:09] <sysmonk> Haris: that's debian? [09:14:11] <Haris> sahil: Thankyou for pointing that out [09:14:14] <sahil> and debian... *cringe* [09:14:24] <sysmonk> sahil: yeah, more for #debian than for #clamav [09:14:27] <Haris> sysmonk: well, what do you expect? lol. Yes it is [09:14:33] <sysmonk> and, by the way, debian is ... um.... OLD [09:14:37] <sysmonk> i mean, their release cycle's suck [09:14:41] <Haris> I'm asking in clamav [09:14:53] <sysmonk> so if you're using "debian stable" then you're using "debian 100 years old software" [09:15:03] <Haris> I just wish, someone here had some experience [09:15:06] <sysmonk> so nothing special about clamav being pre-historic [09:15:10] <Haris> lenny/sid are not debian stable [09:15:14] <Haris> they are unstable/testing [09:15:16] <sahil> Haris: anyway you should find evidence that messages are at least TRYING to go to the content_filter you define in main.cf. by the way, we still haven't seen your postconf -n output, have we? [09:15:19] <sysmonk> Haris: believe me, i don't know those names [09:15:21] <sysmonk> i hate debian [09:15:22] <sysmonk> i don't use debian [09:15:26] <sysmonk> i don't use lunix at all [09:15:26] <sysmonk> ;) [09:15:27] <Landon> computer years, like dog years, but in a 100:1 ratio [09:15:29] * sahil neither [09:15:31] <Haris> I am not far from it either [09:15:33] <sahil> FreeBSD FTW! [09:15:38] <Haris> but, I don't hate it just yet [09:15:42] <sysmonk> yeah, FreeBSD ftw! [09:16:08] *** stephelton has joined #postfix [09:16:12] <stephelton> i've changed my postfix config to accomodate virtual hosting. i've migrated my old user account which seems to work well except that when i receive mail it tells me that that user is over quota. i've updated the corresponding sql entry for quota to be 2147483648, which by my calculation is 2 gb. am i missing something? [09:16:22] <Haris> I agree about freebsd [09:16:55] <sahil> stephelton: postfix doesn't do quota, does it? [09:16:55] <Haris> its a shame most datacenters in the US are removing freebsd as an offer for server OS [09:16:55] <sysmonk> stephelton: postfix doesn't have such functionality [09:16:56] <sahil> # postconf -d | grep quota [09:16:59] <sahil> # [09:17:01] <sysmonk> it doesn't [09:17:02] <sahil> hmm... [09:17:07] <sahil> _interesting_ [09:17:07] <sysmonk> it has the quota patch [09:17:12] <sysmonk> which is 3rd party software [09:17:14] <sysmonk> !quota [09:17:15] <knoba> sysmonk: Error: "quota" is not a valid command. [09:17:17] <sahil> :P [09:17:19] <dinar> i have modified master.cf [09:17:27] <sahil> i was trying to be a tad bit sarcastic. guess it didn't work! [09:17:30] <dinar> and it still does not work [09:17:31] <sysmonk> one moment, i'll find teh f*cking patch [09:17:56] <sahil> Haris: that sounds like little more than FUD. [09:18:02] <Haris> fud? [09:18:12] <sahil> google it, homie. [09:18:31] <dinar> modified as in https://help.ubuntu.com/7.10/server/C/postfix.html [09:18:41] <dinar> can you help me? [09:18:46] <sysmonk> homie :P [09:18:48] <dinar> mails do not come here [09:19:14] <stephelton> sysmonk: sahil: i have a log entry starting with "postfix/virtual: .....Sorry that user's maildir has overdrawn his diskspace quota' [09:19:41] <Haris> well, most of my customers show me a list of OSs their host gives them. And well, its just not there [09:20:07] <stephelton> the quota funcationality is a patch/plugin you say? [09:20:21] <sahil> stephelton: purportedly; i know it is not a postfix feature. [09:20:22] <sysmonk> stephelton: yes [09:20:34] * sahil does not enforce quotas. disk space is cheap. [09:20:34] <sysmonk> postfix doesn't have quota functionality [09:20:43] <dinar> http://rafb.net/p/LJvc2P98.html [09:21:08] * sysmonk loans some disk space from sahil [09:21:10] <dinar> i added to it mydomain and hostname and removed ipv6 address [09:21:25] <stephelton> yeah, screw quotas, not even worth my time here dammit [09:21:26] * sahil throws sysmonk a seagate [09:21:58] <sysmonk> doh, what'll i do with one seagate? [09:22:04] <sysmonk> i'd need 4 of em [09:22:33] <sahil> dinar: what is the IP of the machine on which you're trying to configure postfix? [09:22:51] * sahil considers ignoring dinar [09:22:56] <dinar> 89.232.85.48 [09:22:59] <sysmonk> sahil: he's on my ignore list already [09:23:01] <sahil> wow it's past 3am, jeez. [09:23:03] <sysmonk> for a few days maybe [09:23:07] <sahil> rofl [09:24:11] <sysmonk> 01/#postfix.log:2008-08-01 20:00:39 * sysmonk ignores dinar [09:24:14] <sahil> dinar: i can connect to your server; it doesn't allow EHLO which is lame-o, but it is working. [09:24:16] <sysmonk> yup, few days :) [09:27:39] <sahil> ugh, every service allegedly uses tcp/udp, what must my firewall do?! [09:28:17] <sysmonk> 1? [09:28:22] <sysmonk> s/1// [09:28:44] <sahil> sorry, disregard my rambling. [09:29:01] <sysmonk> k, s/.*// [09:29:02] <sysmonk> ;) [09:30:25] <sahil> haha [09:30:28] <sahil> nicely done. [09:37:15] *** Regio29Houston has joined #postfix [09:38:36] *** Tykling has joined #postfix [09:41:11] <dinar> hello can you help me with basic configuration? [09:41:26] <sahil> dinar: not if you continue asking in vagaries without providing the requisite info. [09:42:21] <dinar> new main.cf: http://rafb.net/p/vluFc558.html [09:46:58] *** alienbrain has joined #postfix [09:48:03] *** F6F has joined #postfix [09:48:12] <dinar> can you help me with basic configuration [09:48:14] <dinar> ? [09:48:38] <dinar> i can send but cannod receive mails [09:49:13] <sahil> dinar: what do your logs say? [09:50:29] <sahil> what's up with kukmara.ru.? [09:50:34] <sahil> that trailing dot is no good; delete it. [09:52:16] <sahil> dinar: that trailing slash is likely a problem; also why not make that part of mydestination = $mydomain instead of re-writing kukmara.ru and making that typo? [09:53:54] <dinar> mail.log: http://rafb.net/p/X91IVh21.html [09:56:05] <sahil> dinar: like i said, postfix does not think kukmara.ru is one of your mydestination domains because you made a typo! [09:56:31] <sahil> dinar: kukmara.ru != kukmara.ru. [09:56:47] *** adaptr has quit IRC [09:56:49] <dinar> i think that dpkg wrote [09:56:58] *** adaptr has joined #postfix [09:57:01] <dinar> dpkg wrote that [09:57:34] <sahil> dinar: omfg. just edit your main.cf and _remove_ that extra period after kukumara.ru then postfix reload and try sending mail again. [09:57:46] *** adaptr has quit IRC [09:58:14] *** war9407 has joined #postfix [09:58:17] <dinar> i just wrote mydestination = $mydomain what if so [09:58:30] <sahil> ok [09:58:32] <sahil> and did you postfix reload? [09:58:36] <sahil> try to send mail now. [09:58:38] <dinar> no [09:58:44] <sahil> well, do that. [09:58:48] <dinar> ok i just removed dot [09:58:53] <sahil> and pastebin your main.cf again [09:58:59] <sahil> ok postfix reload [09:59:10] <sahil> after you make changes to main.cf you must always postfix reload. [09:59:50] <sysmonk> sahil: and even better - restart [09:59:56] <sahil> there are exceptions to everything, but assume that to be the case for you dinar. [10:00:01] <sysmonk> and ignore dinar :P [10:00:03] <sahil> haha [10:00:30] <sahil> the guy had a freaking typo after his domain name in mydestination, blames dpkg for it, and is wondering why maillog is telling clients relay access denied. [10:00:38] <dinar> ok! [10:00:57] <dinar> error message have not came this time [10:01:00] <sysmonk> never ever use dpkg* :) [10:01:05] <sahil> 04:01 < dinar> error message have not came this time [10:01:10] <dinar> come [10:01:12] <sahil> fscking finally! [10:01:25] <dinar> ? [10:01:40] <sahil> dinar: now please, stop flooding this channel. [10:01:59] *** adaptr has joined #postfix [10:02:48] <sahil> ok, zZz. [10:02:51] <sahil> later sysmonk. [10:04:36] <sysmonk> later, goodnight :) [10:05:25] *** Regio29Houston has quit IRC [10:05:49] <dinar> http://rafb.net/p/5MHnoQ91.html [10:06:05] *** Motoko-chan has quit IRC [10:06:57] *** remo has joined #postfix [10:07:51] *** remo has quit IRC [10:10:28] *** rcsu_ has quit IRC [10:10:37] <dinar> thanks [10:12:23] *** Internat has quit IRC [10:15:19] *** rcsu has joined #postfix [10:17:43] <Haris> ok, amavis-new and clamav are working [10:27:23] *** rootsvr has joined #postfix [10:59:29] *** Internat has joined #postfix [11:02:05] *** rootsvr has quit IRC [11:09:45] *** bondoer has joined #postfix [11:13:30] <bondoer> hi all, is there some advised way to measure the troughput of postfix after queue content filter? [11:14:26] <sysmonk> bondoer: ummm, not really, mails can be different and it might be able to do 100 simple mails / s but only 20 "advanced" mails / s [11:14:40] <bondoer> i am generating email communication through smtp-source, but I don;t know how to get exact numbers like how many msgs/s can go through Postfix+Content_filter or how much does that additional cnotent filter consume system resources [11:14:58] <sysmonk> i.e. if i'll send you a plain text mail with 'hello world' inside - it's a LOT different than a email with 10 attachments with archives and images and etc [11:15:11] <bondoer> i want to test stress conditions [11:15:22] <bondoer> like hundreds of 10MB mail and so on [11:15:40] <sysmonk> yeah [11:15:53] <sysmonk> dunno, try sending them and looking at how fast your queue grows [11:16:09] <bondoer> eg. i found one benchmakr result on this page http://www.isode.com/whitepapers/spamassassin-benchmark.html but they dont mention how they did it [11:17:13] <sysmonk> bondoer: 1. it doesn't mention _after_ queue [11:17:36] <sysmonk> 2. it's commerce, numbers might be mungled and i woudln't believe it [11:18:45] <sysmonk> i.e. i don't believe the 8 messages / s with spamassassin [11:18:56] <bondoer> 1. its spamassassin, as far as i know spamassassin is after queue [11:19:01] <bondoer> 2. i know :) [11:19:12] <sysmonk> bondoer: spamassassin might be used _before_ queue [11:19:40] <bondoer> yea, youre right [11:20:48] <sysmonk> you could ... send 1000 mails [11:21:03] <sysmonk> and check the 1. start of sending time 2. end of delivery of all emails [11:21:19] <sysmonk> and then 1000 / (end_of_time-start_of_time) [11:24:06] <bondoer> yea i would have to do it this way [11:24:41] <bondoer> tank you ;) [11:24:45] <bondoer> thank you ;) [11:26:11] *** internat1 has joined #postfix [11:41:06] *** Internat has quit IRC [11:42:32] <bondoer> ohh one more question [11:42:47] <bondoer> i cannot find explanation for these values which are in my mail.log [11:42:57] <bondoer> relay=filter, delay=4.6, delays=4.6/0/0/0.01, dsn=2.0.0 [11:43:11] <bondoer> relay is of course clear :) [11:47:18] <shasta> delay=a+b+c+d where delays=a/b/c/d, see http://www.postfix.org/postconf.5.html#delay_logging_resolution_limit [11:47:47] *** Jense has joined #postfix [11:48:30] *** pirho has joined #postfix [11:52:40] <bondoer> ohhh great, thanks [11:55:08] *** Azrael_- has quit IRC [12:00:00] *** pirho has quit IRC [12:01:13] *** pirho has joined #postfix [12:05:20] *** Zeit|awy has joined #postfix [12:35:28] *** Fallenou has joined #postfix [12:41:22] *** internat1 has quit IRC [12:42:06] *** jelly has joined #postfix [12:48:24] *** Draecos has joined #postfix [12:50:55] *** diveli has joined #postfix [12:51:55] *** dusty has quit IRC [13:03:18] *** CVirus has joined #postfix [13:03:37] *** CVirus has left #postfix [13:04:27] *** diveli has left #postfix [13:15:52] *** _Tino is now known as Tinozaure [13:43:53] *** F|oFF has quit IRC [13:45:03] *** dusty has joined #postfix [13:45:11] *** F|oFF has joined #postfix [13:51:12] *** punkpussy has joined #postfix [14:04:12] *** dinar has quit IRC [14:09:10] *** nikebsd1 has quit IRC [14:10:10] *** hparker has joined #postfix [14:13:57] *** quick_nick has joined #postfix [14:20:39] *** dusty has quit IRC [14:22:56] *** meshugga has quit IRC [14:23:02] *** meshugga has joined #postfix [14:24:41] *** madrescher has joined #postfix [14:28:58] *** meshugga has quit IRC [14:34:20] *** meshugga has joined #postfix [14:44:35] *** JoeWulf has quit IRC [14:48:49] *** CodemasterMM has joined #postfix [14:52:32] *** meshugga has quit IRC [14:59:11] *** Codemaster has quit IRC [15:05:46] *** meshugga has joined #postfix [15:15:40] *** meshugga has quit IRC [15:15:52] *** meshugga has joined #postfix [15:21:05] *** meshugga has quit IRC [15:22:37] *** meshugga has joined #postfix [15:28:42] *** hark has joined #postfix [15:28:53] *** Draecos has quit IRC [15:28:54] *** madrescher has quit IRC [15:36:02] *** Internat has joined #postfix [15:39:40] *** rootsvr has joined #postfix [15:39:51] *** adaptr has quit IRC [15:44:50] *** master_o1_master has joined #postfix [15:47:52] *** darkphader has joined #postfix [15:56:23] *** master_of_master has quit IRC [16:01:22] *** hparker has quit IRC [16:04:48] *** Juspion has joined #postfix [16:07:35] *** rootsvr has quit IRC [16:09:30] *** meshugga has quit IRC [16:19:07] *** FluxboXtremist has joined #postfix [16:29:19] *** meshugga has joined #postfix [16:33:38] <idle-boy> i want to configure postfix to let send emails using 2 ips and 2 diff. domains, i used the following: [16:33:45] <idle-boy> ipaddressX:smtp inet n - n - - smtpd -o myhostname=hostname [16:34:09] <idle-boy> it's now listen to two IP, but still show myorigin as the first ip hostname [16:34:24] <idle-boy> is it possible to change myorigin using this way ? [16:45:29] *** Haris__ has joined #postfix [16:45:40] *** madduck has quit IRC [16:53:59] *** McJerry has quit IRC [16:55:46] *** lysander_ has joined #postfix [17:00:31] *** darkphader has quit IRC [17:00:39] *** c00l2sv has quit IRC [17:01:25] <lysander_> whois lysander [17:01:28] <lysander_> bleh [17:01:35] *** lysander_ is now known as isxander [17:02:37] *** lysander has quit IRC [17:03:12] *** Haris has quit IRC [17:08:34] <javagamer> If I want to have a catch-all address for javagamer.net, should I move javagamer.net to virtual_alias_domains and just add an @javagamer.net address to /etc/postfix/virtual?\ [17:10:53] *** madrescher has joined #postfix [17:17:20] *** isxander is now known as lysander [17:17:56] *** lysander has joined #postfix [17:20:17] *** magyar has quit IRC [17:21:53] *** penrod has quit IRC [17:22:04] *** magyar has joined #postfix [17:25:40] *** hark_ has joined #postfix [17:26:20] *** hark has quit IRC [17:27:46] *** master_o1_master is now known as master_of_master [17:32:34] *** punkpussy has quit IRC [17:34:34] *** dusty has joined #postfix [17:35:20] *** dusty has quit IRC [17:36:53] *** c00l2sv has joined #postfix [17:37:39] *** Haris__ is now known as Haris [17:43:17] *** Fallenou[oqp] has joined #postfix [17:43:26] *** Fallenou has quit IRC [17:50:24] *** Fallenou[oqp] is now known as Fallenou [17:51:45] *** dusty has joined #postfix [18:02:05] *** pirho has quit IRC [18:02:34] *** pirho has joined #postfix [18:15:13] *** devdas has joined #postfix [18:34:03] *** dinar has joined #postfix [18:38:09] *** quick_nick has quit IRC [18:42:29] *** lennard_ has quit IRC [18:49:46] *** picachu has joined #postfix [18:50:10] *** madrescher has quit IRC [18:50:15] *** Danskmand1 has joined #postfix [18:51:56] *** ayeuu has joined #postfix [18:52:23] <picachu> hey. I want to deliver spam email into Cyrus Trash folder, how do I make it with Postfix ? I have virtual maps that outputs the destination ${user}, which is actually the name of folder. But for messages, having SPAM in their header I want ${user} to be ${user}.Trash. [18:52:58] <Landon> prcomail? [18:53:01] <Landon> procmail* [18:53:05] <picachu> spam tagging is done in smtpd_recipient_restrictions by check_recipient_access rule [18:53:13] <picachu> no, don't want to use another program [18:57:46] <Landon> not a guru at this, but postfix doesnt seem the place to be shuffling your mail around [18:57:55] <Landon> what's your mailbox_command ? [18:59:31] <ayeuu> hi, is there a way to specify actions for outgoing mails using port 25 please ? (for exemple, scanning only the outgouing mails to see if there is a pgp key) [18:59:53] <javagamer> If I want to have a catch-all address for javagamer.net, should I move javagamer.net to virtual_alias_domains and just add an @javagamer.net address to /etc/postfix/virtual? [19:01:42] *** alienbrain has quit IRC [19:03:59] <Danskmand1> Aloha :-) - I got a installation of postfix running on my firewall. In my DMZ I have a mailserver (Lotus Domino). Now I want postfix to act as a relay host for my Dominoserver for SMTP, since Domino is not relay-safe...In the installation on my firewall (its called ipfire), there's a package that includes amavisd, clamav, cyrus-imapd, cyrus-sasl, mysql, openmailadmin, postfix, spamassassin. I guess the setup should allready be working (al [19:04:53] <devdas> picachu: sieve [19:04:55] <Landon> Danskmand1: your message got cut off at " allready be working (al [19:05:04] <devdas> ayeuu: content_filter [19:05:36] <Danskmand1> Oh :-) - Sorry ! - " I guess the setup should allready be working (allthough I am not sure), but of course I had to adjust some of the main.cf - has someone allready done what I wanna do ?" [19:05:44] <ayeuu> devdas: but if i use a content_filter on 25 port, it will filter all emails, not only outgoing [19:06:13] <devdas> ayeuu: not necessarily [19:06:19] <devdas> !transport_maps [19:06:19] <knoba> devdas: "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. [19:06:29] <ayeuu> hum [19:06:37] <picachu> devdas, yep, good suggestion [19:06:38] *** picachu has quit IRC [19:08:52] <Danskmand1> Or, said in a different way, I think I made the config in main.cf right, but I am not sure.....Maybe someone can have a look at it ? [19:09:28] <ayeuu> devdas: thx, i'll try another way (don't like to put xxxxx things in transport_maps) [19:09:32] *** Juspion has quit IRC [19:13:33] *** pirho_ has joined #postfix [19:16:42] <Danskmand1> Cannot help me with my poblem ? [19:17:14] <Danskmand1> I could pastebin my main.cf ..... [19:17:23] <devdas> Danskmand1, postconf -n [19:17:32] <Danskmand1> Oh, ok.... [19:19:54] *** toytoy has quit IRC [19:21:53] <Danskmand1> http://pastebin.com/d6ba834f4 [19:22:46] *** roe- is now known as roe_ [19:26:10] <devdas> Actually, your package set is bog standard [19:27:12] <Danskmand1> Hmm....Do you mean its ok like it is ? [19:27:39] <Danskmand1> Or what does bog standard mean ? [19:30:11] <shasta> 'bog' might be 'not' with left hand position shifted ;) [19:31:25] *** pirho has quit IRC [19:32:04] <Danskmand1> Oh, ok.....But what do I need to change ? - where is my mistake ? [19:32:15] <devdas> "bog standard" == standarised, extremely common [19:32:23] *** devdas has left #postfix [19:34:31] <Danskmand1> When I do a telnet on port 25 to the Server (192.168.4.1) from 192.168.4.3, I get a timeout....I am not sure if this is because of the firewall or because of wrong postfix configuration.... [19:35:21] <Landon> you might want to use netstat to see if postfix is indeed listening on port 25 [19:35:40] <Landon> I usually use netstat -al ,but theres probably a better way since that shows a ton of unnecessary lines [19:36:01] *** Tykling has left #postfix [19:45:23] *** `ph8 has joined #postfix [19:45:44] <`ph8> hi all, i'm toying with the idea of seperating out attachments for storage in another part of the filesystem - does that sound as massively difficult as i think? [19:46:28] <sysmonk> not, if your lda supports it ;) [19:46:42] <sysmonk> in other words - it's not a question for #postfix [19:47:02] <sysmonk> it's a question for your LDA/imap/pop3 implementation [19:47:23] <`ph8> well they'd have to be split out on receipt? [19:47:25] <`ph8> oh i see what you mean [19:47:39] <`ph8> so i could build my own LDA [19:47:44] <`ph8> but then i'd need a supporting imap server [19:47:44] <sysmonk> yes [19:47:47] <`ph8> don't suppose there are any of those around? [19:47:48] <sysmonk> yes [19:47:48] <`ph8> :p [19:47:52] <sysmonk> dunno [19:47:56] <`ph8> don't much fancy having to recode an imap server [19:53:34] <higuita> trying to do that in the smtp part would both be dificult and you would need to mess with pop3/imap also, to fetch the email and the attachment [19:54:29] <higuita> many archiving soluctions do what you want, even better, they keep only one copy of the attachment when multiple user receive it [19:57:12] <sysmonk> higuita: email, not attachment [19:57:24] <sysmonk> at least afaik [19:58:00] <sysmonk> and not on the smtp part, smtp doesn't do anything, it's lda which needs to 'split' that [19:58:09] <sysmonk> and yeah, imap/pop3/whatever server would need to know how to 'use' that [19:58:26] <higuita> depends on the soluction, some can detect the same attachment in different mails (via a md5 hash or something) [19:59:51] *** deftunix has joined #postfix [20:06:06] *** jeffspeff has quit IRC [20:09:59] *** magyar has quit IRC [20:11:48] *** magyar has joined #postfix [20:35:11] *** deftunix has quit IRC [20:46:07] *** toytoy has joined #postfix [20:49:03] *** AcTiVaTe has joined #postfix [20:49:45] <AcTiVaTe> Hey all. Just a few questions to see if I get it all [20:50:07] <AcTiVaTe> When a mail gets delivered to Maildir/new when does it go to Maildir/cur ? [20:50:27] <`ph8> AcTiVaTe, when it's read i believe [20:50:49] <AcTiVaTe> Coz I am having an issue with a user from which I can see mail coming in to new but after he retrieves with his client (with "leave mail on server" enabled) the mails from new are not in cur [20:51:27] <AcTiVaTe> Or is this a pop3 client issue? [20:51:51] <AcTiVaTe> Or pop3 server even? I'm kinda clueless atm [20:52:43] <AcTiVaTe> Because senders don't get an error message but the user never gets the emails for some reason. And I can see them coming into Maildir/new and I see the message in the log saying "delivered to maildir" [20:53:22] <`ph8> as far as i know marking things as 'read' is an IMAP thing [20:53:26] <`ph8> on pop it's probably managed by the user's client [20:53:32] <`ph8> which of course doesn't reflect back to the server [20:54:04] <`ph8> thinks like courier-pop and dovecot understand maildir format and check it properly though no? [20:54:13] <`ph8> presumably your pop3 server should be checking the right folders [21:00:05] *** tombar has joined #postfix [21:03:25] *** `ph8 has quit IRC [21:06:15] <roe_> AcTiVaTe, this is a pop issue [21:06:35] <roe_> most likely there is a second account setup that isn't configured to leave messages on server [21:06:52] <roe_> but investigating the pop side of your mail server would be the best bet [21:16:01] <AcTiVaTe> because of problems I set his mails to be forwarded to his ISP too. But now am getting an Undelivered mail back with his message. http://pastebin.com/m1108add [21:16:08] <AcTiVaTe> What do I have misconfigured? [21:16:59] *** Juspion has joined #postfix [21:18:26] <AcTiVaTe> Hmz, guessing it's either the HELO checks or my postgrey setup. [21:23:53] <roe_> you would be incorrect [21:24:39] *** Juspion has quit IRC [21:24:40] <roe_> postgrey and your helo checks impact mail that your postfix setup is receiving. This mail looks like whatever information you are providing the ISP's mail server is crappy [21:26:31] *** hever has joined #postfix [21:34:37] *** alienbrain has joined #postfix [21:52:53] *** c00l2sv has quit IRC [21:59:57] <Haris> !relay [21:59:58] <knoba> Haris: Error: "relay" is not a valid command. [22:00:02] <Haris> Hello people [22:00:07] <Haris> How do I enable relay to remote domains? [22:00:12] <Haris> I have a postfix+mysql setup [22:01:03] <Haris> mynetworks = 127.0.0.0/8, other-ip-range, other-ip-range1, other-ip-range2 [22:01:11] <Haris> smtpd_recipient_restrictions = permit_mynetworks, check_recipient_access mysql:/etc/postfix/mysql_check_sender_access.cf, check_sender_access mysql:/etc/postfix/mysql_check_sender_access.cf, reject_unknown_sender_domain, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_invalid_hostname, reject [22:01:24] <Haris> isn't this enough to make it relay to remote domains? [22:03:26] <war9407> show the logs? [22:04:06] <Haris> well [22:04:09] <Haris> all incomming is working [22:04:12] <Haris> no outgoing activity at all [22:04:22] <Haris> there's nothing to show for outgoing [22:07:58] <Haris> ok, confirmed, incomming is working [22:08:00] <Haris> outgoing is not [22:09:38] <Haris> relayhost is se to nothing [22:09:39] <Haris> set+ [22:09:50] <Haris> relay_domains = $mydestination [22:10:13] <Haris> mydestination however, however doesn't have anything assigned to it [22:12:49] <Haris> damn, I found it on my own again [22:12:50] <Haris> hehe [22:12:52] <Haris> mydestination! [22:15:32] <Haris> should I put all locally hosted domains in $mydestination ? [22:22:45] *** magyar has quit IRC [22:23:08] *** magyar has joined #postfix [22:24:11] *** rcsu has quit IRC [22:31:54] *** tokam_one has joined #postfix [22:32:04] <tokam_one> hi can i only send mails with postfix? [22:32:15] <tokam_one> do i need procmail do recieve some? [22:32:25] <Landon> you receive with postfix as well [22:32:40] <Landon> procmail is pretty much just a sorter once you receive them [22:33:26] *** tcoppi has joined #postfix [22:33:43] *** rootsvr has joined #postfix [22:35:11] *** alienbrain has quit IRC [22:46:15] <sahil> tokam_one: um, procmail *processes* mail (hence the "proc"). [22:46:43] <Haris> well [22:46:48] <Haris> outgoing is working [22:47:07] <Haris> although most mail is ending up in junk/bulk folders [22:47:15] <Haris> ..but .. outgoing is working [22:47:20] <tokam_one> does postfix need sendmail? [22:47:30] <Haris> no it doesn't [22:47:32] <tokam_one> or is postfix a replacement for sendmail [22:47:37] <Haris> it uses its own binaries to replace sendmail [22:47:51] *** tombar_ has joined #postfix [22:47:54] <tokam_one> Haris, why should i add a path to sendmail in the postfix config file? [22:48:08] <tokam_one> line 614 [22:48:14] <Haris> paste the line [22:48:19] <tokam_one> sendmail_path = /usr/sbin/sendmail [22:48:45] <tokam_one> the problem is, that there isnt a sendmail on my os installed [22:48:57] <tokam_one> sendmail and postfix blocks each other on gentoo [22:49:02] <Haris> I have sendmail_path = /usr/sbin/sendmail.postfix [22:49:38] <Haris> # The following parameters are used when installing a new Postfix version. [22:49:38] <Haris> # [22:49:38] <Haris> # sendmail_path: The full pathname of the Postfix sendmail command. [22:49:38] <Haris> # This is the Sendmail-compatible mail posting interface. [22:49:41] <tokam_one> mhh [22:50:05] <tokam_one> i dont have these directory but under /usr(sbin i found some sendmail stuff [22:50:07] <Haris> alot of unix systems use sendmail compatible emailing [22:50:13] <Haris> so postfix provides a compatible interface [22:50:31] <Haris> I have to hit the sac [22:50:35] <Haris> others can take over from here [22:50:38] <Haris> later people [22:50:59] <tokam_one> should i add sbin sendmail to there? [22:51:23] <tokam_one> ahh sbin is written there not bin ok [22:52:43] *** pirho_ has quit IRC [22:56:45] *** rootsvr has quit IRC [22:59:20] *** c00l2sv has joined #postfix [23:02:37] *** adaptr has joined #postfix [23:05:34] *** tombar has quit IRC [23:08:44] *** deftunix has joined #postfix [23:10:32] *** Zblakany has joined #postfix [23:13:54] *** deftunix has quit IRC [23:24:27] *** tcoppi has left #postfix [23:24:58] *** Tinozaure is now known as _Tino [23:25:00] *** _Tino is now known as Tinozaure [23:27:10] <tokam_one> how to set up my own postfix password? [23:27:35] *** rootsvr has joined #postfix [23:28:28] <Landon> ? [23:29:07] *** j_s has quit IRC [23:29:10] *** AcTiVaTe has quit IRC [23:29:18] <tokam_one> is there a tool to configurate postfix? [23:29:27] <tokam_one> hate alle these configfiles :) [23:31:41] *** Captain has joined #postfix [23:31:57] <Landon> just follow the basics guide [23:32:19] <Landon> or your beloved gentoo wiki [23:35:39] <tokam_one> yes i did what was written down in the english gentoo wiki [23:35:43] <tokam_one> but it was hard to follow [23:35:52] <tokam_one> i want to have my logins in my mysql db [23:52:31] *** chadmaynard has quit IRC [23:58:07] <Danskmand1> Hi :-) - I've been told before here that my setup is pretty normal (after posting postconf in http://pastebin.com/d6ba834f4). But that doesnt really tell me whats wrong or where my problem lies....The postfix is running on my firewall box and when I try to send mails from my DMZ, I get a timeout....Doing a netstat -an, I see that something is listening on port 25...What could be wrong ? [23:59:03] *** Fallenou has quit IRC