my mail is being rejected from remote smtp servers since they can't verify my domain name enclosed in the mail headers. "Sender address rejected: Domain not found " heres an envelop: PHP: -X-Original-To: me@mixhacks.comDelivered-To: me@mixhacks.comDate: Wed, 14 Nov 2007 00:25:57 -0600From: root <root@linux-server.robust>To: me@mixhacks.comSubject: root to meUser-Agent: Mutt/1.5.16 (2007-06-09) since i'm using an account on my box to send email I am getting root@`hostname -f` i changed my hostname to mixhacks.com but the old hostname must be in the config somewhere. postconf | grep robust reveals nothing. postfix stop postfix start postfix reload doesn't update the hostname attached to root account when mailing. 1) how can i map a user to a specific domain? meaning root user sends: [email protected] me user is sent as: [email protected] PHP: linux-server:/var/spool/mail # postconf | grep myappend_at_myorigin = yesappend_dot_mydomain = yeslmtp_lhlo_name = $myhostnamelocal_transport = local:$myhostnamemilter_macro_daemon_name = $myhostnamemydestination = mail1.mixhacks.com, mixhacks.com, localhostmydomain = mixhacks.commyhostname = mail1.mixhacks.commynetworks = 127.0.0.0/8 [::1]/128mynetworks_style = subnetmyorigin = mixhacks.comparent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_mapsproxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworksrelay_domains = $mydestinationsmtp_helo_name = $myhostnamesmtpd_banner = $myhostname ESMTP $mail_namesmtpd_client_event_limit_exceptions = ${smtpd_client_connection_limit_exceptions:$mynetworks}smtpd_proxy_ehlo = $myhostnamesmtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
opensuse 10.3 I am using opensuse 10.3 i finally can receive emails from external sources. i just haven't figured out how to rewrite the envelop so that it uses a real domain instead of my old hostname. until i do that i can't send as i'm seen as a spammer since domain cannot be resolved. current configuration PHP: inet_protocols = allinet_interfaces = allbiff = nomail_spool_directory = /var/mailmasquerade_exceptions = rootmasquerade_classes = envelope_sender, header_sender, header_recipientmyhostname = mail1.mixhacks.commydestination = mail1.mixhacks.com, mixhacks.com, localhostmyorigin = mixhacks.comprogram_directory = /usr/lib/postfixdisable_dns_lookups = nostrict_8bitmime = nodisable_mime_output_conversion = nosmtpd_helo_required = nosmtpd_banner = $myhostname ESMTP $mail_name ($mail_version)strict_rfc821_envelopes = nosmtp_sasl_auth_enable = nosmtpd_sasl_auth_enable = nosmtpd_use_tls = nosmtp_use_tls = noalias_maps = hash:/etc/aliasesmailbox_size_limit = 0message_size_limit = 10240000virtual_alias_maps = hash:/etc/postfix/hash/valias_mapsappend_at_myorigin = yesmynetworks_style = subnetproxy_interfaces = mail1.mixhacks.com postfix on my system: find / -name postfix PHP: /var/spool/postfix/var/adm/backup/postfix/var/adm/SuSEconfig/md5/etc/postfix/usr/share/doc/packages/postfix/usr/share/SuSEfirewall2/services/postfix/usr/sbin/postfix/usr/lib/postfix/usr/lib/scpm/resource_types/service/get_deps/postfix/etc/sysconfig/postfix/etc/permissions.d/postfix/etc/postfix/etc/init.d/postfix
yup yeah i've already done that. but postfix still uses linux-server.robust i've grep postconf | grep robust and don't see anything. i'm thinking the problem is with postfix masquerading the from address on outbound email keep [email protected]st also the email id generated is timestamp.linux-server.robust so close but yet so far away. today i'm going generate an email from an external client and see if it will rewrite correctly.. to bad i can't fix this locally. with all these postfix tutorials.. wished there was just a simple virtual hosting with flat files non db.
wasted several days ha i learned a lot about postfix in these last few days.. problem was my mutt mail client. instead of using a client .. i should have kept it all within postfix: #sendmail -v [email protected] #sendmail -v [email protected] postfix was already setup fine...it doesn't generate linux-server.robust mutt client has a from field you can set: ESC f allows you to edit the from: field on per message basis you can set it statically in vi /home/username/.muttrc my_hdr FROM:Leblanc Meneses <[email protected]> ... wonder how you add multiple domain support ... [email protected]? i still don't know how set the message-id which still appends linux-server.robust but at least i know what the real problem is. anyways thanks everyone.