mail queue
Hi all I need to manage message in hold queue according to domain of recipient address. How can I do that ? I thought of edit mailq command but it's not readable when I tried to edit .any suggestions?
postfix and DNs server
Hi all I am using postfix 2.8.4 on centos 5.8 and recently I installed bind9 on the same server to have my own DNS server. I didn't change MX record of mail server as I am still testing configuration and newbie but I noticed that outgoing mails stopped being delivered and I don't know why as I don't change anything in postfix or MX records what may cause that? Regards
RE: postfix and DNs server
Amira Othman: Hi all I am using postfix 2.8.4 on centos 5.8 and recently I installed bind9 on the same server to have my own DNS server. I didn't change MX record of mail server as I am still testing configuration and newbie but I noticed that outgoing mails stopped being delivered and I don't know why as I don't change anything in postfix or MX records what may cause that? Postfix logs all attempts to send or receive mail, whether or not these attempts are successful. I suggest you look there first. Wietse This is log error from=a.oth...@cairosource.com, size=11908, nrcpt=1 (queue active) May 28 10:20:28 cairosource postfix/smtp[32092]: AC8596E684AB: to=test_ca...@yahoo.com, relay=mx01.hmc1.comcast.net[76.96.53.13]:25, delay=2.1, delays=1.9/0.02/0.24/0, dsn=4.0.0, status=deferred (host mx01.hmc1.comcast.net[76.96.53.13] refused to talk to me: 554 imta01.westchester.pa.hmc1.comcast.net bizsmtp x.x.x.x Comcast requires that all mail servers must have a PTR record with a valid Reverse DNS entry. Currently your mail server does not fill that requirement. For more information, refer to:http://worknetkc.st.comcastsupport.com/sdccommon/asp/defcontent_view.asp? ssfromlink=truesprt_cid=bb859780-1131-4fbf-b307-4798d1e628f0) My resolve.conf contains just nameserver 127.0.0.1 and I didn't setup reverse DNS yet. But MX record of this domain is not on my DNS it's another DNS server.
limit access to postfix
Hi all I am using postfix 2.8.4 configured with 3 instances each one has its own ip. I need to prevent using each instance by users of other instances but I don't know what to change. Mynetworks configuration is ip range which contains the 3 ips .how to limit each instance to its ip. Regards
RE: limit access to postfix
Am 14.05.2012 12:54, schrieb Amira Othman: Hi all I am using postfix 2.8.4 configured with 3 instances each one has its own ip. I need to prevent using each instance by users of other instances but I don't know what to change. Mynetworks configuration is ip range which contains the 3 ips .how to limit each instance to its ip you have to change mynetworks why do you need the complete range? list single IPs there! I changed it to each one ip but still can send through ip that account isn't member of its domain
RE: limit access to postfix
Am 14.05.2012 12:54, schrieb Amira Othman: Hi all I am using postfix 2.8.4 configured with 3 instances each one has its own ip. I need to prevent using each instance by users of other instances but I don't know what to change. Mynetworks configuration is ip range which contains the 3 ips .how to limit each instance to its ip you have to change mynetworks why do you need the complete range? list single IPs there! I changed it to each one ip but still can send through ip that account isn't member of its domain without authentication? have you configured SASL auth? if no take down the server and go back to docs! I have auth. And this is restrictions I have: smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination reject_unknown_recipient_domain It rejects user that's not authenticated but for authenticated users it can send for all 3 ips
RE: limit access to postfix
Am 14.05.2012 13:20, schrieb Amira Othman: you have to change mynetworks why do you need the complete range? list single IPs there! I changed it to each one ip but still can send through ip that account isn't member of its domain without authentication? have you configured SASL auth? if no take down the server and go back to docs! I have auth. And this is restrictions I have: smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination reject_unknown_recipient_domain It rejects user that's not authenticated but for authenticated users it can send for all 3 ips i do REALLY not understand your problem it can send for all 3 ips can mean anything if you mean IP1 can send over IP2 with Auth - expected behavior! please give configuration infos as statet in the welcome message and decribe your real problem by showing us relevant parts of your maillog http://www.postfix.org/DEBUG_README.html what I meant is that if I have us...@domain1.com for ip1 and us...@domain2.com for ip2 when I telnet ip1 port 25 and type mail from: us...@domain2.com and rcpt to: whatever I got in log of instance 1 (ip1) user2@domain2 sent mail which supposed to use instance 2 with its ip the same happen when connecting through outlook if I used in mail server configuration the second instance data and user of first instance he can also send mails. How can I stop this?
RE: notification messages
Am 27.04.2012 17:53, schrieb Amira Othman: To control the path of non-delivery notifications, the proper procedure is to set an appropriate envelope sender (SMTP MAIL FROM) address. You will referred to the correct procedure no matter how many times you ask for an incorrect one. Wietse Ok I tried to change envelope sender from postfix configuration added the following mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME -t -f bou...@mydoamin.com but nothing change in log and the notification is sent to the user . is something missing ? yes, you are missing basics this has NOTHING to do with postfix-configuration the sender/envelope is controlled by the application sending mail I changes return path from application but it's now writing in log that mail from is the same mail for return path which is not correct in my case. How can I separate return path and mail from to be different
RE: notification messages
On 4/26/2012 10:46 AM, Amira Othman wrote: Hi all I am working on project that requires notification messages of delivery not to be sent to users. I asked before and you told me that it's not good idea to disable notifications so what I need now is to redirect all notifications for each domain to certain account and not to the actual sender. I tried header checks with null return path and other header info that is sent with notification but not working. I also tried virtual maps but it works for each individual user. I have 3 postfix instances running on same host, two of these instances are for two separate domains so what I need is to collect all notification messages (bounces) generated by each instance in one mailbox. How can I do that? regards Please describe the actual problem rather than asking how to implement a broken solution. I need to prevent all notification messages of a domain from being sent to outside users that sends mail through postfix. Because the application that push mails already handles bounces so no need of notification to be sent again to the actual sender -- Noel Jones
RE: notification messages
I need to prevent all notification messages of a domain from being sent to outside users that sends mail through postfix. Because the application that push mails already handles bounces so no need of notification to be sent again to the actual sender What you describe handles only mail delivery errors during the initial application-to-Postfix SMTP transaction. What you describe DOES NOT handle the delivery errors that will happen AFTER the initial SMTP transaction. To control the path of non-delivery notifications, the proper procedure is to set an appropriate envelope sender (SMTP MAIL FROM) address. You will referred to the correct procedure no matter how many times you ask for an incorrect one. Wietse Ok I tried to change envelope sender from postfix configuration added the following mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME -t -f bou...@mydoamin.com but nothing change in log and the notification is sent to the user . is something missing ?
notification messages
Hi all I am working on project that requires notification messages of delivery not to be sent to users. I asked before and you told me that it's not good idea to disable notifications so what I need now is to redirect all notifications for each domain to certain account and not to the actual sender. I tried header checks with null return path and other header info that is sent with notification but not working. I also tried virtual maps but it works for each individual user. I have 3 postfix instances running on same host, two of these instances are for two separate domains so what I need is to collect all notification messages (bounces) generated by each instance in one mailbox. How can I do that? regards
null sender rewrite
Hi all I need to rewrite from address for system notification messages because I have them in log file as follows: from=, and I want it to be written in log user@domain . how can I do that? Regards
RE: null sender rewrite
Hi all I am working on a project that sends mail through postfix, the user that will be sending mail shouldn't receive notification mail for every bounce or problem happen while sending mail, it's because I have user1@mydomain (postfix user) and user2@whatever(user not on my mail server) the latter user is original sender that always receive notification which I don't want to . I searched about disabling notification mails but I found that it's not a good solution so I am thinking of redirect notification message to account I have not to the user but I can't do that because the sender of notification is null so I need it to be user@domain and then redirect this to another account as I need. Regards
redirect null sender
Hi all I am building system that will send mails to list of users but I need to stop receiving error emails or redirect them to another account or /dev/null. I know it is bad idea but the application I am using will handle bounce mails so I don't need error email to be sent to the end user . Regards
RE: redirect null sender
* Amira Othman a.oth...@cairosource.com: Hi all I am building system that will send mails to list of users but I need to stop receiving error emails or redirect them to another account or /dev/null. I know it is bad idea but the application I am using will handle bounce mails so I don't need error email to be sent to the end user . If your application is handling bounce mails, why not send those to the application then? Otherwise it cannot handle them, can it? I don't know how to redirect them to because it's not in the format user@domain it's null sender .where can I add this if it's possible?
RE: redirect null sender
-Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Ralf Hildebrandt Sent: Wednesday, April 18, 2012 2:08 PM To: postfix-users@postfix.org Subject: Re: redirect null sender * Amira Othman a.oth...@cairosource.com: * Amira Othman a.oth...@cairosource.com: Hi all I am building system that will send mails to list of users but I need to stop receiving error emails or redirect them to another account or /dev/null. I know it is bad idea but the application I am using will handle bounce mails so I don't need error email to be sent to the end user . If your application is handling bounce mails, why not send those to the application then? Otherwise it cannot handle them, can it? I don't know how to redirect them to because it's not in the format user@domain it's null sender. the SENDER is null the recipient is ??? where can I add this if it's possible? The bounce goes back to the original sender. The usual way is this: When sending mail to ralf.hildebra...@charite.de, on would set the sender to: nameoflist-bounces+ralf.hildebrandt=charite...@sending.domain.com So, if mail to ralf.hildebra...@charite.de bounces, it goes back to nameoflist-bounces+ralf.hildebrandt=charite...@sending.domain.com, and by converting nameoflist-bounces+ralf.hildebrandt=charite.de back to ralf.hildebra...@charite.de the app knows which address bounced. But the original sender will not be user on my mail server .it will be any client that sends mail through application. I don't want client to receive bounces. How can I do that?
postfix multiple instances
Hi all I have configured two postfix instances and both are working but I need to list and delete messages in queue . I tried postsuper -d ALL but it didn't delete .how can I manage queue of the second instance Regards Amira Othman Server Administrator http://www.cairosource.com/ www.cairosource.com 6 EL Nil EL Abyad, Mohandiseen Cairo, Egypt Direct: +2 02 3303 7175 Mobile: +2 012 220 4165 The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. image001.jpg
smtp status code
Hi all I need to understand why bounced emails sometimes don't have smtp status code and is it available to add code for them? And also about emails that are delivered to mailbox they don't have status code ? Regards
Limit number of sent messages to specified domain
Hi all I am using postfix 2.8 and I want to limit number of messages that will be sent to certain domain as yahoo or hotmail. How can I do that? Regards
empty message id
Hi all I found in postfix log empty message id for email received. Is that mean I am receiving spam ? and how can I handle that? Regards
RE: empty message id
No everything is working fine. But I thought that every email is sent associated with unique message id. And I am using it in a script that parse log file to insert it to database. But now I have duplication in message id because of empty one . does every mail sent or received must have queue id so I can use it instead of message id? And is it unique ? * Amira Othman a.oth...@cairosource.com: Hi all I found in postfix log empty message id for email received. Yep, seen those too Is that mean I am receiving spam ? No, it means you're receiving mails with an empty message-id :) and how can I handle that? What is there to handle? Something not working? Dec 7 11:40:23 mail postfix/cleanup[26180]: 3SyxDR6fnNzFvmL: message-id= Dec 7 11:41:09 mail postfix/cleanup[26708]: 3SyxFK1S5TzFvml: message-id= Dec 7 11:44:51 mail postfix/cleanup[27202]: 3SyxKb3H7vzFvn0: message-id= Dec 7 11:45:06 mail postfix/cleanup[27719]: 3SyxKt0tmgzFvn0: message-id= Dec 7 11:45:24 mail postfix/cleanup[27837]: 3SyxLD2N7TzFvjb: message-id= Dec 7 11:45:24 mail postfix/cleanup[27719]: 3SyxLD2ThwzFvjl: message-id= Dec 7 11:45:32 mail postfix/cleanup[27719]: 3SyxLN5g79zFvjb: message-id= Dec 7 11:46:49 mail postfix/cleanup[27837]: 3SyxMs6YQKzFvjb: message-id= Dec 7 11:46:49 mail postfix/cleanup[28188]: 3SyxMs6svGzFvmL: message-id= -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de
postfix log
Hi all Is it possible to have postfix log to be written in database instead of file? If it's not possible could I copy some information out of log file and then insert them in database? regards
postfix multiple instances
Hi all I am using postfix 2.8 and I have configured two postfix instances. I want to display ip of sending domain in log . I tried smtp_bind_address but this didn't work. Any suggestions about this ? Regards
can't send mail between multiple postfix instances
Hi all I am using postfix 2.8 and I have configured two instances of postfix each of them uses different ip and domain . The two instances are running but when I try to send e-mail from one to another I get this error status=deferred (connect to myserver2.com[192.168.1.11]:25: Connection refused) The configurationm as follows: First Instance (postfix) alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix disable_dns_lookups = yes disable_vrfy_command = yes home_mailbox = Maildir/ html_directory = no inet_interfaces = 192.168.56.102,127.0.0.1 local_recipient_maps = proxy:unix:passwd.byname, $alias_maps,$virtual_mailbox_maps local_transport = local mail_owner = postfix mail_spool_directory = /var/spool/mail mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man multi_instance_directories = /etc/postfix-out multi_instance_enable = yes multi_instance_wrapper = ${command_directory}/postmulti -p -- mydestination = localhost mydomain = myserver.com myhostname = mail.mysever.com mynetworks = 192.168.56.0/24, 127.0.0.0/8 myorigin = $mydomain newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix readme_directory = no relay_domains = sample_directory = /etc/postfix sendmail_path = /usr/sbin/sendmail setgid_group = postdrop smtp_bind_address = 192.168.56.102 smtp_host_lookup = native smtpd_banner = $myhostname ESMTP smtpd_sasl_auth_enable = yes smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 450 virtual_alias_maps = hash:/etc/postfix/virtual virtual_gid_maps = static:501 virtual_mailbox_base = /home/vmail/ virtual_mailbox_domains = myserver.com,tech-vm.com virtual_mailbox_maps = hash:/etc/postfix/vmailbox virtual_minimum_uid = 500 virtual_transport = virtual virtual_uid_maps = static:501 Second instance (postfix-out) alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases authorized_submit_users = broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix-out/ daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix-out debug_peer_level = 2 disable_dns_lookups = yes disable_vrfy_command = yes home_mailbox = Maildir/ html_directory = no inet_interfaces = 192.168.1.11 local_recipient_maps = proxy:unix:passwd.byname, $alias_maps,$virtual_mailbox_maps local_transport = local mail_owner = postfix mail_spool_directory = /var/spool/mail mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man master_service_disable = inet multi_instance_enable = yes multi_instance_name = postfix-out mydestination = localhost mydomain = myserver2.com myhostname = mail.mysever2.com mynetworks = 192.168.1.0/24 myorigin = $mydomain newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix-out readme_directory = no relay_domains = sample_directory = /etc/postfix sendmail_path = /usr/sbin/sendmail setgid_group = postdrop smtp_bind_address = 192.168.1.11 smtp_host_lookup = native smtpd_banner = $myhostname ESMTP smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot transport_maps = hash:/etc/postfix-out/transport unknown_local_recipient_reject_code = 550 virtual_alias_maps = hash:/etc/postfix-out/virtual virtual_gid_maps = static:501 virtual_mailbox_base = /home/vmail/ virtual_mailbox_domains = myserver2.com virtual_mailbox_maps = hash:/etc/postfix-out/vmailbox virtual_minimum_uid = 500 virtual_transport = virtual virtual_uid_maps = static:501 regards
[no subject]
Hi all I am using postfxi 2.8 and I need display ip of domain sending mail . I tried by adding smtp_bind_address= ip and change inet_inetrfaces to that ip but nothing appears in log just ip of mail client only appear. Is there something missing with configuration? Regards
ip of sending domain
Hi all I am using postfxi 2.8 and I need display ip of domain sending mail . I tried by adding smtp_bind_address= ip and change inet_inetrfaces to that ip but nothing appears in log just ip of mail client only appear. Is there something missing with configuration? Regards
RE: ip of sending domain
I have 3 interfaces and I want to assign each domain I have different ip for using while sending and receiving. That's why I need to view ip in log to make sure it's using the correct interface I am using postfxi 2.8 and I need display ip of domain sending mail I tried by adding smtp_bind_address= ip and change inet_inetrfaces to that ip but nothing appears in log just ip of mail client only appear. Is there something missing with configuration? AFAIK this will not be logged because from the point of your server this is no interesting log-part, look at a destination server on the other hand if you set both to the same value why do you not simply set inet_interfaces to this ip and if you only use this one there is much more nothing to log
postfix multple instances
Hi all I have configured two instances of postfix 2.8 and it's working fine but I want to separate logs of each instance to be different than the other instance . How can I do that? Regards
RE: postfix multiple instances
I have also error when reloading the second instance fatal: bind 192.168.1.60 port 25: Address already in use but each one of instances has different myhostname ans inet_interfaces settings When I try to send mail to account from the second instance I get this error in mallog where myserver2 is virtual domain in the second postfix instance relay=none, delay=13, delays=13/0.03/0/0, dsn=5.4.6, status=bounced (mail for myserver2.com loops back to myself) Each instance MUST have a unique myhostname setting. Each instance MUST have a unique inet_interfaces address list. Otherwise, the Postfix SMTP client will report mail loops back to myself errors. Wietse
RE: postfix multiple instances
The first instance myhostname = mail.mysever.com inet_interfaces = 192.168.56.102 The second instance myhostname = mail.mysever2.com inet_interfaces = 192.168.1.60 I have also error when reloading the second instance fatal: bind 192.168.1.60 port 25: Address already in use but each one of instances has different myhostname ans inet_interfaces settings The error message Address already in use PROVES that you have multiple mail servers instances with the SAME IP address. If you want real help, then you must show real evidence of your myhostname and inet_interfaces settings, not yes they are different. Wietse When I try to send mail to account from the second instance I get this error in mallog where myserver2 is virtual domain in the second postfix instance relay=none, delay=13, delays=13/0.03/0/0, dsn=5.4.6, status=bounced (mail for myserver2.com loops back to myself) Each instance MUST have a unique myhostname setting. Each instance MUST have a unique inet_interfaces address list. Otherwise, the Postfix SMTP client will report mail loops back to myself errors. Wietse
RE: postfix multiple instances
Hi all Now two instances are running but how can I make sure that each one is using different ip than the other one I set bind address of the second instance to different ip but is there a way to show sender ip in log? I am using postfix 2.8.4 on centos 5.7 and I want to configure another instance of postfix. I followed instructions in the following link http://www.postfix.org/MULTI_INSTANCE_README.html but when i try to start the second instance it does not start . I start it using command postmulti -p -i postfix-out start Did you notice that new instances are created disabled (as is clearly documented). http://www.postfix.org/MULTI_INSTANCE_README.html#create http://www.postfix.org/MULTI_INSTANCE_README.html#enable http://www.postfix.org/MULTI_INSTANCE_README.html#start -- Viktor.
postfix multiple instances
Hi all I am using postfix 2.8.4 on centos 5.7 and I want to configure another instance of postfix. I followed instructions in the following link http://www.postfix.org/MULTI_INSTANCE_README.html but when i try to start the second instance it does not start . I start it using command postmulti -p -i postfix-out start any help about this issue Regards
maillog
Hi all I was checking postfix maillog and I found something strange in it from=, size=4794, nrcpt=1 (queue active) Oct 31 12:22:36 mailserver postfix/smtp[24079]: connect to smtp.icom.com[64.224.110.142]: Connection timed out (port 25) Oct 31 12:22:36 mailserver postfix/smtp[24079]: ED0466E68594: to=r...@lmrs.net, relay=none, delay=47406, delays=47385/0.02/21/0, dsn=4.4.1, status=deferred (connect to smtp.icom.com[64.224.110.142]: Connection timed out) Is this normal to appear in my log file or it must be denied as it is from (what does this mean??) Regards
RE: maillog
T have tested server for open relay and it is not open already How can I stop this kind of mail ? from=, size=4794, nrcpt=1 (queue active) Oct 31 12:22:36 mailserver postfix/smtp[24079]: connect to smtp.icom.com[64.224.110.142]: Connection timed out (port 25) Oct 31 12:22:36 mailserver postfix/smtp[24079]: ED0466E68594: to=r...@lmrs.net, relay=none, delay=47406, delays=47385/0.02/21/0, dsn=4.4.1, status=deferred (connect to smtp.icom.com[64.224.110.142]: Connection timed out) Is this normal to appear in my log file or it must be denied as it is from (what does this mean??) is the mailer daemon address no need to worry guess it wants to send some bounce etc On the contrary, this is almost always a sign of trouble. Why was a bounce sent? Common causes: backscatter, spammer exploit, open relay ... --
upgrade postfix
Hi all I am trying to upgrade postfix version form 2.3 to 2.7 but each time I finish installing rpm I get error smtpd_sasl_auth_enable is true, but SASL support is not compiled in and when I run saslfinger -c I have nothing in authentication mechanisms. I didn't compile rpm by myself I googled it and get .should I compile it by self or there is solution for this problem? The sasl configuration was working fine with the old version Regards
postfix on virtual machine
Hi all Iam using postfix 2.3 on virual machine cento 5.7 when I send mail from virtual machine to yahoo or gmail I get error host yahoo.com[98.139.180.149] said: 451 OutgoingFilter Connection timeout [] (in reply to MAIL FROM command)) what may cause this error. Is not ok to test mail server configuration on virtual machine even for sending only cause I don't have mx record for this domain I just test configuration Regards
sending mail
Hi all I want to know which ip postfix is using to send mails as I am configuring it (inet_interfaces = all) and also I need to assign each domain on my server different ip address .how can I implement that? I am using postfix 2.3 Regards
postfix use different ip for different domains
Hi all I'm using the Postfix mail server and I have 6 IPs available. I'd like to make each mail domain use different ip address. Is that possible with postfix and how can I implement this?? Regards
limit autoreply reciepts
Hi all, I am configuring autoresponder but using shell script as I don't want to use mysql and I am already not using it in my postfix configuration. Everything works fine except when sending mail from autoreply account to another autoreply account it enters infinite loop of sending mail. When I googled this I found that changing this parameter in main.cf will stop loop autoreply_destination_recipient_limit = 1 but it did not work Any other solution ??
automatic reply
Hi all, I want to configure automatic message but different one for different user. As I am not using MySQL in my postfix configuration and installation I didn't use any other plug-in that may use MySQl too. I am using shell script that handles sending mail (from ,to and subject) with some changes in postfix configuration as follows: In main.cf transport_maps = hash:/etc/postfix/transport virtual_alias_maps = hash:/etc/postfix/virtual in /etc/postfix/virtual t...@myserver.com t...@myserver.com t...@myserver.com@autoreply.myserver.com mem...@tech-vm.com mem...@tech-vm.com mem...@tech-vm.com@autoreply.tech-vm.com in etc/postfix/transport autoreply.myserver.com autoreply: autoreply.tech-vm.com autoreply: in master.cf autoreply unix- n n - - pipe flags= user=vmail argv=/etc/postfix/scripts/autoreply ${sender} ${mailbox} it's working fine with one account but when using two account postfix keeps calling script even if I just send one mail to the auto respond mail . I checked the script and no loop would cause this behavior . Any one has suggestion for this issue Regards
automatic message
Hi all, I want to configure postfix to reply automatically for specific e-mail address. I googled that but I found that I must have another software (vacation) that handles this issue. I am using postfix-2.3.3-2.3.el5_6 and using virtual domains. I am not using MySQL I use regular files for dovecot authentication. Any suggestions about configuring automatic message using postfix. Regards
copy outgoing mail
Hi All, I am using postfix-2.3.3-2.3.el5_6 on CentOS 5.6 . I want to keep copy of outgoing mails for specific user. How can I do that? I am using virtual mapping to keep copy of incoming mail but what about outgoing ?? Regards
mail list
Hi all I want send mail to all users I have on my mail server I tried aliases but I failed to send mail any one can help me? Regards Amira Othman Server Administrator http://www.cairosource.com/ www.cairosource.com 6 EL Nil EL Abyad, Mohandiseen Cairo, Egypt Direct: +2 02 3303 7175 Mobile: +2 012 220 4165 The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. image001.jpg
mail list
Hi all I want send mail to all users I have on my mail server I tried aliases but I failed to send mail. I am using virtual domains and i want to send to virtual users any one can help me? Regards Amira Othman Server Administrator http://www.cairosource.com/ www.cairosource.com 6 EL Nil EL Abyad, Mohandiseen Cairo, Egypt Direct: +2 02 3303 7175 Mobile: +2 012 220 4165 The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. image001.jpg
mail list
Hi all I want send mail to all users I have on my mail server I tried aliases but I failed to send mail. I am using virtual domains and i want to send to virtual users any one can help me? First when I didn't add mail box in my virtual mail box file I got relay=virtual, delay=0.55, delays=0.47/0.04/0/0.03, dsn=5.1.1, status=bounced (unknown user: t...@myserver.com then when I added mail box for the list I have mail delivered to mail box not to mail list members although I added them in /etc/aliases Regards
RE: mail list
Output of postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix disable_dns_lookups = yes disable_vrfy_command = yes home_mailbox = Maildir/ html_directory = no inet_interfaces = all local_recipient_maps = proxy:unix:passwd.byname, $alias_maps,$virtual_mailbox_maps local_transport = local mail_owner = postfix mail_spool_directory = /var/spool/mail mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man mydestination = localhost mydomain = myserver.com myhostname = mail.mysever.com mynetworks = 192.168.56.0/24, 127.0.0.0/8 myorigin = $mydomain newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix relay_domains = setgid_group = postdrop smtp_host_lookup = native smtp_tls_note_starttls_offer = yes smtp_use_tls = yes smtpd_banner = $myhostname ESMTP smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_auth_only = no smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s smtpd_use_tls = yes tls_random_source = dev:/dev/urandom unknown_local_recipient_reject_code = 450 virtual_alias_maps = hash:/etc/postfix/virtual virtual_gid_maps = static:501 virtual_mailbox_base = /home/vmail/ virtual_mailbox_domains = myserver.com,tech-vm.com virtual_mailbox_maps = hash:/etc/postfix/vmailbox virtual_minimum_uid = 500 virtual_transport = virtual virtual_uid_maps = static:501 -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Jerry Sent: Friday, September 02, 2011 5:44 PM To: postfix-users@postfix.org Subject: Re: mail list On Fri, 2 Sep 2011 17:25:12 +0200 Amira Othman articulated: I want send mail to all users I have on my mail server I tried aliases but I failed to send mail. I am using virtual domains and i want to send to virtual users any one can help me? First when I didn't add mail box in my virtual mail box file I got relay=virtual, delay=0.55, delays=0.47/0.04/0/0.03, dsn=5.1.1, status=bounced (unknown user: t...@myserver.com then when I added mail box for the list I have mail delivered to mail box not to mail list members although I added them in /etc/aliases First, lost the HTML posting format. Plain ASCII is preferred. Second, start here: http://www.postfix.com/DEBUG_README.html Reporting problems to postfix-users@postfix.org Output from postconf -n. Please do not send your main.cf file, or 500+ lines of postconf output. Better, provide output from the postfinger tool. This can be found at http://ftp.wl0.org/SOURCES/postfinger. If the problem is SASL related, consider including the output from the saslfinger tool. This can be found at http://postfix.state-of-mind.de/patrick.koetter/saslfinger/. -- Jerry ✌ postfix-u...@seibercom.net _ TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html
mail server on vm
Hi all I have configured postfix on centos virtual machine it works fine but I can't add virtual domain to postfix it always refuse receiving via this domain Postconf -n output alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix disable_dns_lookups = yes disable_vrfy_command = yes home_mailbox = Maildir/ html_directory = no inet_interfaces = all local_recipient_maps = proxy:unix:passwd.byname, $alias_maps,$virtual_mailbox_maps local_transport = local mail_owner = postfix mail_spool_directory = /var/spool/mail mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man mydestination = localhost mydomain = myserver.com myhostname = mail.mysever.com mynetworks = 192.168.56.0/24, 127.0.0.0/8 myorigin = $mydomain newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix relay_domains = setgid_group = postdrop smtp_host_lookup = native smtp_tls_note_starttls_offer = yes smtp_use_tls = yes smtpd_banner = $myhostname ESMTP smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_auth_only = no smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s smtpd_use_tls = yes tls_random_source = dev:/dev/urandom unknown_local_recipient_reject_code = 450 virtual_alias_maps = hash:/etc/postfix/virtual virtual_gid_maps = static:501 virtual_mailbox_base = /home/vmail/ virtual_mailbox_domains = myserver.com,tech-vm.com virtual_mailbox_maps = hash:/etc/postfix/vmailbox virtual_minimum_uid = 500 virtual_transport = virtual virtual_uid_maps = static:501 and the error I have is Recipient address rejected: User unknown in virtual mailbox table;(when receiving ) Regards
mail server on vm
Hi all, I am configuring mail server on virtual machine for testing. I am using centos 5.6 and postfix-2.3.3-2.3.el5_6. I can send without problems but I can't receive mails. I don't have mx record I tried to add to hosts file but no change. is mx record a must even if I am using for testing only?? Is there any alternatives of using mx record locally something like hosts file Regards Amira Othman Server Administrator http://www.cairosource.com/ www.cairosource.com 6 EL Nil EL Abyad, Mohandiseen Cairo, Egypt Direct: +2 02 3303 7175 Mobile: +2 012 220 4165 The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. image001.jpg
building mail server on virtual machine
Hi all, I need to configure postfix on virtual machine for testing purpose but I don't know how to do that as I don't have mx record .is there something to do so simulate that something like virtual mx record . Regards Amira Othman Server Administrator http://www.cairosource.com/ www.cairosource.com 6 EL Nil EL Abyad, Mohandiseen Cairo, Egypt Direct: +2 02 3303 7175 Mobile: +2 012 220 4165 The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. image001.jpg
integrate postfix with php
Hi all I am using postfix-2.3.3-2.3.el5_6 on centos 5.6.I have configured postfix to server 2 virtual domains and now I want to integrate postfix with php to send mails to users in database using php script.is that possible in postfix? Regards Amira Othman Server Administrator http://www.cairosource.com/ www.cairosource.com 6 EL Nil EL Abyad, Mohandiseen Cairo, Egypt Direct: +2 02 3303 7175 Mobile: +2 012 220 4165 The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. image001.jpg
mailling list
Hi all I am using postfix-2.3.3-2.3.el5_6 on centos 5.6.I have configured postfix to server 2 virtual domains and now I need to use mailing list. I installed mailman-2.1.9-6.el5_6.1 when I add the virtual domain to /etc/mailman/mm_cfg.py and run the command /usr/lib/mailman/bin/genaliases I got error NameError: name 'mydomain' is not define. Any advice about using mail list Regards Amira Othman Server Administrator http://www.cairosource.com/ www.cairosource.com 6 EL Nil EL Abyad, Mohandiseen Cairo, Egypt Direct: +2 02 3303 7175 Mobile: +2 012 220 4165 The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. image001.jpg
virtual domain can't recieve mail
hi all; I am using postfix-2.3.3-2.3.el5_6,dovecot-1.2.17-0_115.el5 on centos 5.6.I have two domains and iam using virtual domains the problem is one domain is working fin ewhile the other can't send mail when i check for mx record it can't reach it.i don't know if i am missing some configuration or the problem is with dns.any one can help me because iam new to linux and postfix thanks
maultiple domains
Hi all I am new to postfix . I am using postfix-2.3.3-2.3.el5_6 on and dovecot-1.0.7-7.el5 on CentOS 5.6.I need to add another domain to my mail server any one can help me regards Amira Othman Server Administrator http://www.cairosource.com/ www.cairosource.com 6 EL Nil EL Abyad, Mohandiseen Cairo, Egypt Direct: +2 02 3303 7175 Mobile: +2 012 220 4165 The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. image001.jpg