info about a Sendmail configuration
Hi to all! Sorry for my question about Sendmail and not Postfix.. but I'm in trouble! Here the question. I've a Red Hat server (hostA.domain1.dom) that should send mail trough an Exchange server (hostB.domain2.dom) to a destination address. The Exchange rejects the message because it does not recognize my domain (*.domain1.dom) What should I do in the sendmail.cf to permit the change of from field from *.domain1.dom to *.domain2.dom? p.s.: I cannot modify the Exchange configuration to add domain1.dom to known domains.. Thanks in advance! -- Stefano Villa
Info about another listening port on Postfix 2.3.3
Hi to all! I've a configuration file like this: smtp inet n - n - - smtpd -o content_filter=dfilt: and I have to *add* another listening port (TCP 37025). The line -o content_filter=dfilt: has the purpose to add a disclaimer to all my outgoing emails. If I add this line: 37025 inet n - n - - smtpd under the: -o content_filter=dfilt: the disclaimer will append to the mails trought the 37025 port too? Or I must copy the line -o content_filter=dfilt: under the line 37025 inet n - n - - smtpd too? Thanks to all! -- Stefano Villa
info about From: address without domain
Hi to all! I've a environmetn with two postfix server, with relaying scope. If I send an email without domain: 220 * helo test 250 relay2.A.com mail from:test 250 2.1.0 Ok it will arrive with the domain suffix A appended. I want to send an email without any domain, wath I have to configure? Thanks -- Stefano Villa
Postfix and Disclaimer
Hi to all! I've a postfix (2.3.3 version) server on RHEL (2.6.18- 164.11.1.0.1.el5 version). The postfix role is to relay messages to another Exchange server. I've the task to implement a disclaimer for all mail. What product can I use? Thanks! -- Stefano Villa
Re: info about a postfix problem
It works!!! Thanks! Stefano Use something like smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access permit_auth_destination reject If this server isn't used for incoming email, you can remove permit_auth_destination. Your use of a wildcard in relay_recipient_maps disables recipient validation. I can't stress how important it is that you use a real list of valid recipients. This will come back and bite you. -- Noel Jones -- Stefano Villa
info about a postfix problem
Hi to all! I've a problem with Postfix. I've two Red-Hat virtual machine Postfix (version 2.3.3). My purpose is configure the relaying to another mail server (with any recipient) but from six sender domain only (domain.a, domain.b, domain.c, domain.d, domain.e, domain.f) I set up main.cf as follow: --- mydestination = $myhostname, localhost.$mydomain, localhost, relay1.domain.a relay_domains = $mydestination, domain.a, domain.b, domain.c, domain.d, domain.e, domain.f smtpd_sender_restrictions = hash:/etc/postfix/sender_access, reject_unknown_sender_domain smtpd_reject_unlisted_sender = yes relay_recipient_maps = hash:/etc/postfix/relay_recipients relayhost = smtp.domaintarget.g --- The sender_access file is as follow: --- domain.a ok --- The relay_recipients is as follow: --- @domain.a ok --- I made those tests: - send mail from: u...@fakedomain.com (i.e u...@sdfgsdfhsdh.com): 450 4.1.8 u...@sdfgsdfhsdh.com: Sender address rejected: Domain not found - send mail from:u...@gmail.com (or another domain - yahoo ecc ecc and domain.a, domain.b, domain.c, domain.d, domain.e, domain.f too) to any domain: Mar 8 11:47:54 relay1 postfix/smtp[28029]: 66B7258056: to=u...@domain.d, relay=smtp.domaintarget.g[10.244.33.32]:25, delay=189, delays=189/0.02/0.03/0.09, dsn=2.6.0, status=sent (250 2.6.0 20100308104459.66b7258...@relay1.domain.a Queued mail for delivery). I would like to permit relaying only from *...@domain.a/domain.b/domain.c/domain.d/domain.e/domain.f to any destination, and not any to any. How can I set up my postfix? Thanks!! -- Stefano Villa