
10th July 2010, 07:09
|
|
Junior Member
|
|
Join Date: Jul 2010
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
postfix howto problem
Hello Sir, Falko,
I have followed below link to implement mailserver on Fedora-32-bit machine, all softwares installed successfully and each step followed as you mentioned in the howto, but i got error when sending email.
It is bouncing, below is attached logs, Please suggest how to resolve this problem
Jul 10 10:09:18 server1 postfix/smtp[16293]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Jul 10 10:09:18 server1 postfix/smtp[16293]: warning: inet_protocols: configuring for IPv4 support only
Jul 10 10:09:32 server1 postfix/smtpd[16318]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Jul 10 10:09:32 server1 postfix/smtpd[16318]: warning: inet_protocols: configuring for IPv4 support only
Jul 10 10:09:32 server1 postfix/smtpd[16318]: connect from unknown[127.0.0.1]
Jul 10 10:09:32 server1 postfix/smtpd[16318]: A484055E980: client=unknown[127.0.0.1]
Jul 10 10:09:32 server1 postfix/cleanup[16290]: A484055E980: message-id=<4C38007E.8040007@example.com>
Jul 10 10:09:32 server1 postfix/qmgr[7328]: A484055E980: from=<sales@example.com>, size=1064, nrcpt=1 (queue active)
Jul 10 10:09:32 server1 postfix/smtp[16322]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Jul 10 10:09:32 server1 postfix/smtp[16322]: warning: inet_protocols: configuring for IPv4 support only
Jul 10 10:09:32 server1 postfix/bounce[16325]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Jul 10 10:09:32 server1 postfix/bounce[16325]: warning: inet_protocols: configuring for IPv4 support only
Jul 10 10:09:32 server1 amavis[7731]: (07731-01) Passed CLEAN, MYNETS LOCAL [192.168.15.52] [192.168.15.52] <sales@example.com> -> <sales@example.com>, Message-ID: <4C38007E.8040007@example.com>, mail_id: J+BxJy3MN0jC, Hits: -1.009, size: 628, queued_as: A484055E980, 14543 ms
Jul 10 10:09:32 server1 postfix/smtp[16293]: 2094055E97C: to=<sales@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=15, delays=0.03/0.01/0.01/15, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=07731-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A484055E980)
Jul 10 10:09:32 server1 postfix/qmgr[7328]: 2094055E97C: removed
Jul 10 10:09:32 server1 postfix/smtp[16322]: A484055E980: to=<sales@example.com>, relay=none, delay=0.03, delays=0.01/0.01/0/0, dsn=5.4.6, status=bounced (mail for server1.example.com loops back to myself)
Jul 10 10:09:32 server1 postfix/cleanup[16290]: B124B55E97C: message-id=<20100710050932.B124B55E97C@server1.example.com >
Jul 10 10:09:32 server1 postfix/bounce[16325]: A484055E980: sender non-delivery notification: B124B55E97C
Jul 10 10:09:32 server1 postfix/qmgr[7328]: B124B55E97C: from=<>, size=2982, nrcpt=1 (queue active)
Jul 10 10:09:32 server1 postfix/qmgr[7328]: A484055E980: removed
Jul 10 10:09:32 server1 postfix/smtp[16322]: B124B55E97C: to=<sales@example.com>, relay=none, delay=0.02, delays=0.02/0/0/0, dsn=5.4.6, status=bounced (mail for server1.example.com loops back to myself)
Jul 10 10:09:32 server1 postfix/qmgr[7328]: B124B55E97C: removed
|

10th July 2010, 11:49
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Which guide (URL)?
Please add server1.example.com to the mydestination line in etc/postfix/main.cf and restart Postfix.
|

10th July 2010, 12:50
|
|
Junior Member
|
|
Join Date: Jul 2010
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for kind reply.
http://howtoforge.net/virtual-users-...dora-12-x86_64
the line you mention, its already there, but there is no effect, i am not able to sent email.
mydestination = server1.example.com, localhost, localhost.localdomain
above is my setting, i am not sure where is the mistake.
second is it possible that i can use postfixadmin with same guide. I have configure postfixadmin, but when i create users and domain, it not shows under that directory.
Last edited by learnbash; 10th July 2010 at 13:01.
Reason: add more info
|

10th July 2010, 15:57
|
|
Junior Member
|
|
Join Date: Jul 2010
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Below is my attached main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
inet_interfaces = all
inet_protocols = all
mydestination = server1.example.com, localhost, localhost.localdomain
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.7.0/samples
readme_directory = /usr/share/doc/postfix-2.7.0/README_FILES
myhostname = server1.example.com
mynetworks = 127.0.0.0/8
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_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 $mynetworks $virtual_mailbox_limit_maps
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
|

11th July 2010, 23:49
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
Originally Posted by learnbash
second is it possible that i can use postfixadmin with same guide. I have configure postfixadmin, but when i create users and domain, it not shows under that directory.
|
No, that's not possible because Postfixadmin requires a slightly different setup.
What domains do you have in the domains table (in the database)?
Are there any other errors in your mail log?
|

12th July 2010, 12:12
|
|
Junior Member
|
|
Join Date: Jul 2010
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
can u help me about this setup.
1. postfix with virtual domains
2. dovecot with virtual domains
3. postfixadmin to create domains.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
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 +2. The time now is 20:49.
|
|
Recent comments
15 hours 1 min ago
21 hours 42 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 11 hours ago
1 day 21 hours ago
1 day 21 hours ago
2 days 1 hour ago
2 days 5 hours ago
2 days 6 hours ago