Linux - Server This forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
05-14-2009, 01:06 PM
#1
Member
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35
Rep:
Need help on error in mail.warn about relay_domains that's removed from my main.cf
Hi fellow Linuxians,
I recently upgraded my Distro to Ubuntu Server v8.04
Though all was fine on the older Distro, I'm now getting hundreds of entries like this in my
Postfix mail.warn relating to all my domains
Code:
warning: do not list domain RiverEdgeNJ.org
in BOTH virtual_alias_domains and relay_domains
RiverEdgeNJ.org is exactly how I entered this domain in the
virtual_alias_domains line of my
main.cf but it also shows
Code:
warning: do not list domain riveredgenj.org
in BOTH virtual_alias_domains and relay_domains
which is not the way I typed it in my
main.cf
Is there another place
relay_domains is referred to in this Server Distro ?
If not, why would I get this error so many times ?
Thanks,
Nick. . .
Last edited by Nickalf; 05-14-2009 at 02:13 PM .
Reason: typo and clearity
05-14-2009, 02:03 PM
#2
Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,193
If you're using sendmail then relay is defined in the access.db file which is compiled from the access text file.
05-14-2009, 02:16 PM
#3
Member
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35
Original Poster
Rep:
Hi JLightner,
No, I'm using Postfix ( config file is /etc/postfix/main.cf )
Thanx 4 the comeback,
Nick. . .
05-15-2009, 10:12 AM
#4
Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,193
This man page suggests there is an access and access.dbm in Postfix. Not sure of syntax or if it's even relevant since I don't use Postfix:
http://www.postfix.org/access.5.html
05-16-2009, 12:08 AM
#5
Member
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35
Original Poster
Rep:
Thanks, but that link doesn't show any reference to "relay_domains " - besides, my system doesn't have either one of those files...
Nick. . .
Last edited by Nickalf; 05-16-2009 at 12:09 AM .
Reason: typo
05-16-2009, 12:10 AM
#6
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
Can you show
postconf -n
05-17-2009, 10:39 AM
#7
Member
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35
Original Poster
Rep:
Oops - double posted - this one removed - see below
Last edited by Nickalf; 05-17-2009 at 10:44 AM .
Reason: double posted due to use of the back arrow
05-17-2009, 10:42 AM
#8
Member
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35
Original Poster
Rep:
Sure
Code:
alias_maps = hash:/etc/postfix/aliases.map
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
delay_warning_time = 4h
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname + localhost.$mydomain, $mydomain, localhost.net, localhost
myhostname = myhost.org
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_domains = 4homes.org,5sg.eu,5sg.net,5sg.org,5sg.us,5sg.in,5skilledGentlemen.com, airoyal.com,Bogert.com,bogert.org,boxoffice.ws,bruvon.com,cameo.ws,carlg.com,cgafire.com, chargeit.org,chargeit.org.uk,chargeit.ws,chargeit.in,citycarpool.net,cofc.ws,DavidJones.ws, e-rent.org,eAlbums.ws,ecredits.biz,ecredits.com,ecredits.mobi,ecredits.org,ecredits.org.uk, ecredits.ws,eRent.org.uk,eusounds.eu,exoticbagels.com,FiveSkilledGentlemen.com,homepg.us, my.homepg.us,HostingFor1Dollar.com,50pHosting.com,50pHosting.co.uk,aDollarHosting.com, 75cHosting.eu,75cHosting.com,99cHosting.com,HostForLess.ws,HostForLess.eu,HostForLess.in, Joys.ws,Kastle.org,Nickalfs.kastle.org,LegendOfAleyna.com,LeoniaSummerstage.com,LeoniaSummerstage.org, ListServ.ws,my.listserv.ws,myad.org,mybookhost.com,mychat.ws,myclient.org,myfile.net,myhelpchat.com, myhelpchat.us,myhits.org,myhost.me.uk,myhost.mobi,myhost.org.uk,myhost.tv,myhost.co.in,myho.st, MyOwnBank.com,myphoto.ws,mysearchsite.org,myservices.ws,myshots.org,newmilfordrotary.org,Nickalf.com, Nickalf.eu,NickBarter.eu,NicksBlog.ws,Niks.ws,njlinux.org,njmac.us,njos2.org,njsounds.com,njtheater.net, noeladavies.com,nytheater.net,omtech.org,omtechcorp.com,oradellrotary.org,proman.us,proman.ws,proman.me, ProMan.mobi,PerlNJ.com,PerlNJ.org,PhPNJ.net,PerlUG.com,PerlUG.org,PerlUG.net,RiverEdgeChamber.org, RiverEdgeNJ.org,riveredgerotary.org,sex-x.com,smoothpower.com,sosNow.ws,sos-Now.eu,spamik.com,spamic.com, theblog.ws,theipod.ws,vantasialtd.com,VidiNik.com,VidiNik.eu,VidiNik.in,VidiNik.info,VidiNik.mobi, VidiNik.net,VidiNik.org,VidiNik.ws,WallingtonChamber.com,WallingtonChamber.org, WhereToHost.me,WhereToHost.us,WhereToHost.org,WhereToHost.in,WhereToHost.mobi,ZoomIt.ws
virtual_alias_maps = hash:/etc/postfix/virtual.map
Nick. . .
05-17-2009, 03:52 PM
#9
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
What does
grep -ir riveredgenj.org /etc/postfix/*
show?
Last edited by billymayday; 05-17-2009 at 04:03 PM .
05-18-2009, 12:03 AM
#10
Member
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35
Original Poster
Rep:
/etc/postfix/main.cf: RiverEdgeNJ.org,riveredgerotary.org,sex-x.com,smoothpower.com,sosNow.ws,sos-Now.eu,spamik.com,spamic.com,
/etc/postfix/virtual.map: all the eMail addresses of RiverEdgeNJ.org which I'm not going to show here
and
Binary file /etc/postfix/virtual.map.db matches
... none show the lower case riveredgenj.org
05-18-2009, 12:22 AM
#11
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
Odd.
BTW, why do you have
mydestination = $myhostname + localhost.$mydomain, $mydomain, localhost.net, localhost
rather than
mydestination = $myhostname, localhost.$mydomain, $mydomain, localhost.net, localhost
?
Could you show
postconf -d | grep relay
Last edited by billymayday; 05-18-2009 at 12:26 AM .
05-20-2009, 10:36 AM
#12
Member
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35
Original Poster
Rep:
I 'have ' shown....
05-20-2009, 03:22 PM
#13
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
Where?
05-27-2009, 10:04 PM
#14
Member
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35
Original Poster
Rep:
Sorry - was tired when I missread your question...
I used the line from the previous default main.cf in the older distro.
I'll try it without the + sign and see if that helps, thanks...
Nick. . .
05-28-2009, 06:22 AM
#15
Member
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Rep:
Quote:
/etc/postfix/main.cf: RiverEdgeNJ.org,riveredgerotary.org,sex-x.com,smoothpower.com,sosNow.ws,sos-Now.eu,spamik.com,spamic.com,
/etc/postfix/virtual.map: all the eMail addresses of RiverEdgeNJ.org which I'm not going to show here
Postfix acknowledges virtual domains by virtue of having virtual_aliases. This means that you wont need to define both
virtual_alias_domains and
virtual_alias_maps . If all your virtual users are mapped in
virtual_alias_maps , then you can remove RiverEdgeNJ.org from the
virtual_alias_domains
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 09:56 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News